- All Superinterfaces:
- AbstractBase, AbstractNumericVal, AbstractStringVal, AttributeConvention, AttributeDictRef, AttributeId, AttributeTitle, AttributeUnits, CMLStringVal, org.w3c.dom.Element, org.w3c.dom.Node
- All Known Subinterfaces:
- CMLIntegerArray
- public interface CMLIntegerVal
- extends AbstractNumericVal
holds an integer with max and minimum values
| Fields inherited from interface org.xmlcml.cml.AbstractBase |
ANGLE, ATOM, ATOMARRAY, ATOMPARITY, BOND, BONDARRAY, BONDSTEREO, BUILTIN, CML, CML_PREFIX, CRYSTAL, ELECTRON, ELEMENT_COUNT, ELEMENT_NAMES, EXECUTE, FEATURE, FLOAT, FLOAT_TYPE, FLOATARRAY, FLOATMATRIX, FORMULA, INTEGER, INTEGER_TYPE, INTEGERARRAY, LINK, LIST, MOLECULE, NAMESPACE_URI, PACKAGE_NAME, REACTION, SEQUENCE, STRING, STRING_TYPE, STRINGARRAY, TORSION, UNK, UNK_ELEM, UNKNOWN |
| Fields inherited from interface org.w3c.dom.Node |
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 |
|
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.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
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 |
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)