public class DmcTypeTemplateREFMAP extends DmcTypeTemplateREF implements Serializable
This code was auto-generated and shouldn't be altered manually! Generated from: org.dmd.dms.util.GenUtility.dumpMAPType(GenUtility.java:3044) Called from: org.dmd.dms.util.DmoTypeFormatter.dumpNamedREF(DmoTypeFormatter.java:544)
| Modifier and Type | Field and Description |
|---|---|
protected Map<DefinitionName,TemplateREF> |
value |
attrInfo, ID| Constructor and Description |
|---|
DmcTypeTemplateREFMAP() |
DmcTypeTemplateREFMAP(DmcAttributeInfo ai) |
| Modifier and Type | Method and Description |
|---|---|
TemplateREF |
add(Object v)
Adds the specified value to a multi-valued attribute.
|
DmcAttribute<TemplateREF> |
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.
|
boolean |
containsKey(Object key)
If we have a mapped attribute, we checked to see it it contains the specified key.
|
TemplateREF |
del(Object key)
Removes a value from a multi-valued attribute.
|
DefinitionName |
firstKey() |
TemplateREF |
getByKey(Object key)
This method is overloaded in DmcHashedAttribute - it returns null at this level.
|
Iterator<TemplateREF> |
getMV()
Returns an Iterator over a multi-valued attribute's values.
|
Map<DefinitionName,TemplateREF> |
getMVCopy() |
int |
getMVSize()
For a multi-valued attribute, this returns the number of values in the attribute.
|
DmcTypeTemplateREFMAP |
getNew()
Derived classes must return a new, empty version of themselves.
|
cloneValue, deserializeValue, getDMOClassName, getNewHelper, getNewName, isDMO, serializeValue, typeCheckdoLazyResolution, removeBackReferences, resolveReferences, weAreResolvedaddModsMV, addModsSV, compareTo, deserializeIt, formatValue, formatValueAsCompactJSON, formatValueAsJSON, getAttributeInfo, getID, getMVnth, getName, getSV, hasValue, modifierFormat, serializeIt, set, setAttributeInfo, setMVnth, toOIF, toOIF, valueChangedMV, valueChangedSVprotected Map<DefinitionName,TemplateREF> value
public DmcTypeTemplateREFMAP()
public DmcTypeTemplateREFMAP(DmcAttributeInfo ai)
public DefinitionName firstKey()
public DmcTypeTemplateREFMAP getNew()
DmcAttributegetNew in class DmcAttribute<TemplateREF>public DmcAttribute<TemplateREF> cloneIt()
DmcAttributecloneIt in class DmcAttribute<TemplateREF>public TemplateREF add(Object v) throws DmcValueException
DmcAttributeadd in class DmcAttribute<TemplateREF>v - The value to be addedDmcValueException - if the value is not compatible with the underlying type.public TemplateREF del(Object key)
DmcAttributedel in class DmcAttribute<TemplateREF>key - The value to be removed.public Iterator<TemplateREF> getMV()
DmcAttributegetMV in class DmcAttribute<TemplateREF>public Map<DefinitionName,TemplateREF> getMVCopy()
public int getMVSize()
DmcAttributegetMVSize in class DmcAttribute<TemplateREF>public TemplateREF getByKey(Object key)
DmcAttributegetByKey in class DmcAttribute<TemplateREF>key - the key valuepublic boolean contains(Object v)
DmcAttributecontains in class DmcAttribute<TemplateREF>v - The object we're looking for.public boolean containsKey(Object key)
DmcAttributecontainsKey in class DmcAttribute<TemplateREF>key - The key we're looking for.Copyright © 2023. All rights reserved.