public final class AttributeValueReal extends AttributeValue
AttributeValue class specifically for double values
This class extends from the base class AttributeValue.
The specific form of an AttributeValueReal in a ReqIF file is as follows:
<ATTRIBUTE-VALUE-REAL THE-VALUE="theValue">
The following is the list of XML attributes:
@THE-VALUE required xsd:double the double attribute value| Modifier and Type | Method and Description |
|---|---|
AttributeDefinitionReal |
getAttributeDefinitionReal()
The
AttributeDefinitionReal associated with this attribute value |
DatatypeDefinitionReal |
getDatatypeDefinitionReal()
The
DatatypeDefinitionReal associated with this attribute value |
java.lang.String |
getDisplayText()
Returns the
String representation of this double value |
double |
getTheValue() |
java.lang.String |
getTheValueText()
Gets the String representation of this attribute value as stored in the ReqIF XML file.
|
java.lang.Object |
getValue()
Returns the native value as
Object |
void |
setTheValue(double theValue)
Sets the
double value |
getAttributeDefinition, getAttributeDefinitionLongName, getDatatypeDefinition, getReqIFContent, getReqIFContent, getSpecElementWithAttributespublic double getTheValue()
double value of this attributepublic void setTheValue(double theValue)
throws NotFoundException
double valuetheValue - the new double value to set for this objectNotFoundException - if the AttributeDefinitionReal for this AttributeValueReal was not found in the SpecType SpecAttributes collectionpublic AttributeDefinitionReal getAttributeDefinitionReal()
AttributeDefinitionReal associated with this attribute valueAttributeDefinitionReal object associated with this objectpublic DatatypeDefinitionReal getDatatypeDefinitionReal()
DatatypeDefinitionReal associated with this attribute valueDatatypeDefinitionReal object associated with this objectpublic java.lang.String getDisplayText()
String representation of this double valuegetDisplayText in class AttributeValueString representation of this double valuepublic java.lang.Object getValue()
ObjectgetValue in class AttributeValuedouble value as Objectpublic java.lang.String getTheValueText()