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.
|
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. |
String |
getNull()
Returns the 'null' value for this FieldElement.
|
TimesysElement |
getTimesys()
Returns the TIMESYS element corresponding to this field, if any.
|
String |
getUcd()
Returns the value of the
ucd attribute,
or null if there is none. |
String |
getUnit()
Returns the value of the
unit attribute,
or null if there is none. |
String |
getUtype()
Returns the value of the
utype attribute,
or null if there is none. |
String |
getXtype()
Returns the value of the
xtype attribute,
or null if there is none. |
String |
toString()
Returns the same value as
VOElement.getHandle(). |
getChildByName, getChildren, getChildrenByName, getDescription, getElementsByVOTagName, getElementSequence, getHandle, getID, getName, getParent, getReferencedElement, getSystemId, getVOTagNamegetAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSappendChild, 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, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendChild, 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, setUserDatapublic 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 String getNull()
null value.null if
none is definedpublic String getDatatype()
datatype attribute.
If no datatype attribute has been defined (which is illegal, but
not uncommon) then "char" will be returned.public String getUnit()
unit attribute,
or null if there is none.public String getUcd()
ucd attribute,
or null if there is none.UCDpublic String getUtype()
utype attribute,
or null if there is none.public 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 String toString()
VOElementVOElement.getHandle().Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.