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