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