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