public class DmcTypeNamedObjMVIDXREFMV extends DmcTypeNamedObjMVIDXREF implements Serializable
This code was auto-generated and shouldn't be altered manually! Generated from: org.dmd.dms.util.GenUtility.dumpMVType(GenUtility.java:2515) Called from: org.dmd.dms.util.DmoTypeFormatter.dumpNormalREFType(DmoTypeFormatter.java:255)
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<NamedObjMVIDXDMO> |
value |
attrInfo, ID| Constructor and Description |
|---|
DmcTypeNamedObjMVIDXREFMV() |
DmcTypeNamedObjMVIDXREFMV(DmcAttributeInfo ai) |
| Modifier and Type | Method and Description |
|---|---|
NamedObjMVIDXDMO |
add(Object v)
Adds the specified value to a multi-valued attribute.
|
DmcAttribute<NamedObjMVIDXDMO> |
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.
|
NamedObjMVIDXDMO |
del(Object v)
Removes a value from a multi-valued attribute.
|
Iterator<NamedObjMVIDXDMO> |
getMV()
Returns an Iterator over a multi-valued attribute's values.
|
ArrayList<NamedObjMVIDXDMO> |
getMVCopy() |
NamedObjMVIDXDMO |
getMVnth(int index)
A convenience function to return the nth value from a multi-valued attribute.
|
int |
getMVSize()
For a multi-valued attribute, this returns the number of values in the attribute.
|
DmcTypeNamedObjMVIDXREFMV |
getNew()
Derived classes must return a new, empty version of themselves.
|
boolean |
hasValue()
If we have an indexed, multi-valued attribute, this method will traverse all of the slots to determine if we still
have any non-null values.
|
NamedObjMVIDXDMO |
setMVnth(int index,
Object v)
For indexed, multi-valued attributes, we set the nth value as specified.
|
cloneValue, deserializeValue, serializeValue, typeCheckaddModsMV, addModsSV, compareTo, containsKey, deserializeIt, formatValue, formatValueAsCompactJSON, formatValueAsJSON, getAttributeInfo, getByKey, getID, getName, getSV, modifierFormat, serializeIt, set, setAttributeInfo, toOIF, toOIF, valueChangedMV, valueChangedSVprotected ArrayList<NamedObjMVIDXDMO> value
public DmcTypeNamedObjMVIDXREFMV()
public DmcTypeNamedObjMVIDXREFMV(DmcAttributeInfo ai)
public DmcTypeNamedObjMVIDXREFMV getNew()
DmcAttributegetNew in class DmcAttribute<NamedObjMVIDXDMO>public DmcAttribute<NamedObjMVIDXDMO> cloneIt()
DmcAttributecloneIt in class DmcAttribute<NamedObjMVIDXDMO>public NamedObjMVIDXDMO add(Object v) throws DmcValueException
DmcAttributeadd in class DmcAttribute<NamedObjMVIDXDMO>v - The value to be addedDmcValueException - if the value is not compatible with the underlying type.public NamedObjMVIDXDMO del(Object v)
DmcAttributedel in class DmcAttribute<NamedObjMVIDXDMO>v - The value to be removed.public Iterator<NamedObjMVIDXDMO> getMV()
DmcAttributegetMV in class DmcAttribute<NamedObjMVIDXDMO>public ArrayList<NamedObjMVIDXDMO> getMVCopy()
public int getMVSize()
DmcAttributegetMVSize in class DmcAttribute<NamedObjMVIDXDMO>public NamedObjMVIDXDMO getMVnth(int index)
DmcAttributegetMVnth in class DmcAttribute<NamedObjMVIDXDMO>index - The value index.public NamedObjMVIDXDMO setMVnth(int index, Object v) throws DmcValueException
DmcAttributesetMVnth in class DmcAttribute<NamedObjMVIDXDMO>index - The value index.v - The value to be set. if the value is null, that index location is nulled.DmcValueExceptionpublic boolean hasValue()
DmcAttributehasValue in class DmcAttribute<NamedObjMVIDXDMO>public boolean contains(Object v)
DmcAttributecontains in class DmcAttribute<NamedObjMVIDXDMO>v - The object we're looking for.Copyright © 2023. All rights reserved.