public class ExchangeRateType extends Object implements Serializable
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Exchange Rate. Details</ccts:DictionaryEntryName><ccts:Definition>Information about Exchange Rate.</ccts:Definition><ccts:ObjectClass>Exchange Rate</ccts:ObjectClass></ccts:Component>
Java class for ExchangeRateType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExchangeRateType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SourceCurrencyCode"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SourceCurrencyBaseRate" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TargetCurrencyCode"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TargetCurrencyBaseRate" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ExchangeMarketID" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}CalculationRate" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MathematicOperatorCode" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Date" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ForeignExchangeContract" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
ExchangeRateType()
Default constructor
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
CalculationRateType |
getCalculationRate()
<?
|
BigDecimal |
getCalculationRateValue()
Get the value of the contained CalculationRateType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
DateType |
getDate()
<?
|
XMLGregorianCalendar |
getDateValue()
Get the value of the contained DateType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
ExchangeMarketIDType |
getExchangeMarketID()
<?
|
String |
getExchangeMarketIDValue()
Get the value of the contained ExchangeMarketIDType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
ContractType |
getForeignExchangeContract()
<?
|
MathematicOperatorCodeType |
getMathematicOperatorCode()
<?
|
String |
getMathematicOperatorCodeValue()
Get the value of the contained MathematicOperatorCodeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
SourceCurrencyBaseRateType |
getSourceCurrencyBaseRate()
<?
|
BigDecimal |
getSourceCurrencyBaseRateValue()
Get the value of the contained SourceCurrencyBaseRateType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
SourceCurrencyCodeType |
getSourceCurrencyCode()
<?
|
String |
getSourceCurrencyCodeValue()
Get the value of the contained SourceCurrencyCodeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
TargetCurrencyBaseRateType |
getTargetCurrencyBaseRate()
<?
|
BigDecimal |
getTargetCurrencyBaseRateValue()
Get the value of the contained TargetCurrencyBaseRateType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
TargetCurrencyCodeType |
getTargetCurrencyCode()
<?
|
String |
getTargetCurrencyCodeValue()
Get the value of the contained TargetCurrencyCodeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
CalculationRateType |
setCalculationRate(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setCalculationRate(CalculationRateType value)
Sets the value of the calculationRate property.
|
void |
setDate(DateType value)
Sets the value of the date property.
|
DateType |
setDate(XMLGregorianCalendar valueParam)
Special setter with value of type XMLGregorianCalendar
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setExchangeMarketID(ExchangeMarketIDType value)
Sets the value of the exchangeMarketID property.
|
ExchangeMarketIDType |
setExchangeMarketID(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setForeignExchangeContract(ContractType value)
Sets the value of the foreignExchangeContract property.
|
void |
setMathematicOperatorCode(MathematicOperatorCodeType value)
Sets the value of the mathematicOperatorCode property.
|
MathematicOperatorCodeType |
setMathematicOperatorCode(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
SourceCurrencyBaseRateType |
setSourceCurrencyBaseRate(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setSourceCurrencyBaseRate(SourceCurrencyBaseRateType value)
Sets the value of the sourceCurrencyBaseRate property.
|
void |
setSourceCurrencyCode(SourceCurrencyCodeType value)
Sets the value of the sourceCurrencyCode property.
|
SourceCurrencyCodeType |
setSourceCurrencyCode(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
TargetCurrencyBaseRateType |
setTargetCurrencyBaseRate(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setTargetCurrencyBaseRate(TargetCurrencyBaseRateType value)
Sets the value of the targetCurrencyBaseRate property.
|
TargetCurrencyCodeType |
setTargetCurrencyCode(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setTargetCurrencyCode(TargetCurrencyCodeType value)
Sets the value of the targetCurrencyCode property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public ExchangeRateType()
@Nullable public SourceCurrencyCodeType getSourceCurrencyCode()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Exchange Rate. Source_ Currency Code. Code</ccts:DictionaryEntryName><ccts:Definition>The reference currency for the Exchange Rate; the currency from which the exchange is being made (CC Definition).</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Exchange Rate</ccts:ObjectClass><ccts:PropertyTermQualifier>Source</ccts:PropertyTermQualifier><ccts:PropertyTerm>Currency Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Currency_ Code. Type</ccts:DataType></ccts:Component>
SourceCurrencyCodeTypepublic void setSourceCurrencyCode(@Nullable SourceCurrencyCodeType value)
value - allowed object is
SourceCurrencyCodeType@Nullable public SourceCurrencyBaseRateType getSourceCurrencyBaseRate()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Exchange Rate. Source_ Currency Base Rate. Rate</ccts:DictionaryEntryName><ccts:Definition>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 Rate</ccts:PropertyTerm><ccts:RepresentationTerm>Rate</ccts:RepresentationTerm><ccts:DataType>Rate. Type</ccts:DataType></ccts:Component>
SourceCurrencyBaseRateTypepublic void setSourceCurrencyBaseRate(@Nullable SourceCurrencyBaseRateType value)
value - allowed object is
SourceCurrencyBaseRateType@Nullable public TargetCurrencyCodeType getTargetCurrencyCode()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Exchange Rate. Target_ Currency Code. Code</ccts:DictionaryEntryName><ccts:Definition>The target currency for the Exchange Rate; the currency to which the exchange is being made (CC Definition).</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Exchange Rate</ccts:ObjectClass><ccts:PropertyTermQualifier>Target</ccts:PropertyTermQualifier><ccts:PropertyTerm>Currency Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Currency_ Code. Type</ccts:DataType></ccts:Component>
TargetCurrencyCodeTypepublic void setTargetCurrencyCode(@Nullable TargetCurrencyCodeType value)
value - allowed object is
TargetCurrencyCodeType@Nullable public TargetCurrencyBaseRateType getTargetCurrencyBaseRate()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Exchange Rate. Target_ Currency Base Rate. Rate</ccts:DictionaryEntryName><ccts:Definition>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>Currency Base Rate</ccts:PropertyTerm><ccts:RepresentationTerm>Rate</ccts:RepresentationTerm><ccts:DataType>Rate. Type</ccts:DataType></ccts:Component>
TargetCurrencyBaseRateTypepublic void setTargetCurrencyBaseRate(@Nullable TargetCurrencyBaseRateType value)
value - allowed object is
TargetCurrencyBaseRateType@Nullable public ExchangeMarketIDType getExchangeMarketID()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Exchange Rate. Exchange Market Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies the currency exchange market used as the source of the Exchange Rate.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Exchange Rate</ccts:ObjectClass><ccts:PropertyTerm>Exchange Market Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
ExchangeMarketIDTypepublic void setExchangeMarketID(@Nullable ExchangeMarketIDType value)
value - allowed object is
ExchangeMarketIDType@Nullable public CalculationRateType getCalculationRate()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" 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 applied to the source currency to calculate the 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. Type</ccts:DataType></ccts:Component>
CalculationRateTypepublic void setCalculationRate(@Nullable CalculationRateType value)
value - allowed object is
CalculationRateType@Nullable public MathematicOperatorCodeType getMathematicOperatorCode()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Exchange Rate. Mathematic Operator Code. Code</ccts:DictionaryEntryName><ccts:Definition>An identifier for whether the Calculation Rate should be used to multiply or to divide, expressed as a code.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Exchange Rate</ccts:ObjectClass><ccts:PropertyTerm>Mathematic Operator Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Operator_ Code. Type</ccts:DataType></ccts:Component>
MathematicOperatorCodeTypepublic void setMathematicOperatorCode(@Nullable MathematicOperatorCodeType value)
value - allowed object is
MathematicOperatorCodeType@Nullable public DateType getDate()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" 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 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. Type</ccts:DataType></ccts:Component>
DateTypepublic void setDate(@Nullable DateType value)
value - allowed object is
DateType@Nullable public ContractType getForeignExchangeContract()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" 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>An association to Foreign Exchange Contract.</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>
ContractTypepublic void setForeignExchangeContract(@Nullable ContractType value)
value - allowed object is
ContractTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
@Nonnull public TargetCurrencyBaseRateType setTargetCurrencyBaseRate(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public CalculationRateType setCalculationRate(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public SourceCurrencyBaseRateType setSourceCurrencyBaseRate(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public DateType setDate(@Nullable XMLGregorianCalendar valueParam)
valueParam - The value to be set. May be null.null@Nonnull public ExchangeMarketIDType setExchangeMarketID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public SourceCurrencyCodeType setSourceCurrencyCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public TargetCurrencyCodeType setTargetCurrencyCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public MathematicOperatorCodeType setMathematicOperatorCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getSourceCurrencyCodeValue()
null@Nullable public BigDecimal getSourceCurrencyBaseRateValue()
null@Nullable public String getTargetCurrencyCodeValue()
null@Nullable public BigDecimal getTargetCurrencyBaseRateValue()
null@Nullable public String getExchangeMarketIDValue()
null@Nullable public BigDecimal getCalculationRateValue()
null@Nullable public String getMathematicOperatorCodeValue()
null@Nullable public XMLGregorianCalendar getDateValue()
nullCopyright © 2014 Philip Helger. All rights reserved.