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:string
Refer 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, whereUsed
public java.lang.String toString()
The String
representation form is as follows:
@LONG-NAME.datatype
where datatype
is any of
Boolean
Date
Enumeration
Integer
Real
String
XHTML
toString
in class java.lang.Object
String
representation in the form @LONG-NAME.datatype
, not nullpublic java.lang.String getDatatypeName()
String
representing the type e.g., Boolean, Date, Enumeration etc.