package com.XXX.schema.utility;
import com.XXX.otm.jaxb.runtime.URType;
import com.XXX.otm.sourcegen.common.util.ParentNameSpace;
import com.XXX.schema.utility.builders.ConversionRateBuilderFactory;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* Local Name: ConversionRate
* Namespace: http://www.XXX.com/schema/utility
* A conversion metric from standard to another with the contextual authority such as IATA, OAG, ISO, etc.
*
* Value Documentation:
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name="ConversionRate")
@XmlType(name="ConversionRate")
@ParentNameSpace
public class ConversionRate implements URType {
/**
* Local Name: authority
* The authority for the conversion rate
*
* Type: http://www.XXX.com/schema/common/v3:CodeContext
* Example value: IATA
*
*/
@XmlAttribute(name="authority")
private String authority;
@XmlValue
private BigDecimal value;
/**
* Local Name: authority
* The authority for the conversion rate
*
* Type: http://www.XXX.com/schema/common/v3:CodeContext
* Example value: IATA
*
*
* @returns String
*/
public String getAuthority() {
return authority;
}
/**
* Local Name: authority
* The authority for the conversion rate
*
* Type: http://www.XXX.com/schema/common/v3:CodeContext
* Example value: IATA
*
*
* @param authority the property value to assign
*/
public void setAuthority(String authority) {
this.authority = authority;
}
/**
*
* @returns BigDecimal
*/
public BigDecimal getValue() {
return value;
}
/**
*
* @param value the property value to assign
*/
public void setValue(BigDecimal value) {
this.value = value;
}
/**
*
* @returns ConversionRateBuilderFactory
*/
public static ConversionRateBuilderFactory getFactory() {
return ConversionRateBuilderFactory.newFactory();
}
}