public abstract class DmcTypeDmcFilter<VALUE extends DmcFilter> extends DmcAttribute<VALUE> implements Serializable
attrInfo, ID| Modifier | Constructor and Description |
|---|---|
|
DmcTypeDmcFilter() |
protected |
DmcTypeDmcFilter(DmcAttributeInfo ai) |
| Modifier and Type | Method and Description |
|---|---|
protected VALUE |
cloneValue(VALUE original)
This method must be overridden to clone whatever value is stored in this attribute.
|
VALUE |
deserializeValue(DmcInputStreamIF dis)
This method must be overridden to read a single value from the input stream.
|
void |
serializeValue(DmcOutputStreamIF dos,
VALUE value)
This method must be overridden to serialize the specified value to the
output stream.
|
protected VALUE |
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 DmcTypeDmcFilter()
protected DmcTypeDmcFilter(DmcAttributeInfo ai)
protected VALUE cloneValue(VALUE original)
DmcAttributecloneValue in class DmcAttribute<VALUE extends DmcFilter>original - the original valuepublic VALUE deserializeValue(DmcInputStreamIF dis) throws Exception
DmcAttributedeserializeValue in class DmcAttribute<VALUE extends DmcFilter>dis - the input stream.Exception - if problems occurpublic void serializeValue(DmcOutputStreamIF dos, VALUE value) throws Exception
DmcAttributeserializeValue in class DmcAttribute<VALUE extends DmcFilter>dos - The output stream.value - The value to be serialized.Exception - if problems occurprotected VALUE typeCheck(Object value) throws DmcValueException
DmcAttributetypeCheck in class DmcAttribute<VALUE extends DmcFilter>value - the value to be checkedDmcValueException - if the value is incorrectCopyright © 2023. All rights reserved.