public abstract class DmcTypeContains extends DmcTypeComplexTypeWithRefs<Contains> implements Serializable
attrInfo, ID| Constructor and Description |
|---|
DmcTypeContains()
Default constructor.
|
DmcTypeContains(DmcAttributeInfo ai)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Contains |
cloneValue(Contains val)
Returns a clone of a value associated with this type.
|
Contains |
deserializeValue(DmcInputStreamIF dis)
Reads a Contains.
|
void |
formatValueAsJSON(StringBuffer sb,
int padding,
String indent)
This method may be overloaded to properly format attributes that refer directly
to DmcObjects or that are object references.
|
void |
removeBackRefsFromValue(Contains value)
Removes references to other objects from a Contains.
|
void |
resolveValue(DmcNameResolverIF resolver,
Contains value,
String attrName)
Resolves a Contains.
|
void |
resolveValue(DmcNameResolverWithClashSupportIF resolver,
Contains value,
DmcObject object,
DmcNameClashResolverIF ncr,
DmcAttributeInfo ai)
Resolves a Contains.
|
void |
serializeValue(DmcOutputStreamIF dos,
Contains value)
Writes a Contains.
|
Contains |
typeCheck(Object value)
Derived classes must overload this method to determine if the value passed
in conforms with their type criteria.
|
removeBackReferences, resolve, resolveadd, addModsMV, addModsSV, cloneIt, compareTo, contains, containsKey, del, deserializeIt, formatValue, formatValueAsCompactJSON, getAttributeInfo, getByKey, getID, getMV, getMVnth, getMVSize, getName, getNew, getSV, hasValue, modifierFormat, serializeIt, set, setAttributeInfo, setMVnth, toOIF, toOIF, valueChangedMV, valueChangedSVpublic DmcTypeContains()
public DmcTypeContains(DmcAttributeInfo ai)
public void formatValueAsJSON(StringBuffer sb, int padding, String indent)
DmcAttributeformatValueAsJSON in class DmcAttribute<Contains>sb - the string buffer we write topadding - the paddingindent - the indentpublic Contains typeCheck(Object value) throws DmcValueException
DmcAttributetypeCheck in class DmcAttribute<Contains>value - the value to be checkedDmcValueException - if the value is incorrectpublic Contains cloneValue(Contains val)
cloneValue in class DmcAttribute<Contains>val - the original valuepublic void serializeValue(DmcOutputStreamIF dos, Contains value) throws Exception
serializeValue in class DmcAttribute<Contains>dos - The output stream.value - The value to be serialized.Exception - if problems occurpublic Contains deserializeValue(DmcInputStreamIF dis) throws Exception
deserializeValue in class DmcAttribute<Contains>dis - the input stream.Exception - if problems occurpublic void resolveValue(DmcNameResolverIF resolver, Contains value, String attrName) throws DmcValueException
resolveValue in class DmcTypeComplexTypeWithRefs<Contains>DmcValueExceptionpublic void resolveValue(DmcNameResolverWithClashSupportIF resolver, Contains value, DmcObject object, DmcNameClashResolverIF ncr, DmcAttributeInfo ai) throws DmcValueException, DmcValueExceptionSet
resolveValue in class DmcTypeComplexTypeWithRefs<Contains>DmcValueExceptionDmcValueExceptionSetpublic void removeBackRefsFromValue(Contains value)
removeBackRefsFromValue in class DmcTypeComplexTypeWithRefs<Contains>Copyright © 2023. All rights reserved.