public abstract class DmcTypeOptimize extends DmcTypeComplexTypeWithRefs<Optimize> implements Serializable
attrInfo, ID| Constructor and Description |
|---|
DmcTypeOptimize()
Default constructor.
|
DmcTypeOptimize(DmcAttributeInfo ai)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Optimize |
cloneValue(Optimize val)
Returns a clone of a value associated with this type.
|
Optimize |
deserializeValue(DmcInputStreamIF dis)
Reads a Optimize.
|
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(Optimize value)
Removes references to other objects from a Optimize.
|
void |
resolveValue(DmcNameResolverIF resolver,
Optimize value,
String attrName)
Resolves a Optimize.
|
void |
resolveValue(DmcNameResolverWithClashSupportIF resolver,
Optimize value,
DmcObject object,
DmcNameClashResolverIF ncr,
DmcAttributeInfo ai)
Resolves a Optimize.
|
void |
serializeValue(DmcOutputStreamIF dos,
Optimize value)
Writes a Optimize.
|
Optimize |
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 DmcTypeOptimize()
public DmcTypeOptimize(DmcAttributeInfo ai)
public void formatValueAsJSON(StringBuffer sb, int padding, String indent)
DmcAttributeformatValueAsJSON in class DmcAttribute<Optimize>sb - the string buffer we write topadding - the paddingindent - the indentpublic Optimize typeCheck(Object value) throws DmcValueException
DmcAttributetypeCheck in class DmcAttribute<Optimize>value - the value to be checkedDmcValueException - if the value is incorrectpublic Optimize cloneValue(Optimize val)
cloneValue in class DmcAttribute<Optimize>val - the original valuepublic void serializeValue(DmcOutputStreamIF dos, Optimize value) throws Exception
serializeValue in class DmcAttribute<Optimize>dos - The output stream.value - The value to be serialized.Exception - if problems occurpublic Optimize deserializeValue(DmcInputStreamIF dis) throws Exception
deserializeValue in class DmcAttribute<Optimize>dis - the input stream.Exception - if problems occurpublic void resolveValue(DmcNameResolverIF resolver, Optimize value, String attrName) throws DmcValueException
resolveValue in class DmcTypeComplexTypeWithRefs<Optimize>DmcValueExceptionpublic void resolveValue(DmcNameResolverWithClashSupportIF resolver, Optimize value, DmcObject object, DmcNameClashResolverIF ncr, DmcAttributeInfo ai) throws DmcValueException, DmcValueExceptionSet
resolveValue in class DmcTypeComplexTypeWithRefs<Optimize>DmcValueExceptionDmcValueExceptionSetpublic void removeBackRefsFromValue(Optimize value)
removeBackRefsFromValue in class DmcTypeComplexTypeWithRefs<Optimize>Copyright © 2023. All rights reserved.