public class DmcTypeNamedObjectRuleDataREFMAP extends DmcTypeNamedObjectRuleDataREF 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<RuleName,NamedObjectRuleDataREF> |
value |
attrInfo, ID| Constructor and Description |
|---|
DmcTypeNamedObjectRuleDataREFMAP() |
DmcTypeNamedObjectRuleDataREFMAP(DmcAttributeInfo ai) |
| Modifier and Type | Method and Description |
|---|---|
NamedObjectRuleDataREF |
add(Object v)
Adds the specified value to a multi-valued attribute.
|
DmcAttribute<NamedObjectRuleDataREF> |
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.
|
NamedObjectRuleDataREF |
del(Object key)
Removes a value from a multi-valued attribute.
|
RuleName |
firstKey() |
NamedObjectRuleDataREF |
getByKey(Object key)
This method is overloaded in DmcHashedAttribute - it returns null at this level.
|
Iterator<NamedObjectRuleDataREF> |
getMV()
Returns an Iterator over a multi-valued attribute's values.
|
Map<RuleName,NamedObjectRuleDataREF> |
getMVCopy() |
int |
getMVSize()
For a multi-valued attribute, this returns the number of values in the attribute.
|
DmcTypeNamedObjectRuleDataREFMAP |
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<RuleName,NamedObjectRuleDataREF> value
public DmcTypeNamedObjectRuleDataREFMAP()
public DmcTypeNamedObjectRuleDataREFMAP(DmcAttributeInfo ai)
public RuleName firstKey()
public DmcTypeNamedObjectRuleDataREFMAP getNew()
DmcAttributegetNew in class DmcAttribute<NamedObjectRuleDataREF>public DmcAttribute<NamedObjectRuleDataREF> cloneIt()
DmcAttributecloneIt in class DmcAttribute<NamedObjectRuleDataREF>public NamedObjectRuleDataREF add(Object v) throws DmcValueException
DmcAttributeadd in class DmcAttribute<NamedObjectRuleDataREF>v - The value to be addedDmcValueException - if the value is not compatible with the underlying type.public NamedObjectRuleDataREF del(Object key)
DmcAttributedel in class DmcAttribute<NamedObjectRuleDataREF>key - The value to be removed.public Iterator<NamedObjectRuleDataREF> getMV()
DmcAttributegetMV in class DmcAttribute<NamedObjectRuleDataREF>public Map<RuleName,NamedObjectRuleDataREF> getMVCopy()
public int getMVSize()
DmcAttributegetMVSize in class DmcAttribute<NamedObjectRuleDataREF>public NamedObjectRuleDataREF getByKey(Object key)
DmcAttributegetByKey in class DmcAttribute<NamedObjectRuleDataREF>key - the key valuepublic boolean contains(Object v)
DmcAttributecontains in class DmcAttribute<NamedObjectRuleDataREF>v - The object we're looking for.public boolean containsKey(Object key)
DmcAttributecontainsKey in class DmcAttribute<NamedObjectRuleDataREF>key - The key we're looking for.Copyright © 2023. All rights reserved.