public final class EnumValue extends Identifiable<EnumValue>
The specific form of an EnumValue
in a ReqIF file is as follows:
<ENUM-VALUE DESC="desc" IDENTIFIER="identifier" LAST-CHANGE="lastChange" LONG-NAME="longName">
The following is the common list of XML attributes:
@DESC
optional xsd:string
description@IDENTIFIER
required xsd:ID
@LAST-CHANGE
required xsd:dateTime
@LONG-NAME
optional xsd:string
Modifier and Type | Method and Description |
---|---|
int |
getEnumIndex()
Getter for the index of this
EnumValue in the enumeration list. |
Properties |
getProperties()
Gets the
Properties object owned by this object. |
java.lang.String |
toString()
toString override.
|
equals, getAlternativeID, getChildren, getDesc, getIdentifier, getLastChange, getLastChangeText, getLongName, getPathToRoot, getReqIFContent, hashCode, isUsed, isValidIdentifier, setAlternativeID, setDesc, setLastChange, setLongName, whereUsed
public Properties getProperties()
Properties
object owned by this object.Properties
object, not nullpublic java.lang.String toString()
toString
in class java.lang.Object
String
representation of this enumeration obtained from the @LONG-NAME
attribute, not nullpublic int getEnumIndex()
EnumValue
in the enumeration list.