org.xmlcml.cml
Interface NumericVal

All Known Subinterfaces:
FloatArray, FloatVal, IntegerArray, IntegerVal
All Known Implementing Classes:
NumericValImpl

public interface NumericVal
extends StringVal, HasUnits

supports a number (either Float or Integer). Supports Units. Does not support max and min or values since double and int are used rather than Double and Integer


Field Summary
static java.lang.String MAX
           
static java.lang.String MIN
           
static java.lang.String UNITS
           
 
Fields inherited from interface org.xmlcml.cml.HasUnits
UNITS
 
Fields inherited from interface org.xmlcml.cml.CMLBase
ANGLE, ATOM, ATOMARRAY, BOND, BONDARRAY, BUILTIN, CML, CRYSTAL, ELECTRON, ELEMENT_COUNT, ELEMENT_NAMES, EXECUTE, FEATURE, FLOAT, FLOAT_TYPE, FLOATARRAY, FLOATMATRIX, FORMULA, INTEGER, INTEGER_TYPE, INTEGERARRAY, LINK, LIST, MOLECULE, PACKAGE_NAME, REACTION, SEQUENCE, STRING, STRING_TYPE, STRINGARRAY, TORSION, UNK, UNK_ELEM, UNKNOWN
 
Fields inherited from interface uk.co.demon.ursus.dom.PMRElement
CLASSNAME, LOCAL, QUALIFIED, UNIVERSAL
 
Fields inherited from interface org.xmlcml.cml.HasTitle
TITLE
 
Fields inherited from interface org.xmlcml.cml.HasDictRef
DICTREF
 
Fields inherited from interface org.xmlcml.cml.HasId
ID
 
Fields inherited from interface org.xmlcml.cml.HasConvention
CONVENTION
 
Fields inherited from interface uk.co.demon.ursus.dom.PMRNode
ATTRIBUTES, CONTENT, ELEMENTNAME, IDLIST, NESTED, NESTEDATTS, PACKAGENAME, PRETTY, SPLITFILES, STYLE, TAGGED, UNTAGGED, WHITESPACE, XMLCONTENT
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Method Summary
 Units getUnits()
           
 void setUnits(Units units)
           
 
Methods inherited from interface org.xmlcml.cml.HasUnits
updateDOMHasUnits
 
Methods inherited from interface org.xmlcml.cml.AbstractStringVal
getBuiltin, getDataType, getStringValue, processString, setBuiltin, setStringValue
 
Methods inherited from interface org.xmlcml.cml.CMLBase
addValidity, debug, isValid, processDOM, updateDOM
 
Methods inherited from interface uk.co.demon.ursus.dom.PMRElement
appendTo, getValidity, processDescendants, setProcessFlag, setTagName
 
Methods inherited from interface org.xmlcml.cml.HasTitle
getTitle, setTitle, updateDOMHasTitle
 
Methods inherited from interface org.xmlcml.cml.HasDictRef
getDictRef, setDictRef, updateDOMHasDictRef
 
Methods inherited from interface org.xmlcml.cml.HasId
getId, setId, updateDOMHasId
 
Methods inherited from interface org.xmlcml.cml.HasConvention
getConventionName, setConventionName, updateDOMHasConvention
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS
 

Field Detail

MAX

public static final java.lang.String MAX

MIN

public static final java.lang.String MIN

UNITS

public static final java.lang.String UNITS
Method Detail

setUnits

public void setUnits(Units units)
Specified by:
setUnits in interface HasUnits

getUnits

public Units getUnits()
Specified by:
getUnits in interface HasUnits