public class DmcTypeKeyedType extends DmcAttribute<KeyedType> implements Serializable
attrInfo, ID| Constructor and Description |
|---|
DmcTypeKeyedType() |
DmcTypeKeyedType(DmcAttributeInfo ai) |
| Modifier and Type | Method and Description |
|---|---|
DmcAttribute<KeyedType> |
cloneIt()
This method is overridden in the auto-generated classes to create a deep clone
of the attribute.
|
protected KeyedType |
cloneValue(KeyedType original)
This method must be overridden to clone whatever value is stored in this attribute.
|
KeyedType |
deserializeValue(DmcInputStreamIF dis)
This method must be overridden to read a single value from the input stream.
|
protected DmcAttribute<?> |
getNew()
Derived classes must return a new, empty version of themselves.
|
void |
serializeValue(DmcOutputStreamIF dos,
KeyedType value)
This method must be overridden to serialize the specified value to the
output stream.
|
protected KeyedType |
typeCheck(Object value)
Derived classes must overload this method to determine if the value passed
in conforms with their type criteria.
|
add, addModsMV, addModsSV, compareTo, contains, containsKey, del, deserializeIt, formatValue, formatValueAsCompactJSON, formatValueAsJSON, getAttributeInfo, getByKey, getID, getMV, getMVnth, getMVSize, getName, getSV, hasValue, modifierFormat, serializeIt, set, setAttributeInfo, setMVnth, toOIF, toOIF, valueChangedMV, valueChangedSVpublic DmcTypeKeyedType()
public DmcTypeKeyedType(DmcAttributeInfo ai)
protected KeyedType typeCheck(Object value) throws DmcValueException
DmcAttributetypeCheck in class DmcAttribute<KeyedType>value - the value to be checkedDmcValueException - if the value is incorrectprotected KeyedType cloneValue(KeyedType original)
DmcAttributecloneValue in class DmcAttribute<KeyedType>original - the original valuepublic void serializeValue(DmcOutputStreamIF dos, KeyedType value) throws Exception
DmcAttributeserializeValue in class DmcAttribute<KeyedType>dos - The output stream.value - The value to be serialized.Exception - if problems occurpublic KeyedType deserializeValue(DmcInputStreamIF dis) throws Exception
DmcAttributedeserializeValue in class DmcAttribute<KeyedType>dis - the input stream.Exception - if problems occurprotected DmcAttribute<?> getNew()
DmcAttributegetNew in class DmcAttribute<KeyedType>public DmcAttribute<KeyedType> cloneIt()
DmcAttributecloneIt in class DmcAttribute<KeyedType>Copyright © 2023. All rights reserved.