Package org.omg.space.xtce
Class DecimalValueType
- java.lang.Object
-
- org.omg.space.xtce.DecimalValueType
-
public class DecimalValueType extends Object
Contains a Numeric value; value may be provided directly or via the value in a parameter.Java class for DecimalValueType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DecimalValueType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="FixedValue" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="DynamicValue"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ParameterInstanceRef" type="{http://www.omg.org/space/xtce}ParameterInstanceRefType"/> <element name="LinearAdjustment" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="slope" type="{http://www.w3.org/2001/XMLSchema}decimal" default="0" /> <attribute name="intercept" type="{http://www.w3.org/2001/XMLSchema}decimal" default="0" /> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> </choice> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDecimalValueType.DynamicValueJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected DecimalValueType.DynamicValuedynamicValueprotected BigDecimalfixedValue
-
Constructor Summary
Constructors Constructor Description DecimalValueType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecimalValueType.DynamicValuegetDynamicValue()Gets the value of the dynamicValue property.BigDecimalgetFixedValue()Gets the value of the fixedValue property.voidsetDynamicValue(DecimalValueType.DynamicValue value)Sets the value of the dynamicValue property.voidsetFixedValue(BigDecimal value)Sets the value of the fixedValue property.
-
-
-
Field Detail
-
fixedValue
protected BigDecimal fixedValue
-
dynamicValue
protected DecimalValueType.DynamicValue dynamicValue
-
-
Method Detail
-
getFixedValue
public BigDecimal getFixedValue()
Gets the value of the fixedValue property.- Returns:
- possible object is
BigDecimal
-
setFixedValue
public void setFixedValue(BigDecimal value)
Sets the value of the fixedValue property.- Parameters:
value- allowed object isBigDecimal
-
getDynamicValue
public DecimalValueType.DynamicValue getDynamicValue()
Gets the value of the dynamicValue property.- Returns:
- possible object is
DecimalValueType.DynamicValue
-
setDynamicValue
public void setDynamicValue(DecimalValueType.DynamicValue value)
Sets the value of the dynamicValue property.- Parameters:
value- allowed object isDecimalValueType.DynamicValue
-
-