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