public abstract class DmcTypeValueTypeEnum extends DmcAttribute<ValueTypeEnum> implements Serializable
attrInfo, ID| Constructor and Description |
|---|
DmcTypeValueTypeEnum()
Default constructor.
|
DmcTypeValueTypeEnum(DmcAttributeInfo ai)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ValueTypeEnum |
cloneValue(ValueTypeEnum val)
Returns a clone of a value associated with this type.
|
ValueTypeEnum |
deserializeValue(DmcInputStreamIF dis)
Reads a ValueTypeEnum.
|
void |
serializeValue(DmcOutputStreamIF dos,
ValueTypeEnum value)
Writes a ValueTypeEnum.
|
protected ValueTypeEnum |
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 DmcTypeValueTypeEnum()
public DmcTypeValueTypeEnum(DmcAttributeInfo ai)
protected ValueTypeEnum typeCheck(Object value) throws DmcValueException
DmcAttributetypeCheck in class DmcAttribute<ValueTypeEnum>value - the value to be checkedDmcValueException - if the value is incorrectpublic ValueTypeEnum cloneValue(ValueTypeEnum val)
cloneValue in class DmcAttribute<ValueTypeEnum>val - the original valuepublic void serializeValue(DmcOutputStreamIF dos, ValueTypeEnum value) throws Exception
serializeValue in class DmcAttribute<ValueTypeEnum>dos - The output stream.value - The value to be serialized.Exception - if problems occurpublic ValueTypeEnum deserializeValue(DmcInputStreamIF dis) throws Exception
deserializeValue in class DmcAttribute<ValueTypeEnum>dis - the input stream.Exception - if problems occurCopyright © 2023. All rights reserved.