public class TemplateDMW extends DmwNamedObjectWrapper implements DmcNamedObjectIF
\n By convention, the Template associated with a Section has the same name as the Section. For example:\n
\n Section\n name Header\n\n would have a template as follows:\n
\n Template\n name Header\n\n Templates are kept separate from the Section definitions so that their content can be\n changed without regenerating code. Templates are loaded using the generated TemplateParser\n for a given TdlModule.
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 |
|---|---|
|
TemplateDMW() |
|
TemplateDMW(DmcTypeModifierMV mods) |
|
TemplateDMW(TemplateDMO obj) |
protected |
TemplateDMW(TemplateDMO obj,
ClassDefinition cd) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDescription(Object value)
Adds another description value.
|
void |
addDescription(String value)
Adds another description value.
|
Template |
cloneIt() |
void |
delDescription(Object value)
Deletes a description value.
|
void |
delDescription(String value)
Deletes a description value.
|
boolean |
descriptionContains(String 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<String> |
getDescriptionCopy() |
boolean |
getDescriptionHasValue() |
boolean |
getDescriptionIsEmpty() |
StringIterableDMW |
getDescriptionIterable() |
int |
getDescriptionSize() |
TemplateDMO |
getDMO() |
String |
getFile() |
String |
getFormat() |
Integer |
getLineNumber() |
Template |
getModificationRecorder() |
DefinitionName |
getName() |
DefinitionName |
getObjectName() |
DmcAttribute<?> |
getObjectNameAttribute() |
int |
hashCode() |
Boolean |
isDebugOn() |
void |
remDebugOn()
Removes the debugOn attribute value.
|
void |
remDescription()
Removes the description attribute value.
|
void |
remFile()
Removes the file attribute value.
|
void |
remFormat()
Removes the format attribute value.
|
void |
remLineNumber()
Removes the lineNumber attribute value.
|
void |
remName()
Removes the name attribute value.
|
void |
setDebugOn(Boolean value)
Sets debugOn to the specified value.
|
void |
setDebugOn(Object value)
Sets debugOn to the specified value.
|
void |
setFile(Object value)
Sets file to the specified value.
|
void |
setFile(String value)
Sets file to the specified value.
|
void |
setFormat(Object value)
Sets format to the specified value.
|
void |
setFormat(String value)
Sets format to the specified value.
|
void |
setLineNumber(Integer value)
Sets lineNumber to the specified value.
|
void |
setLineNumber(Object value)
Sets lineNumber to the specified value.
|
void |
setName(DefinitionName value)
Sets name to the specified value.
|
void |
setName(Object value)
Sets name to the specified value.
|
addAux, applyModifier, getBackRefs, getConstructionClass, getConstructionClassInfo, getConstructionClassName, getDmcObject, getObjectClass, getReferringObjects, getReferringObjectsViaAttribute, hasAux, isReferenced, referenceCount, removeAux, resolveReferences, resolveReferences, serializeIt, setDmcObject, toJSON, toOIF, toOIF, toPersistentOIF, toString, youAreDeletedgetDeleted, getModifier, setDeleted, setModifierpublic TemplateDMW()
public TemplateDMW(DmcTypeModifierMV mods)
public TemplateDMW(TemplateDMO obj)
protected TemplateDMW(TemplateDMO obj, ClassDefinition cd)
public Template getModificationRecorder()
public Template cloneIt()
public TemplateDMO getDMO()
public DefinitionName getObjectName()
getObjectName in interface DmcNamedObjectIFpublic DmcAttribute<?> getObjectNameAttribute()
getObjectNameAttribute in interface DmcNamedObjectIFpublic boolean equals(Object obj)
DmcNamedObjectIFequals in interface DmcNamedObjectIFequals in class DmwWrapperobj - The comparison object.public Boolean isDebugOn()
public void setDebugOn(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanDmcValueExceptionpublic void setDebugOn(Boolean value)
value - Booleanpublic void remDebugOn()
public int getDescriptionSize()
public boolean getDescriptionIsEmpty()
public boolean getDescriptionHasValue()
public StringIterableDMW getDescriptionIterable()
public void addDescription(Object value) throws DmcValueException
value - A value compatible with StringDmcValueException - if value is incorrectpublic void addDescription(String value)
value - A value compatible with Stringpublic boolean descriptionContains(String value)
value - A value compatible with Stringpublic ArrayList<String> getDescriptionCopy()
public void delDescription(Object value) throws DmcValueException
value - The String to be deleted from set of attribute values.DmcValueException - if value is incorrectpublic void delDescription(String value)
value - The String to be deleted from set of attribute values.public void remDescription()
public String getFile()
public void setFile(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringDmcValueExceptionpublic void setFile(String value)
value - Stringpublic void remFile()
public String getFormat()
public void setFormat(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringDmcValueExceptionpublic void setFormat(String value)
value - Stringpublic void remFormat()
public Integer getLineNumber()
public void setLineNumber(Object value) throws DmcValueException
value - A value compatible with DmcTypeIntegerDmcValueExceptionpublic void setLineNumber(Integer value)
value - Integerpublic void remLineNumber()
public DefinitionName getName()
public void setName(Object value) throws DmcValueException
value - A value compatible with DmcTypeDefinitionNameDmcValueExceptionpublic void setName(DefinitionName value)
value - DefinitionNamepublic void remName()
Copyright © 2023. All rights reserved.