org.xmlcml.cml
Interface IntegerVal

All Known Subinterfaces:
IntegerArray
All Known Implementing Classes:
IntegerValImpl

public interface IntegerVal
extends NumericVal

holds an integer with max and minimum values


Fields inherited from interface org.xmlcml.cml.NumericVal
MAX, MIN, 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
 int getIntValue()
           
 int getMaximum()
          maximum value, set by default to Integer.MAX_VALUE (2147483647)
 int getMinimum()
          minimum value, set by default to Integer.MIN_VALUE (-2147483648)
 void setIntValue(int intValue)
           
 void setMaximum(int maximum)
          set maximum value; must be greater than minimum
 void setMinimum(int minimum)
          set minimum value; must be less than maximum
 
Methods inherited from interface org.xmlcml.cml.NumericVal
getUnits, setUnits
 
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
 

Method Detail

setIntValue

public void setIntValue(int intValue)

getIntValue

public int getIntValue()

setMaximum

public void setMaximum(int maximum)
set maximum value; must be greater than minimum

getMaximum

public int getMaximum()
maximum value, set by default to Integer.MAX_VALUE (2147483647)

setMinimum

public void setMinimum(int minimum)
set minimum value; must be less than maximum

getMinimum

public int getMinimum()
minimum value, set by default to Integer.MIN_VALUE (-2147483648)