public abstract class SectionDMW extends ContainedElement implements DmcDefinitionIF, DmcNamedObjectIF
\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 dmggenerator utility and shouldn't be alterred manually! Generated from: org.dmd.dmg.generators.BaseDMWGenerator.dumpWrapper(BaseDMWGenerator.java:488)
core| Modifier | Constructor and Description |
|---|---|
|
SectionDMW() |
|
SectionDMW(DmcTypeModifierMV mods) |
|
SectionDMW(SectionDMO obj) |
protected |
SectionDMW(SectionDMO obj,
ClassDefinition cd) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContains(Contains value)
Adds another contains value.
|
void |
addContains(Object value)
Adds another contains value.
|
void |
addValue(Object value)
Adds another value value.
|
void |
addValue(Value value)
Adds another value value.
|
Section |
cloneIt() |
boolean |
containsContains(Contains value) |
void |
delContains(Contains value)
Deletes a contains value.
|
void |
delContains(Object value)
Deletes a contains value.
|
void |
delValue(Object value)
Deletes a value value.
|
void |
delValue(Value value)
Deletes a value value.
|
boolean |
equals(Object obj)
This method should check the type of the obj param and compare the name
of this object with the one passed as argument.
|
ArrayList<Contains> |
getContainsCopy() |
boolean |
getContainsHasValue() |
boolean |
getContainsIsEmpty() |
ContainsIterableDMW |
getContainsIterable() |
int |
getContainsSize() |
SectionDMO |
getDMO() |
Section |
getEndsWith() |
String |
getEndsWithText() |
Section |
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.
|
String |
getNameOfModuleWhereThisCameFrom()
This method indicates the name of the module from which this definition was loaded.
|
DefinitionName |
getObjectName() |
DmcAttribute<?> |
getObjectNameAttribute() |
Section |
getStartsWith() |
String |
getStartsWithText() |
ArrayList<Value> |
getValueCopy() |
boolean |
getValueHasValue() |
boolean |
getValueIsEmpty() |
ValueIterableDMW |
getValueIterable() |
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 the endsWith to the specified value.
|
void |
setEndsWith(Section value)
Sets the 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 the startsWith to the specified value.
|
void |
setStartsWith(Section value)
Sets the 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) |
initializeaddDescription, addDescription, delDescription, delDescription, descriptionContains, getDefinedInTdlModule, getDescriptionCopy, getDescriptionHasValue, getDescriptionIsEmpty, getDescriptionIterable, getDescriptionSize, getDotName, remDefinedInTdlModule, remDescription, remDotName, setDefinedInTdlModule, setDefinedInTdlModule, setDotName, setDotNameequals, getFullDotNameaddComment, addExample, addNvp, addOptimize, addQuestion, addSkip, addTags, getComment, getCommentSize, getDefinedIn, getDescription, getDescriptionWithNewlines, getDmoFromModule, getExample, getExampleSize, getFile, getHint, getLineNumber, getNvp, getNvpSize, getObsolete, getOptimize, getOptimizeSize, getQuestion, getQuestionSize, getRelationship, getSearchable, getSkip, getSkipSize, getSortName, getTags, getTagsSize, getVersion, getWhy, setDefinedIn, setDmcObject, setDmoFromModule, setFile, setHint, setLineNumber, setObsolete, setRelationship, setSearchable, setSortName, setVersion, setWhyaddAux, applyModifier, getBackRefs, getConstructionClass, getConstructionClassInfo, getConstructionClassName, getDmcObject, getObjectClass, getReferringObjects, getReferringObjectsViaAttribute, hasAux, isReferenced, referenceCount, removeAux, resolveReferences, resolveReferences, serializeIt, toJSON, toOIF, toOIF, toPersistentOIF, toString, youAreDeletedgetDeleted, getModifier, setDeleted, setModifierclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDefinedIn, getDotName, toOIFpublic SectionDMW()
public SectionDMW(DmcTypeModifierMV mods)
public SectionDMW(SectionDMO obj)
protected SectionDMW(SectionDMO obj, ClassDefinition cd)
public Section getModificationRecorder()
getModificationRecorder in class ContainedElementDMWpublic Section cloneIt()
public SectionDMO getDMO()
getDMO in class ContainedElementDMWpublic DefinitionName getObjectName()
getObjectName in interface DmcNamedObjectIFgetObjectName in class ContainedElementDMWpublic int hashCode()
hashCode in class ContainedElementDMWpublic DmcAttribute<?> getObjectNameAttribute()
getObjectNameAttribute in interface DmcNamedObjectIFgetObjectNameAttribute in class ContainedElementDMWpublic boolean equals(Object obj)
DmcNamedObjectIFequals in interface DmcNamedObjectIFequals in class ContainedElementDMWobj - The comparison object.public int getContainsSize()
public boolean getContainsIsEmpty()
public boolean getContainsHasValue()
public ContainsIterableDMW getContainsIterable()
public void addContains(Object value) throws DmcValueException
value - A value compatible with ContainsDmcValueException - if value is incorrectpublic void addContains(Contains value)
value - A value compatible with Containspublic boolean containsContains(Contains value)
value - A value compatible with Containspublic ArrayList<Contains> getContainsCopy()
public void delContains(Object value) throws DmcValueException
value - The Contains to be deleted from set of attribute values.DmcValueException - if value is incorrectpublic void delContains(Contains value)
value - The Contains to be deleted from set of attribute values.public void remContains()
public Section getEndsWith()
public void setEndsWith(Section value)
value - A value compatible with SectionREFpublic void setEndsWith(Object value) throws DmcValueException
value - A value compatible with SectionREFDmcValueException - is the value is incorrectpublic void remEndsWith()
public String getEndsWithText()
public void setEndsWithText(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringDmcValueExceptionpublic void setEndsWithText(String value)
value - Stringpublic void remEndsWithText()
public Boolean isHasTemplate()
public void setHasTemplate(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanDmcValueExceptionpublic void setHasTemplate(Boolean value)
value - Booleanpublic void remHasTemplate()
public DefinitionName getName()
DSDefinitionDMWgetName in interface DmcDefinitionIFgetName in class ContainedElementDMWpublic void setName(Object value) throws DmcValueException
setName in class ContainedElementDMWvalue - A value compatible with DmcTypeDefinitionNameDmcValueException - if the value is incorrectpublic void setName(DefinitionName value)
setName in class ContainedElementDMWvalue - DefinitionNamepublic void remName()
remName in class ContainedElementDMWpublic Section getStartsWith()
public void setStartsWith(Section value)
value - A value compatible with SectionREFpublic void setStartsWith(Object value) throws DmcValueException
value - A value compatible with SectionREFDmcValueException - is the value is incorrectpublic void remStartsWith()
public String getStartsWithText()
public void setStartsWithText(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringDmcValueExceptionpublic void setStartsWithText(String value)
value - Stringpublic void remStartsWithText()
public Boolean isUsesTemplate()
public void setUsesTemplate(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanDmcValueExceptionpublic void setUsesTemplate(Boolean value)
value - Booleanpublic void remUsesTemplate()
public int getValueSize()
public boolean getValueIsEmpty()
public boolean getValueHasValue()
public ValueIterableDMW getValueIterable()
public void addValue(Object value) throws DmcValueException
value - A value compatible with ValueDmcValueException - if value is incorrectpublic void addValue(Value value)
value - A value compatible with Valuepublic boolean valueContains(Value value)
value - A value compatible with Valuepublic ArrayList<Value> getValueCopy()
public void delValue(Object value) throws DmcValueException
value - The Value to be deleted from set of attribute values.DmcValueException - if value is incorrectpublic void delValue(Value value)
value - The Value to be deleted from set of attribute values.public void remValue()
public String getNameOfModuleWhereThisCameFrom()
getNameOfModuleWhereThisCameFrom in class DSDefinitionCopyright © 2023. All rights reserved.