public abstract class DmcTypeLong extends DmcAttribute<Long> implements Serializable
attrInfo, ID| Constructor and Description |
|---|
DmcTypeLong()
Constructs a new Long attribute.
|
DmcTypeLong(DmcAttributeInfo ai) |
| Modifier and Type | Method and Description |
|---|---|
Long |
cloneValue(Long original)
This method must be overridden to clone whatever value is stored in this attribute.
|
Long |
deserializeValue(DmcInputStreamIF dis)
Read a Long.
|
void |
serializeValue(DmcOutputStreamIF dos,
Long value)
Write a Long.
|
Long |
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 DmcTypeLong()
public DmcTypeLong(DmcAttributeInfo ai)
public Long typeCheck(Object value) throws DmcValueException
DmcAttributetypeCheck in class DmcAttribute<Long>value - the value to be checkedDmcValueException - if the value is incorrectpublic Long cloneValue(Long original)
DmcAttributecloneValue in class DmcAttribute<Long>original - the original valuepublic void serializeValue(DmcOutputStreamIF dos, Long value) throws Exception
serializeValue in class DmcAttribute<Long>dos - The output stream.value - The value to be serialized.Exceptionpublic Long deserializeValue(DmcInputStreamIF dis) throws Exception
deserializeValue in class DmcAttribute<Long>dis - the input stream.ExceptionCopyright © 2023. All rights reserved.