public abstract class DmcTypeMenuElementTypeAndComment extends DmcAttribute<MenuElementTypeAndComment> implements Serializable
attrInfo, ID| Constructor and Description |
|---|
DmcTypeMenuElementTypeAndComment()
Default constructor.
|
DmcTypeMenuElementTypeAndComment(DmcAttributeInfo ai)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MenuElementTypeAndComment |
cloneValue(MenuElementTypeAndComment val)
Returns a clone of a value associated with this type.
|
MenuElementTypeAndComment |
deserializeValue(DmcInputStreamIF dis)
Reads a MenuElementTypeAndComment.
|
void |
formatValueAsJSON(StringBuffer sb,
int padding,
String indent)
This method may be overloaded to properly format attributes that refer directly
to DmcObjects or that are object references.
|
void |
serializeValue(DmcOutputStreamIF dos,
MenuElementTypeAndComment value)
Writes a MenuElementTypeAndComment.
|
MenuElementTypeAndComment |
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, getAttributeInfo, getByKey, getID, getMV, getMVnth, getMVSize, getName, getNew, getSV, hasValue, modifierFormat, serializeIt, set, setAttributeInfo, setMVnth, toOIF, toOIF, valueChangedMV, valueChangedSVpublic DmcTypeMenuElementTypeAndComment()
public DmcTypeMenuElementTypeAndComment(DmcAttributeInfo ai)
public void formatValueAsJSON(StringBuffer sb, int padding, String indent)
DmcAttributeformatValueAsJSON in class DmcAttribute<MenuElementTypeAndComment>sb - the string buffer we write topadding - the paddingindent - the indentpublic MenuElementTypeAndComment typeCheck(Object value) throws DmcValueException
DmcAttributetypeCheck in class DmcAttribute<MenuElementTypeAndComment>value - the value to be checkedDmcValueException - if the value is incorrectpublic MenuElementTypeAndComment cloneValue(MenuElementTypeAndComment val)
cloneValue in class DmcAttribute<MenuElementTypeAndComment>val - the original valuepublic void serializeValue(DmcOutputStreamIF dos, MenuElementTypeAndComment value) throws Exception
serializeValue in class DmcAttribute<MenuElementTypeAndComment>dos - The output stream.value - The value to be serialized.Exception - if problems occurpublic MenuElementTypeAndComment deserializeValue(DmcInputStreamIF dis) throws Exception
deserializeValue in class DmcAttribute<MenuElementTypeAndComment>dis - the input stream.Exception - if problems occurCopyright © 2023. All rights reserved.