public abstract class DatatypeDefinition extends Identifiable<DatatypeDefinition>
The following is the full list of superclasses:
DatatypeDefinitionBoolean representing the DATATYPE-DEFINITION-BOOLEAN XML XML element
DatatypeDefinitionDate (DATATYPE-DEFINITION-DATE XML ElementDatatypeDefinitionEnumeration (DATATYPE-DEFINITION-ENUMERATION XML ElementDatatypeDefinitionInteger (DATATYPE-DEFINITION-INTEGER XML ElementDatatypeDefinitionReal (DATATYPE-DEFINITION-REAL XML ElementDatatypeDefinitionString (DATATYPE-DEFINITION-STRING XML ElementDatatypeDefinitionXHTML (DATATYPE-DEFINITION-XHTML XML ElementThe general form of a DatatypeDefinition in a ReqIF file is as follows:
<DATATYPE-DEFINITION-XXXX 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 required xsd:stringRefer to each individual superclass for more information about specific extensions to the general form.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDatatypeName()
Returns a string representation of the type.
|
java.lang.String |
toString()
Returns a textual description of the datatype definition.
|
equals, getAlternativeID, getChildren, getDesc, getIdentifier, getLastChange, getLastChangeText, getLongName, getPathToRoot, getReqIFContent, hashCode, isUsed, isValidIdentifier, setAlternativeID, setDesc, setLastChange, setLongName, whereUsedpublic java.lang.String toString()
The String representation form is as follows:
@LONG-NAME.datatypewhere datatype is any of
BooleanDateEnumerationIntegerRealStringXHTMLtoString in class java.lang.ObjectString representation in the form @LONG-NAME.datatype, not nullpublic java.lang.String getDatatypeName()
String representing the type e.g., Boolean, Date, Enumeration etc.