public final class EmbeddedValue
extends java.lang.Object
The specific form of an EmbeddedValue
in a ReqIF file is as follows:
<EMBEDDED-VALUE KEY="key" OTHER-CONTENT="otherContent">
The following is the common list of XML attributes:
@KEY
required xsd:integer
- the numerical value corresponding to the enumeration literal@OTHER-CONTENT
required xsd:string
- arbitrary additional information related to the enumeration literal (for example, a color.)Modifier and Type | Method and Description |
---|---|
long |
getKey()
Gets the
@KEY XML attribute for this object. |
java.lang.String |
getKeyText()
Gets the String representation for the
KEY attribute for this EmbeddedValue object |
java.lang.String |
getOtherContent()
Gets the
@OTHER-CONTENT XML attribute for this object. |
void |
setKey(long key)
Sets the value of the
@KEY attribute to the specified value |
void |
setOtherContent(java.lang.String otherContent)
Sets the
@OTHER-CONTENT attribute to the specified value. |
public java.lang.String getOtherContent()
@OTHER-CONTENT
XML attribute for this object.EmbeddedValue
OTHER-CONTENT XML string attributepublic void setOtherContent(java.lang.String otherContent) throws NotFoundException
@OTHER-CONTENT
attribute to the specified value.otherContent
- the value to set for the @OTHER-CONTENT
attribute, not nullNotFoundException
- if the owning DatatypeDefinitionEnumeration
has been removed from the Datatypes
collectionpublic long getKey()
@KEY
XML attribute for this object.EmbeddedValue
KEY XML integer attributepublic java.lang.String getKeyText()
KEY
attribute for this EmbeddedValue
objectKEY
attribute for this EmbeddedValue
objectpublic void setKey(long key) throws NotFoundException
@KEY
attribute to the specified valuekey
- the value to set for the @KEY
attributeNotFoundException
- if the owning DatatypeDefinitionEnumeration
has been removed from the Datatypes
collection