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