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