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