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