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