public class DmcTypeDataTypeEnumSV extends DmcTypeDataTypeEnum implements Serializable
This code was auto-generated and shouldn't be altered manually! Generated from: org.dmd.dms.util.GenUtility.dumpSVType(GenUtility.java:2171) Called from: org.dmd.dms.meta.MetaGenerator.dumpDerivedTypes(MetaGenerator.java:591)
| Modifier and Type | Field and Description |
|---|---|
protected DataTypeEnum |
value |
attrInfo, ID| Constructor and Description |
|---|
DmcTypeDataTypeEnumSV() |
DmcTypeDataTypeEnumSV(DmcAttributeInfo ai) |
| Modifier and Type | Method and Description |
|---|---|
DmcAttribute<DataTypeEnum> |
cloneIt()
This method is overridden in the auto-generated classes to create a deep clone
of the attribute.
|
int |
getMVSize()
For a multi-valued attribute, this returns the number of values in the attribute.
|
DmcTypeDataTypeEnumSV |
getNew()
Derived classes must return a new, empty version of themselves.
|
DmcTypeDataTypeEnumSV |
getNew(DmcAttributeInfo ai) |
DataTypeEnum |
getSV()
Returns the single-valued attribute value.
|
DataTypeEnum |
getSVCopy() |
DataTypeEnum |
set(Object v)
Sets the value of a single-valued attribute.
|
cloneValue, deserializeValue, serializeValue, typeCheckadd, addModsMV, addModsSV, compareTo, contains, containsKey, del, deserializeIt, formatValue, formatValueAsCompactJSON, formatValueAsJSON, getAttributeInfo, getByKey, getID, getMV, getMVnth, getName, hasValue, modifierFormat, serializeIt, setAttributeInfo, setMVnth, toOIF, toOIF, valueChangedMV, valueChangedSVprotected DataTypeEnum value
public DmcTypeDataTypeEnumSV()
public DmcTypeDataTypeEnumSV(DmcAttributeInfo ai)
public DmcTypeDataTypeEnumSV getNew()
DmcAttributegetNew in class DmcAttribute<DataTypeEnum>public DmcTypeDataTypeEnumSV getNew(DmcAttributeInfo ai)
public DmcAttribute<DataTypeEnum> cloneIt()
DmcAttributecloneIt in class DmcAttribute<DataTypeEnum>public DataTypeEnum getSVCopy()
public DataTypeEnum set(Object v) throws DmcValueException
DmcAttributeset in class DmcAttribute<DataTypeEnum>v - The value to be setDmcValueException - if the value is not compatible with the underlying type.public DataTypeEnum getSV()
DmcAttributegetSV in class DmcAttribute<DataTypeEnum>public int getMVSize()
DmcAttributegetMVSize in class DmcAttribute<DataTypeEnum>Copyright © 2023. All rights reserved.