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, setLocalName
protected String units
protected BigInteger precision
protected BigDecimal lowerLimit
protected BigDecimal upperLimit
protected BigDecimal defaultValue
public String getUnits()
String
public void setUnits(String value)
value
- allowed object is
String
public BigInteger getPrecision()
BigInteger
public void setPrecision(BigInteger value)
value
- allowed object is
BigInteger
public BigDecimal getLowerLimit()
BigDecimal
public void setLowerLimit(BigDecimal value)
value
- allowed object is
BigDecimal
public BigDecimal getUpperLimit()
BigDecimal
public void setUpperLimit(BigDecimal value)
value
- allowed object is
BigDecimal
public BigDecimal getDefaultValue()
BigDecimal
public void setDefaultValue(BigDecimal value)
value
- allowed object is
BigDecimal
Copyright © 2012–2022. All rights reserved.