@CodingStyleguideUnaware public class ExchangeRateType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Exchange Rate. Details</ccts:DictionaryEntryName><ccts:Definition>A class to define an 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>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
ExchangeRateType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
ExchangeRateType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(ExchangeRateType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
CalculationRateType |
getCalculationRate()
<?
|
BigDecimal |
getCalculationRateValue()
Get the value of the contained CalculationRateType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
DateType |
getDate()
<?
|
LocalDate |
getDateValue()
Get the value of the contained DateType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
ExchangeMarketIDType |
getExchangeMarketID()
<?
|
String |
getExchangeMarketIDValue()
Get the value of the contained ExchangeMarketIDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
ContractType |
getForeignExchangeContract()
<?
|
MathematicOperatorCodeType |
getMathematicOperatorCode()
<?
|
String |
getMathematicOperatorCodeValue()
Get the value of the contained MathematicOperatorCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
SourceCurrencyBaseRateType |
getSourceCurrencyBaseRate()
<?
|
BigDecimal |
getSourceCurrencyBaseRateValue()
Get the value of the contained SourceCurrencyBaseRateType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
SourceCurrencyCodeType |
getSourceCurrencyCode()
<?
|
String |
getSourceCurrencyCodeValue()
Get the value of the contained SourceCurrencyCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
TargetCurrencyBaseRateType |
getTargetCurrencyBaseRate()
<?
|
BigDecimal |
getTargetCurrencyBaseRateValue()
Get the value of the contained TargetCurrencyBaseRateType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
TargetCurrencyCodeType |
getTargetCurrencyCode()
<?
|
String |
getTargetCurrencyCodeValue()
Get the value of the contained TargetCurrencyCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
CalculationRateType |
setCalculationRate(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setCalculationRate(CalculationRateType value)
Sets the value of the calculationRate property.
|
void |
setDate(DateType value)
Sets the value of the date property.
|
DateType |
setDate(LocalDate valueParam)
Special setter with value of type LocalDate
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setExchangeMarketID(ExchangeMarketIDType value)
Sets the value of the exchangeMarketID property.
|
ExchangeMarketIDType |
setExchangeMarketID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
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
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
SourceCurrencyBaseRateType |
setSourceCurrencyBaseRate(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
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
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
TargetCurrencyBaseRateType |
setTargetCurrencyBaseRate(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setTargetCurrencyBaseRate(TargetCurrencyBaseRateType value)
Sets the value of the targetCurrencyBaseRate property.
|
TargetCurrencyCodeType |
setTargetCurrencyCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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 this exchange rate; the currency from which the exchange is being made.</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:DataTypeQualifier>Currency</ccts:DataTypeQualifier><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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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>In the case of a source currency with denominations of small value, the unit base.</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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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 this exchange rate; the currency to which the exchange is being made.</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:DataTypeQualifier>Currency</ccts:DataTypeQualifier><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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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>In the case of a target currency with denominations of small value, the unit base.</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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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>An identifier for the currency exchange market used as the source of this 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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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>A code signifying whether the calculation rate is a multiplier or a divisor.</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:DataTypeQualifier>Operator</ccts:DataTypeQualifier><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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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 on which the exchange rate was established.</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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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>A contract for foreign exchange.</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:RepresentationTerm>Contract</ccts:RepresentationTerm></ccts:Component>
ContractTypepublic void setForeignExchangeContract(@Nullable ContractType value)
value - allowed object is
ContractTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void cloneTo(@Nonnull ExchangeRateType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public ExchangeRateType clone()
@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@Nonnull public DateType setDate(@Nullable LocalDate 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 SourceCurrencyBaseRateType setSourceCurrencyBaseRate(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@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@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()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.