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