/*******************************************************************************
* Copyright (c) 2014, 2015 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 v1.0 and Eclipse Distribution License v. 1.0
* which accompanies this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* Contributors:
* Martin Vojtek - 2.6.0 - initial implementation
******************************************************************************/
package org.eclipse.persistence.testing.perf.largexml.bigpo.common_aggregate_components;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.eclipse.persistence.testing.perf.largexml.bigpo.common_basic_components.CalculationRateType;
import org.eclipse.persistence.testing.perf.largexml.bigpo.common_basic_components.CurrencyBaseRateType;
import org.eclipse.persistence.testing.perf.largexml.bigpo.common_basic_components.DateType;
import org.eclipse.persistence.testing.perf.largexml.bigpo.common_basic_components.UnitBaseRateType;
import org.eclipse.persistence.testing.perf.largexml.bigpo.currency_code.CurrencyCodeType;
import org.eclipse.persistence.testing.perf.largexml.bigpo.operator_code.OperatorCodeType;
import org.eclipse.persistence.testing.perf.largexml.bigpo.unspecialized_data_types.IdentifierType;
/**
*
* <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:CommonAggregateComponents-1.0" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0" xmlns:chc="urn:oasis:names:specification:ubl:schema:xsd:ChipCode-1.0" xmlns:chn="urn:oasis:names:specification:ubl:schema:xsd:ChannelCode-1.0" xmlns:cnt="urn:oasis:names:specification:ubl:schema:xsd:CountryIdentificationCode-1.0" xmlns:cur="urn:oasis:names:specification:ubl:schema:xsd:CurrencyCode-1.0" xmlns:ero="urn:oasis:names:specification:ubl:schema:xsd:OperatorCode-1.0" xmlns:lat="urn:oasis:names:specification:ubl:schema:xsd:LatitudeDirectionCode-1.0" xmlns:lon="urn:oasis:names:specification:ubl:schema:xsd:LongitudeDirectionCode-1.0" xmlns:lstat="urn:oasis:names:specification:ubl:schema:xsd:LineStatusCode-1.0" xmlns:pty="urn:oasis:names:specification:ubl:schema:xsd:PaymentMeansCode-1.0" xmlns:rsn="urn:oasis:names:specification:ubl:schema:xsd:AllowanceChargeReasonCode-1.0" xmlns:sdt="urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-1.0" xmlns:sst="urn:oasis:names:specification:ubl:schema:xsd:SubstitutionStatusCode-1.0" xmlns:stat="urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnspecializedDatatypes-1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Exchange Rate. Details</ccts:DictionaryEntryName><ccts:Definition>information that directly relates to the rate of exchange (conversion) between two currencies.</ccts:Definition><ccts:ObjectClass>Exchange Rate</ccts:ObjectClass></ccts:Component>
* </pre>
*
*
* <p>Java class for ExchangeRateType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="ExchangeRateType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="SourceCurrencyCode" type="{urn:oasis:names:specification:ubl:schema:xsd:CurrencyCode-1.0}CurrencyCodeType"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0}SourceCurrencyBaseRate" minOccurs="0"/>
* <element name="TargetCurrencyCode" type="{urn:oasis:names:specification:ubl:schema:xsd:CurrencyCode-1.0}CurrencyCodeType"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0}TargetUnitBaseRate" minOccurs="0"/>
* <element name="ExchangeMarketID" type="{urn:oasis:names:specification:ubl:schema:xsd:UnspecializedDatatypes-1.0}IdentifierType" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0}CalculationRate" minOccurs="0"/>
* <element name="OperatorCode" type="{urn:oasis:names:specification:ubl:schema:xsd:OperatorCode-1.0}OperatorCodeType" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0}Date" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0}ForeignExchangeContract" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ExchangeRateType", propOrder = {
"sourceCurrencyCode",
"sourceCurrencyBaseRate",
"targetCurrencyCode",
"targetUnitBaseRate",
"exchangeMarketID",
"calculationRate",
"operatorCode",
"date",
"foreignExchangeContract"
})
public class ExchangeRateType {
@XmlElement(name = "SourceCurrencyCode", required = true)
protected CurrencyCodeType sourceCurrencyCode;
@XmlElement(name = "SourceCurrencyBaseRate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0")
protected CurrencyBaseRateType sourceCurrencyBaseRate;
@XmlElement(name = "TargetCurrencyCode", required = true)
protected CurrencyCodeType targetCurrencyCode;
@XmlElement(name = "TargetUnitBaseRate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0")
protected UnitBaseRateType targetUnitBaseRate;
@XmlElement(name = "ExchangeMarketID")
protected IdentifierType exchangeMarketID;
@XmlElement(name = "CalculationRate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0")
protected CalculationRateType calculationRate;
@XmlElement(name = "OperatorCode")
protected OperatorCodeType operatorCode;
@XmlElement(name = "Date", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0")
protected DateType date;
@XmlElement(name = "ForeignExchangeContract")
protected ContractType foreignExchangeContract;
/**
* Gets the value of the sourceCurrencyCode property.
*
* @return
* possible object is
* {@link CurrencyCodeType }
*
*/
public CurrencyCodeType getSourceCurrencyCode() {
return sourceCurrencyCode;
}
/**
* Sets the value of the sourceCurrencyCode property.
*
* @param value
* allowed object is
* {@link CurrencyCodeType }
*
*/
public void setSourceCurrencyCode(CurrencyCodeType value) {
this.sourceCurrencyCode = value;
}
/**
*
* <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:CommonAggregateComponents-1.0" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0" xmlns:chc="urn:oasis:names:specification:ubl:schema:xsd:ChipCode-1.0" xmlns:chn="urn:oasis:names:specification:ubl:schema:xsd:ChannelCode-1.0" xmlns:cnt="urn:oasis:names:specification:ubl:schema:xsd:CountryIdentificationCode-1.0" xmlns:cur="urn:oasis:names:specification:ubl:schema:xsd:CurrencyCode-1.0" xmlns:ero="urn:oasis:names:specification:ubl:schema:xsd:OperatorCode-1.0" xmlns:lat="urn:oasis:names:specification:ubl:schema:xsd:LatitudeDirectionCode-1.0" xmlns:lon="urn:oasis:names:specification:ubl:schema:xsd:LongitudeDirectionCode-1.0" xmlns:lstat="urn:oasis:names:specification:ubl:schema:xsd:LineStatusCode-1.0" xmlns:pty="urn:oasis:names:specification:ubl:schema:xsd:PaymentMeansCode-1.0" xmlns:rsn="urn:oasis:names:specification:ubl:schema:xsd:AllowanceChargeReasonCode-1.0" xmlns:sdt="urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-1.0" xmlns:sst="urn:oasis:names:specification:ubl:schema:xsd:SubstitutionStatusCode-1.0" xmlns:stat="urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnspecializedDatatypes-1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Exchange Rate. Source_ Currency Base. Rate</ccts:DictionaryEntryName><ccts:Definition>specifies the unit base of the source currency for currencies with small denominations.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Exchange Rate</ccts:ObjectClass><ccts:PropertyTermQualifier>Source</ccts:PropertyTermQualifier><ccts:PropertyTerm>Currency Base</ccts:PropertyTerm><ccts:RepresentationTerm>Rate</ccts:RepresentationTerm><ccts:DataType>Rate_Numeric. Type</ccts:DataType></ccts:Component>
* </pre>
*
*
* @return
* possible object is
* {@link CurrencyBaseRateType }
*
*/
public CurrencyBaseRateType getSourceCurrencyBaseRate() {
return sourceCurrencyBaseRate;
}
/**
* Sets the value of the sourceCurrencyBaseRate property.
*
* @param value
* allowed object is
* {@link CurrencyBaseRateType }
*
*/
public void setSourceCurrencyBaseRate(CurrencyBaseRateType value) {
this.sourceCurrencyBaseRate = value;
}
/**
* Gets the value of the targetCurrencyCode property.
*
* @return
* possible object is
* {@link CurrencyCodeType }
*
*/
public CurrencyCodeType getTargetCurrencyCode() {
return targetCurrencyCode;
}
/**
* Sets the value of the targetCurrencyCode property.
*
* @param value
* allowed object is
* {@link CurrencyCodeType }
*
*/
public void setTargetCurrencyCode(CurrencyCodeType value) {
this.targetCurrencyCode = value;
}
/**
*
* <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:CommonAggregateComponents-1.0" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0" xmlns:chc="urn:oasis:names:specification:ubl:schema:xsd:ChipCode-1.0" xmlns:chn="urn:oasis:names:specification:ubl:schema:xsd:ChannelCode-1.0" xmlns:cnt="urn:oasis:names:specification:ubl:schema:xsd:CountryIdentificationCode-1.0" xmlns:cur="urn:oasis:names:specification:ubl:schema:xsd:CurrencyCode-1.0" xmlns:ero="urn:oasis:names:specification:ubl:schema:xsd:OperatorCode-1.0" xmlns:lat="urn:oasis:names:specification:ubl:schema:xsd:LatitudeDirectionCode-1.0" xmlns:lon="urn:oasis:names:specification:ubl:schema:xsd:LongitudeDirectionCode-1.0" xmlns:lstat="urn:oasis:names:specification:ubl:schema:xsd:LineStatusCode-1.0" xmlns:pty="urn:oasis:names:specification:ubl:schema:xsd:PaymentMeansCode-1.0" xmlns:rsn="urn:oasis:names:specification:ubl:schema:xsd:AllowanceChargeReasonCode-1.0" xmlns:sdt="urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-1.0" xmlns:sst="urn:oasis:names:specification:ubl:schema:xsd:SubstitutionStatusCode-1.0" xmlns:stat="urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnspecializedDatatypes-1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Exchange Rate. Target_ Unit Base. Rate</ccts:DictionaryEntryName><ccts:Definition>specifies the unit base of the target currency for currencies with small denominations</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Exchange Rate</ccts:ObjectClass><ccts:PropertyTermQualifier>Target</ccts:PropertyTermQualifier><ccts:PropertyTerm>Unit Base</ccts:PropertyTerm><ccts:RepresentationTerm>Rate</ccts:RepresentationTerm><ccts:DataType>Rate_Numeric. Type</ccts:DataType></ccts:Component>
* </pre>
*
*
* @return
* possible object is
* {@link UnitBaseRateType }
*
*/
public UnitBaseRateType getTargetUnitBaseRate() {
return targetUnitBaseRate;
}
/**
* Sets the value of the targetUnitBaseRate property.
*
* @param value
* allowed object is
* {@link UnitBaseRateType }
*
*/
public void setTargetUnitBaseRate(UnitBaseRateType value) {
this.targetUnitBaseRate = value;
}
/**
* Gets the value of the exchangeMarketID property.
*
* @return
* possible object is
* {@link IdentifierType }
*
*/
public IdentifierType getExchangeMarketID() {
return exchangeMarketID;
}
/**
* Sets the value of the exchangeMarketID property.
*
* @param value
* allowed object is
* {@link IdentifierType }
*
*/
public void setExchangeMarketID(IdentifierType value) {
this.exchangeMarketID = value;
}
/**
*
* <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:CommonAggregateComponents-1.0" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0" xmlns:chc="urn:oasis:names:specification:ubl:schema:xsd:ChipCode-1.0" xmlns:chn="urn:oasis:names:specification:ubl:schema:xsd:ChannelCode-1.0" xmlns:cnt="urn:oasis:names:specification:ubl:schema:xsd:CountryIdentificationCode-1.0" xmlns:cur="urn:oasis:names:specification:ubl:schema:xsd:CurrencyCode-1.0" xmlns:ero="urn:oasis:names:specification:ubl:schema:xsd:OperatorCode-1.0" xmlns:lat="urn:oasis:names:specification:ubl:schema:xsd:LatitudeDirectionCode-1.0" xmlns:lon="urn:oasis:names:specification:ubl:schema:xsd:LongitudeDirectionCode-1.0" xmlns:lstat="urn:oasis:names:specification:ubl:schema:xsd:LineStatusCode-1.0" xmlns:pty="urn:oasis:names:specification:ubl:schema:xsd:PaymentMeansCode-1.0" xmlns:rsn="urn:oasis:names:specification:ubl:schema:xsd:AllowanceChargeReasonCode-1.0" xmlns:sdt="urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-1.0" xmlns:sst="urn:oasis:names:specification:ubl:schema:xsd:SubstitutionStatusCode-1.0" xmlns:stat="urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnspecializedDatatypes-1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Exchange Rate. Calculation Rate. Rate</ccts:DictionaryEntryName><ccts:Definition>The factor used for conversion of an amount from one (source) currency to another (target) currency.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Exchange Rate</ccts:ObjectClass><ccts:PropertyTerm>Calculation Rate</ccts:PropertyTerm><ccts:RepresentationTerm>Rate</ccts:RepresentationTerm><ccts:DataType>Rate_Numeric. Type</ccts:DataType></ccts:Component>
* </pre>
*
*
* @return
* possible object is
* {@link CalculationRateType }
*
*/
public CalculationRateType getCalculationRate() {
return calculationRate;
}
/**
* Sets the value of the calculationRate property.
*
* @param value
* allowed object is
* {@link CalculationRateType }
*
*/
public void setCalculationRate(CalculationRateType value) {
this.calculationRate = value;
}
/**
* Gets the value of the operatorCode property.
*
* @return
* possible object is
* {@link OperatorCodeType }
*
*/
public OperatorCodeType getOperatorCode() {
return operatorCode;
}
/**
* Sets the value of the operatorCode property.
*
* @param value
* allowed object is
* {@link OperatorCodeType }
*
*/
public void setOperatorCode(OperatorCodeType value) {
this.operatorCode = value;
}
/**
*
* <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:CommonAggregateComponents-1.0" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0" xmlns:chc="urn:oasis:names:specification:ubl:schema:xsd:ChipCode-1.0" xmlns:chn="urn:oasis:names:specification:ubl:schema:xsd:ChannelCode-1.0" xmlns:cnt="urn:oasis:names:specification:ubl:schema:xsd:CountryIdentificationCode-1.0" xmlns:cur="urn:oasis:names:specification:ubl:schema:xsd:CurrencyCode-1.0" xmlns:ero="urn:oasis:names:specification:ubl:schema:xsd:OperatorCode-1.0" xmlns:lat="urn:oasis:names:specification:ubl:schema:xsd:LatitudeDirectionCode-1.0" xmlns:lon="urn:oasis:names:specification:ubl:schema:xsd:LongitudeDirectionCode-1.0" xmlns:lstat="urn:oasis:names:specification:ubl:schema:xsd:LineStatusCode-1.0" xmlns:pty="urn:oasis:names:specification:ubl:schema:xsd:PaymentMeansCode-1.0" xmlns:rsn="urn:oasis:names:specification:ubl:schema:xsd:AllowanceChargeReasonCode-1.0" xmlns:sdt="urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-1.0" xmlns:sst="urn:oasis:names:specification:ubl:schema:xsd:SubstitutionStatusCode-1.0" xmlns:stat="urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnspecializedDatatypes-1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Exchange Rate. Date</ccts:DictionaryEntryName><ccts:Definition>the date of the rate of exchange.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Exchange Rate</ccts:ObjectClass><ccts:PropertyTerm>Date</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date_Date Time. Type</ccts:DataType></ccts:Component>
* </pre>
*
*
* @return
* possible object is
* {@link DateType }
*
*/
public DateType getDate() {
return date;
}
/**
* Sets the value of the date property.
*
* @param value
* allowed object is
* {@link DateType }
*
*/
public void setDate(DateType value) {
this.date = value;
}
/**
*
* <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:CommonAggregateComponents-1.0" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0" xmlns:chc="urn:oasis:names:specification:ubl:schema:xsd:ChipCode-1.0" xmlns:chn="urn:oasis:names:specification:ubl:schema:xsd:ChannelCode-1.0" xmlns:cnt="urn:oasis:names:specification:ubl:schema:xsd:CountryIdentificationCode-1.0" xmlns:cur="urn:oasis:names:specification:ubl:schema:xsd:CurrencyCode-1.0" xmlns:ero="urn:oasis:names:specification:ubl:schema:xsd:OperatorCode-1.0" xmlns:lat="urn:oasis:names:specification:ubl:schema:xsd:LatitudeDirectionCode-1.0" xmlns:lon="urn:oasis:names:specification:ubl:schema:xsd:LongitudeDirectionCode-1.0" xmlns:lstat="urn:oasis:names:specification:ubl:schema:xsd:LineStatusCode-1.0" xmlns:pty="urn:oasis:names:specification:ubl:schema:xsd:PaymentMeansCode-1.0" xmlns:rsn="urn:oasis:names:specification:ubl:schema:xsd:AllowanceChargeReasonCode-1.0" xmlns:sdt="urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-1.0" xmlns:sst="urn:oasis:names:specification:ubl:schema:xsd:SubstitutionStatusCode-1.0" xmlns:stat="urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnspecializedDatatypes-1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Exchange Rate. Foreign Exchange_ Contract. Contract</ccts:DictionaryEntryName><ccts:Definition>identifies a foreign exchange contract in which a rate of exchange has been agreed.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Exchange Rate</ccts:ObjectClass><ccts:PropertyTermQualifier>Foreign Exchange</ccts:PropertyTermQualifier><ccts:PropertyTerm>Contract</ccts:PropertyTerm><ccts:AssociatedObjectClass>Contract</ccts:AssociatedObjectClass></ccts:Component>
* </pre>
*
*
* @return
* possible object is
* {@link ContractType }
*
*/
public ContractType getForeignExchangeContract() {
return foreignExchangeContract;
}
/**
* Sets the value of the foreignExchangeContract property.
*
* @param value
* allowed object is
* {@link ContractType }
*
*/
public void setForeignExchangeContract(ContractType value) {
this.foreignExchangeContract = value;
}
}