| /* |
| * 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.core_component_types; |
| |
| import java.math.BigDecimal; |
| 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.XmlSeeAlso; |
| import jakarta.xml.bind.annotation.XmlType; |
| import jakarta.xml.bind.annotation.XmlValue; |
| 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:CoreComponentTypes-1.0" xmlns:cct="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentTypes-1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>CCT</ccts:ComponentType><ccts:DictionaryEntryName>Quantity. Type</ccts:DictionaryEntryName><ccts:Definition>A counted number of non-monetary units possibly including fractions.</ccts:Definition><ccts:ObjectClass>Quantity</ccts:ObjectClass><ccts:PropertyTerm>Type</ccts:PropertyTerm></ccts:Component> |
| * </pre> |
| * |
| * |
| * <p>Java class for QuantityType complex type. |
| * |
| * <p>The following schema fragment specifies the expected content contained within this class. |
| * |
| * <pre> |
| * <complexType name="QuantityType"> |
| * <simpleContent> |
| * <extension base="<http://www.w3.org/2001/XMLSchema>decimal"> |
| * <attribute name="quantityUnitCode" type="{http://www.w3.org/2001/XMLSchema}normalizedString" /> |
| * <attribute name="quantityUnitCodeListID" type="{http://www.w3.org/2001/XMLSchema}normalizedString" /> |
| * <attribute name="quantityUnitCodeListAgencyID" type="{http://www.w3.org/2001/XMLSchema}normalizedString" /> |
| * <attribute name="quantityUnitCodeListAgencyName" type="{http://www.w3.org/2001/XMLSchema}string" /> |
| * </extension> |
| * </simpleContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "QuantityType", propOrder = { |
| "value" |
| }) |
| @XmlSeeAlso({ |
| org.eclipse.persistence.testing.perf.largexml.bigpo.unspecialized_data_types.QuantityType.class |
| }) |
| public class QuantityType { |
| |
| @XmlValue |
| protected BigDecimal value; |
| @XmlAttribute(name = "quantityUnitCode") |
| @XmlJavaTypeAdapter(NormalizedStringAdapter.class) |
| @XmlSchemaType(name = "normalizedString") |
| protected String quantityUnitCode; |
| @XmlAttribute(name = "quantityUnitCodeListID") |
| @XmlJavaTypeAdapter(NormalizedStringAdapter.class) |
| @XmlSchemaType(name = "normalizedString") |
| protected String quantityUnitCodeListID; |
| @XmlAttribute(name = "quantityUnitCodeListAgencyID") |
| @XmlJavaTypeAdapter(NormalizedStringAdapter.class) |
| @XmlSchemaType(name = "normalizedString") |
| protected String quantityUnitCodeListAgencyID; |
| @XmlAttribute(name = "quantityUnitCodeListAgencyName") |
| protected String quantityUnitCodeListAgencyName; |
| |
| /** |
| * Gets the value of the value property. |
| * |
| * @return |
| * possible object is |
| * {@link BigDecimal } |
| * |
| */ |
| public BigDecimal getValue() { |
| return value; |
| } |
| |
| /** |
| * Sets the value of the value property. |
| * |
| * @param value |
| * allowed object is |
| * {@link BigDecimal } |
| * |
| */ |
| public void setValue(BigDecimal value) { |
| this.value = value; |
| } |
| |
| /** |
| * Gets the value of the quantityUnitCode property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getQuantityUnitCode() { |
| return quantityUnitCode; |
| } |
| |
| /** |
| * Sets the value of the quantityUnitCode property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setQuantityUnitCode(String value) { |
| this.quantityUnitCode = value; |
| } |
| |
| /** |
| * Gets the value of the quantityUnitCodeListID property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getQuantityUnitCodeListID() { |
| return quantityUnitCodeListID; |
| } |
| |
| /** |
| * Sets the value of the quantityUnitCodeListID property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setQuantityUnitCodeListID(String value) { |
| this.quantityUnitCodeListID = value; |
| } |
| |
| /** |
| * Gets the value of the quantityUnitCodeListAgencyID property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getQuantityUnitCodeListAgencyID() { |
| return quantityUnitCodeListAgencyID; |
| } |
| |
| /** |
| * Sets the value of the quantityUnitCodeListAgencyID property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setQuantityUnitCodeListAgencyID(String value) { |
| this.quantityUnitCodeListAgencyID = value; |
| } |
| |
| /** |
| * Gets the value of the quantityUnitCodeListAgencyName property. |
| * |
| * @return |
| * possible object is |
| * {@link String } |
| * |
| */ |
| public String getQuantityUnitCodeListAgencyName() { |
| return quantityUnitCodeListAgencyName; |
| } |
| |
| /** |
| * Sets the value of the quantityUnitCodeListAgencyName property. |
| * |
| * @param value |
| * allowed object is |
| * {@link String } |
| * |
| */ |
| public void setQuantityUnitCodeListAgencyName(String value) { |
| this.quantityUnitCodeListAgencyName = value; |
| } |
| |
| } |