public class RationalType extends AtomicType
Java class for RationalType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RationalType">
<complexContent>
<extension base="{http://www.miuml.org/metamodel}AtomicType">
<sequence>
<element name="Units" type="{http://www.miuml.org/metamodel}Name"/>
<element name="Precision" type="{http://www.miuml.org/metamodel}PositiveInteger"/>
<element name="LowerLimit" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
<element name="UpperLimit" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
<element name="DefaultValue" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
defaultValue |
protected BigDecimal |
lowerLimit |
protected BigInteger |
precision |
protected String |
units |
protected BigDecimal |
upperLimit |
element, localName| Constructor and Description |
|---|
RationalType() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getDefaultValue()
Gets the value of the defaultValue property.
|
BigDecimal |
getLowerLimit()
Gets the value of the lowerLimit property.
|
BigInteger |
getPrecision()
Gets the value of the precision property.
|
String |
getUnits()
Gets the value of the units property.
|
BigDecimal |
getUpperLimit()
Gets the value of the upperLimit property.
|
void |
setDefaultValue(BigDecimal value)
Sets the value of the defaultValue property.
|
void |
setLowerLimit(BigDecimal value)
Sets the value of the lowerLimit property.
|
void |
setPrecision(BigInteger value)
Sets the value of the precision property.
|
void |
setUnits(String value)
Sets the value of the units property.
|
void |
setUpperLimit(BigDecimal value)
Sets the value of the upperLimit property.
|
getElement, getLocalName, setElement, setLocalNameprotected String units
protected BigInteger precision
protected BigDecimal lowerLimit
protected BigDecimal upperLimit
protected BigDecimal defaultValue
public String getUnits()
Stringpublic void setUnits(String value)
value - allowed object is
Stringpublic BigInteger getPrecision()
BigIntegerpublic void setPrecision(BigInteger value)
value - allowed object is
BigIntegerpublic BigDecimal getLowerLimit()
BigDecimalpublic void setLowerLimit(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getUpperLimit()
BigDecimalpublic void setUpperLimit(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getDefaultValue()
BigDecimalpublic void setDefaultValue(BigDecimal value)
value - allowed object is
BigDecimalCopyright © 2012–2022. All rights reserved.