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