public class TemplateDMO extends DmcObject implements DmcNamedObjectIF, Serializable
\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 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 |
|---|---|
|
TemplateDMO() |
|
TemplateDMO(DmcTypeModifierMV mods) |
protected |
TemplateDMO(String oc) |
| Modifier and Type | Method and Description |
|---|---|
DmcAttribute<?> |
addDescription(Object value)
Adds another description value.
|
DmcAttribute<?> |
addDescription(String value)
Adds another description to the specified value.
|
DmcAttribute<?> |
delDescription(Object value)
Deletes a description value.
|
DmcAttribute<?> |
delDescription(String value)
Deletes a description from the specified value.
|
boolean |
descriptionContains(String 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<String> |
getDescription() |
int |
getDescriptionSize() |
String |
getFile() |
String |
getFormat() |
Integer |
getLineNumber() |
TemplateDMO |
getModificationRecorder() |
DefinitionName |
getName() |
TemplateDMO |
getNew()
Auto-generated derived classes override this to return an empty instance
of themselves.
|
String |
getNthDescription(int i) |
DefinitionName |
getObjectName() |
DmcAttribute<?> |
getObjectNameAttribute() |
TemplateDMO |
getSlice(DmcSliceInfo info)
Auto-generated derived classes override this to return an instance of themselves
with just the specified slice of attributes.
|
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.
|
add, 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 TemplateDMO()
protected TemplateDMO(String oc)
public TemplateDMO(DmcTypeModifierMV mods)
public TemplateDMO getNew()
DmcObjectpublic TemplateDMO getSlice(DmcSliceInfo info)
DmcObjectpublic TemplateDMO getModificationRecorder()
public DefinitionName getObjectName()
getObjectName in interface DmcNamedObjectIFpublic DmcAttribute<?> getObjectNameAttribute()
getObjectNameAttribute in interface DmcNamedObjectIFpublic boolean equals(Object obj)
DmcObjectequals in interface DmcNamedObjectIFequals in class DmcObjectobj - The comparison object.public String getFile()
public void setFile(String value)
value - Stringpublic void setFile(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if value is not correctpublic void remFile()
public Integer getLineNumber()
public void setLineNumber(Integer value)
value - Integerpublic void setLineNumber(Object value) throws DmcValueException
value - A value compatible with DmcTypeIntegerSVDmcValueException - if value is not correctpublic void remLineNumber()
public Boolean isDebugOn()
public void setDebugOn(Boolean value)
value - Booleanpublic void setDebugOn(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - if value is not correctpublic void remDebugOn()
public String getNthDescription(int i)
i - the indexpublic DmcAttribute<?> addDescription(String value)
value - Stringpublic boolean descriptionContains(String value)
value - Stringpublic DmcAttribute<?> addDescription(Object value) throws DmcValueException
value - A value compatible with StringDmcValueException - if value is not correctpublic int getDescriptionSize()
public DmcAttribute<?> delDescription(Object value) throws DmcValueException
value - The String to be deleted from set of attribute values.DmcValueException - if the value is incorrectpublic DmcAttribute<?> delDescription(String value)
value - Stringpublic void remDescription()
public DefinitionName getName()
public void setName(DefinitionName value)
value - DefinitionNamepublic void setName(Object value) throws DmcValueException
value - A value compatible with DmcTypeDefinitionNameSVDmcValueException - if value is not correctpublic void remName()
public String getFormat()
public void setFormat(String value)
value - Stringpublic void setFormat(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if value is not correctpublic void remFormat()
Copyright © 2023. All rights reserved.