public abstract class DmcTypeInteger extends DmcAttribute<Integer> implements Serializable
attrInfo, ID| Constructor and Description |
|---|
DmcTypeInteger()
Constructs a new Integer attribute.
|
DmcTypeInteger(DmcAttributeInfo ai) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
cloneValue(Integer original)
This method must be overridden to clone whatever value is stored in this attribute.
|
Integer |
deserializeValue(DmcInputStreamIF dis)
Read a Integer.
|
void |
serializeValue(DmcOutputStreamIF dos,
Integer value)
Write a Integer.
|
Integer |
typeCheck(Object value)
Derived classes must overload this method to determine if the value passed
in conforms with their type criteria.
|
add, addModsMV, addModsSV, cloneIt, compareTo, contains, containsKey, del, deserializeIt, formatValue, formatValueAsCompactJSON, formatValueAsJSON, getAttributeInfo, getByKey, getID, getMV, getMVnth, getMVSize, getName, getNew, getSV, hasValue, modifierFormat, serializeIt, set, setAttributeInfo, setMVnth, toOIF, toOIF, valueChangedMV, valueChangedSVpublic DmcTypeInteger()
public DmcTypeInteger(DmcAttributeInfo ai)
public Integer typeCheck(Object value) throws DmcValueException
DmcAttributetypeCheck in class DmcAttribute<Integer>value - the value to be checkedDmcValueException - if the value is incorrectpublic Integer cloneValue(Integer original)
DmcAttributecloneValue in class DmcAttribute<Integer>original - the original valuepublic void serializeValue(DmcOutputStreamIF dos, Integer value) throws Exception
serializeValue in class DmcAttribute<Integer>dos - The output stream.value - The value to be serialized.Exceptionpublic Integer deserializeValue(DmcInputStreamIF dis) throws Exception
deserializeValue in class DmcAttribute<Integer>dis - the input stream.ExceptionCopyright © 2023. All rights reserved.