public class DmcTypeDmtStringNameSET extends DmcTypeDmtStringName implements Serializable
This code was auto-generated and shouldn't be altered manually! Generated from: org.dmd.dms.util.GenUtility.dumpSETType(GenUtility.java:2811) Called from: org.dmd.dms.util.DmoTypeFormatter.dumpTypes(DmoTypeFormatter.java:102)
| Modifier and Type | Field and Description |
|---|---|
protected Set<DmtStringName> |
value |
attrInfo, ID| Constructor and Description |
|---|
DmcTypeDmtStringNameSET() |
DmcTypeDmtStringNameSET(DmcAttributeInfo ai) |
| Modifier and Type | Method and Description |
|---|---|
DmtStringName |
add(Object v)
Adds the specified value to a multi-valued attribute.
|
DmcAttribute<DmtStringName> |
cloneIt()
This method is overridden in the auto-generated classes to create a deep clone
of the attribute.
|
boolean |
contains(Object v)
If we have a multi-valued attribute, we checked to see it it contains the specified value.
|
DmtStringName |
del(Object v)
Removes a value from a multi-valued attribute.
|
Iterator<DmtStringName> |
getMV()
Returns an Iterator over a multi-valued attribute's values.
|
Set<DmtStringName> |
getMVCopy() |
int |
getMVSize()
For a multi-valued attribute, this returns the number of values in the attribute.
|
DmcTypeDmtStringNameSET |
getNew()
Derived classes must return a new, empty version of themselves.
|
cloneValue, deserializeValue, serializeValue, typeCheckaddModsMV, addModsSV, compareTo, containsKey, deserializeIt, formatValue, formatValueAsCompactJSON, formatValueAsJSON, getAttributeInfo, getByKey, getID, getMVnth, getName, getSV, hasValue, modifierFormat, serializeIt, set, setAttributeInfo, setMVnth, toOIF, toOIF, valueChangedMV, valueChangedSVprotected Set<DmtStringName> value
public DmcTypeDmtStringNameSET()
public DmcTypeDmtStringNameSET(DmcAttributeInfo ai)
public DmcTypeDmtStringNameSET getNew()
DmcAttributegetNew in class DmcAttribute<DmtStringName>public DmcAttribute<DmtStringName> cloneIt()
DmcAttributecloneIt in class DmcAttribute<DmtStringName>public DmtStringName add(Object v) throws DmcValueException
DmcAttributeadd in class DmcAttribute<DmtStringName>v - The value to be addedDmcValueException - if the value is not compatible with the underlying type.public DmtStringName del(Object v)
DmcAttributedel in class DmcAttribute<DmtStringName>v - The value to be removed.public Iterator<DmtStringName> getMV()
DmcAttributegetMV in class DmcAttribute<DmtStringName>public Set<DmtStringName> getMVCopy()
public int getMVSize()
DmcAttributegetMVSize in class DmcAttribute<DmtStringName>public boolean contains(Object v)
DmcAttributecontains in class DmcAttribute<DmtStringName>v - The object we're looking for.Copyright © 2023. All rights reserved.