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