public class RealType extends AtomicType
Java class for RealType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RealType">
<complexContent>
<extension base="{http://www.miuml.org/metamodel}AtomicType">
<attribute name="Units" use="required" type="{http://www.miuml.org/metamodel}Name" />
<attribute name="Precision" use="required" type="{http://www.miuml.org/metamodel}PositiveInteger" />
<attribute name="LowerLimit" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
<attribute name="UpperLimit" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
<attribute name="DefaultValue" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
</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 |
|---|
RealType() |
| 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.