public class DmcTypeGeneratorSV extends DmcTypeGenerator 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.util.DmoTypeFormatter.dumpTypes(DmoTypeFormatter.java:100)
| Modifier and Type | Field and Description |
|---|---|
protected Generator |
value |
attrInfo, ID| Constructor and Description |
|---|
DmcTypeGeneratorSV() |
DmcTypeGeneratorSV(DmcAttributeInfo ai) |
| Modifier and Type | Method and Description |
|---|---|
DmcAttribute<Generator> |
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.
|
DmcTypeGeneratorSV |
getNew()
Derived classes must return a new, empty version of themselves.
|
DmcTypeGeneratorSV |
getNew(DmcAttributeInfo ai) |
Generator |
getSV()
Returns the single-valued attribute value.
|
Generator |
getSVCopy() |
Generator |
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 Generator value
public DmcTypeGeneratorSV()
public DmcTypeGeneratorSV(DmcAttributeInfo ai)
public DmcTypeGeneratorSV getNew()
DmcAttributegetNew in class DmcAttribute<Generator>public DmcTypeGeneratorSV getNew(DmcAttributeInfo ai)
public DmcAttribute<Generator> cloneIt()
DmcAttributecloneIt in class DmcAttribute<Generator>public Generator getSVCopy()
public Generator set(Object v) throws DmcValueException
DmcAttributeset in class DmcAttribute<Generator>v - The value to be setDmcValueException - if the value is not compatible with the underlying type.public Generator getSV()
DmcAttributegetSV in class DmcAttribute<Generator>public int getMVSize()
DmcAttributegetMVSize in class DmcAttribute<Generator>Copyright © 2023. All rights reserved.