public class SectionDMO extends ContainedElementDMO implements DmcNamedObjectIF, Serializable
\n Sections can also contain other (sub) Sections. \n
\n Sections can also have named values that can be inserted into Templates. By specifying\n values, you define a set of values that can be accessed and embedded within the associated\n Template.\n
\n When a Section's format() method is called, it will dump the contents in the following order:\n
Generated from the dmtdl schema at version unknown
This code was auto-generated by the dmogenerator utility and shouldn't be alterred manually! Generated from: org.dmd.dms.util.DmoFormatter.dumpDMO(DmoFormatter.java:134)
| Modifier and Type | Field and Description |
|---|---|
static String |
constructionClassName |
__objectClass, attributes| Modifier | Constructor and Description |
|---|---|
|
SectionDMO() |
|
SectionDMO(DmcTypeModifierMV mods) |
protected |
SectionDMO(String oc) |
| Modifier and Type | Method and Description |
|---|---|
DmcAttribute<?> |
addContains(Contains value)
Adds another contains to the specified value.
|
DmcAttribute<?> |
addContains(Object value)
Adds another contains value.
|
DmcAttribute<?> |
addValue(Object value)
Adds another value value.
|
DmcAttribute<?> |
addValue(Value value)
Adds another value to the specified value.
|
boolean |
containsContains(Contains value) |
DmcAttribute<?> |
delContains(Contains value)
Deletes a contains from the specified value.
|
DmcAttribute<?> |
delContains(Object value)
Deletes a contains value.
|
DmcAttribute<?> |
delValue(Object value)
Deletes a value value.
|
DmcAttribute<?> |
delValue(Value value)
Deletes a value from the specified value.
|
boolean |
equals(Object obj)
This method performs an attribute by attribute comparison of this
object with the specified object and returns true if they are equal.
|
Iterator<Contains> |
getContains() |
int |
getContainsSize() |
SectionREF |
getEndsWith() |
SectionREF |
getEndsWithREF() |
String |
getEndsWithText() |
SectionDMO |
getModificationRecorder() |
DefinitionName |
getName()
The name attribute is used to store a single string token that represents
a unique name\n for an object with the set of definitions of which it is a
part.
|
SectionDMO |
getNew()
Auto-generated derived classes override this to return an empty instance
of themselves.
|
Contains |
getNthContains(int i) |
Value |
getNthValue(int i) |
DefinitionName |
getObjectName() |
DmcAttribute<?> |
getObjectNameAttribute() |
SectionDMO |
getSlice(DmcSliceInfo info)
Auto-generated derived classes override this to return an instance of themselves
with just the specified slice of attributes.
|
SectionREF |
getStartsWith() |
SectionREF |
getStartsWithREF() |
String |
getStartsWithText() |
Iterator<Value> |
getValue() |
int |
getValueSize() |
int |
hashCode() |
Boolean |
isHasTemplate() |
Boolean |
isUsesTemplate() |
void |
remContains()
Removes the contains attribute value.
|
void |
remEndsWith()
Removes the endsWith attribute value.
|
void |
remEndsWithText()
Removes the endsWithText attribute value.
|
void |
remHasTemplate()
Removes the hasTemplate attribute value.
|
void |
remName()
Removes the name attribute value.
|
void |
remStartsWith()
Removes the startsWith attribute value.
|
void |
remStartsWithText()
Removes the startsWithText attribute value.
|
void |
remUsesTemplate()
Removes the usesTemplate attribute value.
|
void |
remValue()
Removes the value attribute value.
|
void |
setEndsWith(Object value)
Sets endsWith to the specified value.
|
void |
setEndsWith(SectionDMO value)
Sets endsWith to the specified value.
|
void |
setEndsWithText(Object value)
Sets endsWithText to the specified value.
|
void |
setEndsWithText(String value)
Sets endsWithText to the specified value.
|
void |
setHasTemplate(Boolean value)
Sets hasTemplate to the specified value.
|
void |
setHasTemplate(Object value)
Sets hasTemplate to the specified value.
|
void |
setName(DefinitionName value)
Sets name to the specified value.
|
void |
setName(Object value)
Sets name to the specified value.
|
void |
setStartsWith(Object value)
Sets startsWith to the specified value.
|
void |
setStartsWith(SectionDMO value)
Sets startsWith to the specified value.
|
void |
setStartsWithText(Object value)
Sets startsWithText to the specified value.
|
void |
setStartsWithText(String value)
Sets startsWithText to the specified value.
|
void |
setUsesTemplate(Boolean value)
Sets usesTemplate to the specified value.
|
void |
setUsesTemplate(Object value)
Sets usesTemplate to the specified value.
|
boolean |
valueContains(Value value) |
addDescription, addDescription, delDescription, delDescription, descriptionContains, getDefinedInTdlModule, getDefinedInTdlModuleREF, getDescription, getDescriptionSize, getDotName, getNthDescription, remDefinedInTdlModule, remDescription, remDotName, setDefinedInTdlModule, setDefinedInTdlModule, setDotName, setDotNameaddComment, addExample, addNvp, addOptimize, addQuestion, addSkip, addTags, getComment, getDefinedIn, getDescriptionWithNewlines, getDmoFromModule, getExample, getFile, getHint, getIdToAttrInfo, getLineNumber, getNvp, getObsolete, getOptimize, getQuestion, getRelationship, getSearchable, getSkip, getSortName, getStringToAttrInfo, getTags, getVersion, getWhy, setDefinedIn, setDmoFromModule, setFile, setHint, setLineNumber, setObsolete, setRelationship, setSearchable, setSortName, setVersion, setWhyadd, add, addAux, addAux, addBackref, allowsAttribute, applyModifier, clearReferenceInfo, cloneIt, del, del, delFromEmptyAttribute, deserializeIt, get, get, get, getAdditionalAttributes, getAttributeInfo, getAttributeInfo, getAttributeIterator, getAttributeNames, getAttributes, getAttributeValidators, getBackref, getBackRefs, getConstructionClass, getConstructionClassInfo, getConstructionClassName, getContainer, getDataType, getFullClassName, getLastValue, getModifier, getObjectClass, getObjectValidators, getReferringObjects, getReferringObjectsViaAttribute, getStagingObject, hasAux, hasValue, isModrec, isReferenced, isStaging, modrec, nth, nthNullFromEmptyAttribute, numberOfAttributes, populateSlice, referenceCount, rem, rem, removeAux, removeBackref, resolveReferences, resolveReferences, resolveReferences, resolveReferencesExceptClass, resolveReferencesExceptClass, serializeIt, set, set, setContainer, setLastValue, setModifier, shallowCopy, staging, supportsBackrefTracking, toCompactJSON, toCompactJSON, toJSON, toJSON, toJSON, toOIF, toOIF, toOIFNoPadding, toPersistentOIF, toPersistentOIF, toString, youAreDeletedpublic static final String constructionClassName
public SectionDMO()
protected SectionDMO(String oc)
public SectionDMO(DmcTypeModifierMV mods)
public SectionDMO getNew()
DmcObjectgetNew in class DSDefinitionDMOpublic SectionDMO getSlice(DmcSliceInfo info)
DmcObjectgetSlice in class DSDefinitionDMOinfo - the slice infopublic SectionDMO getModificationRecorder()
public DefinitionName getObjectName()
getObjectName in interface DmcNamedObjectIFgetObjectName in class ContainedElementDMOpublic DmcAttribute<?> getObjectNameAttribute()
getObjectNameAttribute in interface DmcNamedObjectIFgetObjectNameAttribute in class ContainedElementDMOpublic boolean equals(Object obj)
DmcObjectequals in interface DmcNamedObjectIFequals in class ContainedElementDMOobj - The comparison object.public int hashCode()
hashCode in class ContainedElementDMOpublic Contains getNthContains(int i)
i - the indexpublic DmcAttribute<?> addContains(Contains value)
value - Containspublic boolean containsContains(Contains value)
value - Containspublic DmcAttribute<?> addContains(Object value) throws DmcValueException
value - A value compatible with ContainsDmcValueException - if value is not correctpublic int getContainsSize()
public DmcAttribute<?> delContains(Object value) throws DmcValueException
value - The Contains to be deleted from set of attribute values.DmcValueException - if the value is incorrectpublic DmcAttribute<?> delContains(Contains value)
value - Containspublic void remContains()
public SectionREF getStartsWith()
public SectionREF getStartsWithREF()
public void setStartsWith(SectionDMO value)
value - SectionDMOpublic void setStartsWith(Object value) throws DmcValueException
value - A value compatible with DmcTypeSectionREFSVDmcValueException - if value is not correctpublic void remStartsWith()
public SectionREF getEndsWith()
public SectionREF getEndsWithREF()
public void setEndsWith(SectionDMO value)
value - SectionDMOpublic void setEndsWith(Object value) throws DmcValueException
value - A value compatible with DmcTypeSectionREFSVDmcValueException - if value is not correctpublic void remEndsWith()
public String getStartsWithText()
public void setStartsWithText(String value)
value - Stringpublic void setStartsWithText(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if value is not correctpublic void remStartsWithText()
public String getEndsWithText()
public void setEndsWithText(String value)
value - Stringpublic void setEndsWithText(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if value is not correctpublic void remEndsWithText()
public Value getNthValue(int i)
i - the indexpublic DmcAttribute<?> addValue(Value value)
value - Valuepublic boolean valueContains(Value value)
value - Valuepublic DmcAttribute<?> addValue(Object value) throws DmcValueException
value - A value compatible with ValueDmcValueException - if value is not correctpublic int getValueSize()
public DmcAttribute<?> delValue(Object value) throws DmcValueException
value - The Value to be deleted from set of attribute values.DmcValueException - if the value is incorrectpublic DmcAttribute<?> delValue(Value value)
value - Valuepublic void remValue()
public Boolean isHasTemplate()
public void setHasTemplate(Boolean value)
value - Booleanpublic void setHasTemplate(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - if value is not correctpublic void remHasTemplate()
public Boolean isUsesTemplate()
public void setUsesTemplate(Boolean value)
value - Booleanpublic void setUsesTemplate(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - if value is not correctpublic void remUsesTemplate()
public DefinitionName getName()
DSDefinitionDMOgetName in class ContainedElementDMOpublic void setName(DefinitionName value)
setName in class ContainedElementDMOvalue - DefinitionNamepublic void setName(Object value) throws DmcValueException
setName in class ContainedElementDMOvalue - A value compatible with DmcTypeDefinitionNameSVDmcValueException - if value is not correctpublic void remName()
remName in class ContainedElementDMOCopyright © 2023. All rights reserved.