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