public final class AttributeValueString extends AttributeValue
AttributeValue class specifically for String values
This class extends from the base class AttributeValue.
The specific form of an AttributeValueString in a ReqIF file is as follows:
<ATTRIBUTE-VALUE-STRING THE-VALUE="theValue">
The following is the list of XML attributes:
@THE-VALUE required xsd:string the string attribute value| Modifier and Type | Method and Description |
|---|---|
AttributeDefinitionString |
getAttributeDefinitionString()
The
AttributeDefinitionString associated with this attribute value |
DatatypeDefinitionString |
getDatatypeDefinitionString()
The
DatatypeDefinitionString associated with this attribute value |
java.lang.String |
getDisplayText()
Returns the
String value |
java.lang.String |
getTheValue() |
java.lang.Object |
getValue()
Returns the native value as
Object |
void |
setTheValue(java.lang.String theValue)
Sets the
String value |
getAttributeDefinition, getAttributeDefinitionLongName, getDatatypeDefinition, getReqIFContent, getReqIFContent, getSpecElementWithAttributespublic java.lang.String getTheValue()
String value of this attribute, not nullpublic void setTheValue(java.lang.String theValue)
throws NotFoundException
String valuetheValue - the new String value to set for this object, not nullNotFoundException - if the AttributeDefinitionString for this AttributeValueString was not found in the SpecType SpecAttributes collectionpublic AttributeDefinitionString getAttributeDefinitionString()
AttributeDefinitionString associated with this attribute valueAttributeDefinitionString object associated with this object, not nullpublic DatatypeDefinitionString getDatatypeDefinitionString()
DatatypeDefinitionString associated with this attribute valueDatatypeDefinitionString object associated with this object, not nullpublic java.lang.String getDisplayText()
String valuegetDisplayText in class AttributeValueString value, not nullpublic java.lang.Object getValue()
ObjectgetValue in class AttributeValueString value as Object