public class FieldElement extends VOElement
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Modifier and Type | Method and Description |
---|---|
ValuesElement |
getActualValues()
Returns a VALUES child of this element with the attribute
type='actual', or
null if none exists. |
long[] |
getArraysize()
Returns the array size.
|
VOElement |
getCoosys()
Returns the COOSYS element corresponding to this field, if any.
|
java.lang.String |
getDatatype()
Returns the value of the
datatype attribute. |
int |
getIndexInTable(TableElement table)
Returns the index of this field in a given table; that is the
index of the column it represents.
|
ValuesElement |
getLegalValues()
Returns a VALUES child of this element with the attribute
type='legal', or
null if none exists. |
java.lang.String |
getNull()
Returns the 'null' value for this FieldElement.
|
TimesysElement |
getTimesys()
Returns the TIMESYS element corresponding to this field, if any.
|
java.lang.String |
getUcd()
Returns the value of the
ucd attribute,
or null if there is none. |
java.lang.String |
getUnit()
Returns the value of the
unit attribute,
or null if there is none. |
java.lang.String |
getUtype()
Returns the value of the
utype attribute,
or null if there is none. |
java.lang.String |
getXtype()
Returns the value of the
xtype attribute,
or null if there is none. |
java.lang.String |
toString()
Returns the same value as
VOElement.getHandle() . |
getChildByName, getChildren, getChildrenByName, getDescription, getElementsByVOTagName, getElementSequence, getHandle, getID, getName, getParent, getReferencedElement, getSystemId, getVOTagName
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
public long[] getArraysize()
long
, with one element for each dimension.
The final dimension only may have the value -1, which indicates
that this dimension is unknown. All other elements will be positive.public java.lang.String getNull()
null
value.null
if
none is definedpublic java.lang.String getDatatype()
datatype
attribute.
If no datatype attribute has been defined (which is illegal, but
not uncommon) then "char" will be returned.public java.lang.String getUnit()
unit
attribute,
or null
if there is none.public java.lang.String getUcd()
ucd
attribute,
or null
if there is none.UCD
public java.lang.String getUtype()
utype
attribute,
or null
if there is none.public java.lang.String getXtype()
xtype
attribute,
or null
if there is none.public int getIndexInTable(TableElement table)
table
, -1 is returned.table
- table within which to locate this fieldtable
, or -1public ValuesElement getLegalValues()
null
if none exists.public ValuesElement getActualValues()
null
if none exists.public VOElement getCoosys()
public TimesysElement getTimesys()
public java.lang.String toString()
VOElement
VOElement.getHandle()
.