public final class AttributeValueInteger extends AttributeValue
AttributeValue
class specifically for long
values
This class extends from the base class AttributeValue
.
The specific form of an AttributeValueInteger
in a ReqIF file is as follows:
<ATTRIBUTE-VALUE-INTEGER THE-VALUE="theValue">
The following is the list of XML attributes:
@THE-VALUE
required xsd:integer
the long
attribute valueModifier and Type | Method and Description |
---|---|
AttributeDefinitionInteger |
getAttributeDefinitionInteger()
The
AttributeDefinitionInteger associated with this attribute value |
DatatypeDefinitionInteger |
getDatatypeDefinitionInteger()
The
DatatypeDefinitionInteger associated with this attribute value |
java.lang.String |
getDisplayText()
Returns the
String representation of this long value |
long |
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(long theValue)
Sets the
long value |
getAttributeDefinition, getAttributeDefinitionLongName, getDatatypeDefinition, getReqIFContent, getReqIFContent, getSpecElementWithAttributes
public long getTheValue()
long
value of this attributepublic void setTheValue(long theValue) throws NotFoundException
long
valuetheValue
- the new long
value to set for this objectNotFoundException
- if the AttributeDefinitionInteger
for this AttributeValueInteger
was not found in the SpecType
SpecAttributes
collectionpublic AttributeDefinitionInteger getAttributeDefinitionInteger()
AttributeDefinitionInteger
associated with this attribute valueAttributeDefinitionInteger
object associated with this object, not nullpublic DatatypeDefinitionInteger getDatatypeDefinitionInteger()
DatatypeDefinitionInteger
associated with this attribute valueDatatypeDefinitionInteger
object associated with this object, not nullpublic java.lang.String getDisplayText()
String
representation of this long
valuegetDisplayText
in class AttributeValue
String
representation of this long
valuepublic java.lang.Object getValue()
Object
getValue
in class AttributeValue
long
value as Object
public java.lang.String getTheValueText()