| /* |
| * Copyright (c) 2014, 2020 Oracle and/or its affiliates. All rights reserved. |
| * |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License v. 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0, |
| * or the Eclipse Distribution License v. 1.0 which is available at |
| * http://www.eclipse.org/org/documents/edl-v10.php. |
| * |
| * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause |
| */ |
| |
| // Contributors: |
| // Martin Vojtek - 2.6.0 - initial implementation |
| package org.eclipse.persistence.testing.perf.largexml.bigpo.chip_code; |
| |
| import jakarta.xml.bind.annotation.XmlAccessType; |
| import jakarta.xml.bind.annotation.XmlAccessorType; |
| import jakarta.xml.bind.annotation.XmlAttribute; |
| import jakarta.xml.bind.annotation.XmlSchemaType; |
| import jakarta.xml.bind.annotation.XmlType; |
| import jakarta.xml.bind.annotation.XmlValue; |
| import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter; |
| import jakarta.xml.bind.annotation.adapters.NormalizedStringAdapter; |
| import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
| |
| |
| /** |
| * |
| * <pre> |
| * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0" xmlns="urn:oasis:names:specification:ubl:schema:xsd:ChipCode-1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>DT</ccts:ComponentType><ccts:DictionaryEntryName>Chip_ Code. Type</ccts:DictionaryEntryName><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataTypeQualifier>Chip</ccts:DataTypeQualifier><ccts:DataType>Code. Type</ccts:DataType></ccts:Component> |
| * </pre> |
| * |
| * <pre> |
| * <?xml version="1.0" encoding="UTF-8"?><ccts:Instance xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0" xmlns="urn:oasis:names:specification:ubl:schema:xsd:ChipCode-1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:CodeListID>Chip</ccts:CodeListID><ccts:CodeListAgencyID>UBL</ccts:CodeListAgencyID><ccts:CodeListAgencyName>OASIS Universal Business Language</ccts:CodeListAgencyName><ccts:CodeListName>Chip</ccts:CodeListName><ccts:CodeListVersionID>1.0</ccts:CodeListVersionID><ccts:CodeListSchemeURI>urn:oasis:names:specification:ubl:schema:xsd:ChipCode-1.0</ccts:CodeListSchemeURI><ccts:LanguageID>en</ccts:LanguageID></ccts:Instance> |
| * </pre> |
| * |
| * |
| * <p>Java class for ChipCodeType complex type. |
| * |
| * <p>The following schema fragment specifies the expected content contained within this class. |
| * |
| * <pre> |
| * <complexType name="ChipCodeType"> |
| * <simpleContent> |
| * <extension base="<urn:oasis:names:specification:ubl:schema:xsd:ChipCode-1.0>ChipCodeContentType"> |
| * <attribute name="codeListID" type="{http://www.w3.org/2001/XMLSchema}normalizedString" fixed="Chip" /> |
| * <attribute name="codeListAgencyID" type="{http://www.w3.org/2001/XMLSchema}normalizedString" fixed="UBL" /> |
| * <attribute name="codeListAgencyName" type="{http://www.w3.org/2001/XMLSchema}string" fixed="OASIS Universal Business Language" /> |
| * <attribute name="codeListName" type="{http://www.w3.org/2001/XMLSchema}string" fixed="Chip" /> |
| * <attribute name="codeListVersionID" type="{http://www.w3.org/2001/XMLSchema}normalizedString" fixed="1.0" /> |
| * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> |
| * <attribute name="languageID" type="{http://www.w3.org/2001/XMLSchema}language" fixed="en" /> |
| * <attribute name="codeListURI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> |
| * <attribute name="codeListSchemeURI" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="urn:oasis:names:specification:ubl:schema:xsd:ChipCode-1.0" /> |
| * </extension> |
| * </simpleContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "ChipCodeType", propOrder = { |
| "value" |
| }) |
| public class ChipCodeType { |
| |
| @XmlValue |
| protected ChipCodeContentType value; |
| @XmlAttribute(name = "codeListID") |
| @XmlJavaTypeAdapter(NormalizedStringAdapter.class) |
| @XmlSchemaType(name = "normalizedString") |
| protected String codeListID; |
| @XmlAttribute(name = "codeListAgencyID") |
| @XmlJavaTypeAdapter(NormalizedStringAdapter.class) |
| @XmlSchemaType(name = "normalizedString") |
| protected String codeListAgencyID; |
| @XmlAttribute(name = "codeListAgencyName") |
| protected String codeListAgencyName; |
| @XmlAttribute(name = "codeListName") |
| protected String codeListName; |
| @XmlAttribute(name = "codeListVersionID") |
| @XmlJavaTypeAdapter(NormalizedStringAdapter.class) |
| @XmlSchemaType(name = "normalizedString") |
| protected String codeListVersionID; |
| @XmlAttribute(name = "name") |
| protected String name; |
| @XmlAttribute(name = "languageID") |
| @XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
| @XmlSchemaType(name = "language") |
| protected String languageID; |
| @XmlAttribute(name = "codeListURI") |
| @XmlSchemaType(name = "anyURI") |
| protected String codeListURI; |
| @XmlAttribute(name = "codeListSchemeURI") |
| @XmlSchemaType(name = "anyURI") |
| protected String codeListSchemeURI; |
| |
| /** |
| * Gets the value of the value property. |
| * |
| * @return |
| * possible object is |
| * {@link ChipCodeContentType } |
| * |
| */ |
| public ChipCodeContentType getValue() { |
| return value; |
| } |
| |
| /** |
| * Sets the value of the value property. |
| * |
| * @param value |
| * allowed object is |
| * {@link ChipCodeContentType } |
| * |
| */ |
| public void setValue(ChipCodeContentType value) { |
| this.value = value; |
| } |
| |
| /** |
| * Gets the value of the codeListID property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getCodeListID() { |
| if (codeListID == null) { |
| return "Chip"; |
| } else { |
| return codeListID; |
| } |
| } |
| |
| /** |
| * Sets the value of the codeListID property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setCodeListID(String value) { |
| this.codeListID = value; |
| } |
| |
| /** |
| * Gets the value of the codeListAgencyID property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getCodeListAgencyID() { |
| if (codeListAgencyID == null) { |
| return "UBL"; |
| } else { |
| return codeListAgencyID; |
| } |
| } |
| |
| /** |
| * Sets the value of the codeListAgencyID property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setCodeListAgencyID(String value) { |
| this.codeListAgencyID = value; |
| } |
| |
| /** |
| * Gets the value of the codeListAgencyName property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getCodeListAgencyName() { |
| if (codeListAgencyName == null) { |
| return "OASIS Universal Business Language"; |
| } else { |
| return codeListAgencyName; |
| } |
| } |
| |
| /** |
| * Sets the value of the codeListAgencyName property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setCodeListAgencyName(String value) { |
| this.codeListAgencyName = value; |
| } |
| |
| /** |
| * Gets the value of the codeListName property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getCodeListName() { |
| if (codeListName == null) { |
| return "Chip"; |
| } else { |
| return codeListName; |
| } |
| } |
| |
| /** |
| * Sets the value of the codeListName property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setCodeListName(String value) { |
| this.codeListName = value; |
| } |
| |
| /** |
| * Gets the value of the codeListVersionID property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getCodeListVersionID() { |
| if (codeListVersionID == null) { |
| return "1.0"; |
| } else { |
| return codeListVersionID; |
| } |
| } |
| |
| /** |
| * Sets the value of the codeListVersionID property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setCodeListVersionID(String value) { |
| this.codeListVersionID = value; |
| } |
| |
| /** |
| * Gets the value of the name property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getName() { |
| return name; |
| } |
| |
| /** |
| * Sets the value of the name property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setName(String value) { |
| this.name = value; |
| } |
| |
| /** |
| * Gets the value of the languageID property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getLanguageID() { |
| if (languageID == null) { |
| return "en"; |
| } else { |
| return languageID; |
| } |
| } |
| |
| /** |
| * Sets the value of the languageID property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setLanguageID(String value) { |
| this.languageID = value; |
| } |
| |
| /** |
| * Gets the value of the codeListURI property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getCodeListURI() { |
| return codeListURI; |
| } |
| |
| /** |
| * Sets the value of the codeListURI property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setCodeListURI(String value) { |
| this.codeListURI = value; |
| } |
| |
| /** |
| * Gets the value of the codeListSchemeURI property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getCodeListSchemeURI() { |
| if (codeListSchemeURI == null) { |
| return "urn:oasis:names:specification:ubl:schema:xsd:ChipCode-1.0"; |
| } else { |
| return codeListSchemeURI; |
| } |
| } |
| |
| /** |
| * Sets the value of the codeListSchemeURI property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setCodeListSchemeURI(String value) { |
| this.codeListSchemeURI = value; |
| } |
| |
| } |