public abstract class RuleDataDMW extends DmwNamedObjectWrapper
core| Modifier | Constructor and Description |
|---|---|
protected |
RuleDataDMW() |
protected |
RuleDataDMW(DmcObject obj) |
protected |
RuleDataDMW(DmcObject obj,
ClassDefinition cd) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDescription(Object value)
Adds another description value.
|
void |
addMsgParam(Object value)
Adds another msgParam value.
|
ClassDefinition |
getApplyToClass()
The class to which a rule should be applied.
|
SchemaDefinition |
getDefinedIn()
Indicates the schema in which a type, attribute or class is defined.
|
Iterator<String> |
getDescription()
The description attribute is used to provide descriptive\n documentation
for schema related definitions.
|
int |
getDescriptionSize() |
Iterator<String> |
getDescriptionWithNewlines() |
RuleDataDMO |
getDMO() |
String |
getFile()
Indicates the file from which a definition was loaded.
|
Boolean |
getImmediateHalt()
The immediateHalt flag is used to indicate that no further\n rule
processing should occur if a rule fails.
|
Integer |
getLineNumber()
Indicates the line number of the file from which a definition was loaded.
|
String |
getMsgKey()
The msgKey may be specified on rule instances to indicate the key to be
used\n to look up translated messages.
|
Iterator<String> |
getMsgParam()
The msgParam allows for the specification of parameters to be
substituted\n into translated messages.
|
int |
getMsgParamSize() |
RuleName |
getObjectName() |
DmcAttribute<?> |
getObjectNameAttribute() |
RuleName |
getRuleName()
The ruleName attribute is used to store a single camelCase format name for
a rule.\n The name starts with a single letter and can be followed by a
mix of letters and numbers.
|
String |
getRuleTitle()
The title of a rule.
|
void |
setApplyToClass(ClassDefinition value)
Sets applyToClass to the specified value.
|
void |
setDefinedIn(SchemaDefinition value)
Sets definedIn to the specified value.
|
void |
setDmcObject(DmcObject obj)
Sets the core object.
|
void |
setFile(Object value)
Sets file to the specified value.
|
void |
setImmediateHalt(Object value)
Sets immediateHalt to the specified value.
|
void |
setLineNumber(Object value)
Sets lineNumber to the specified value.
|
void |
setMsgKey(Object value)
Sets msgKey to the specified value.
|
void |
setRuleName(Object value)
Sets ruleName to the specified value.
|
void |
setRuleTitle(Object value)
Sets ruleTitle to the specified value.
|
addAux, applyModifier, equals, getBackRefs, getConstructionClass, getConstructionClassInfo, getConstructionClassName, getDmcObject, getObjectClass, getReferringObjects, getReferringObjectsViaAttribute, hasAux, isReferenced, referenceCount, removeAux, resolveReferences, resolveReferences, serializeIt, toJSON, toOIF, toOIF, toPersistentOIF, toString, youAreDeletedgetDeleted, getModifier, setDeleted, setModifierclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequalsprotected RuleDataDMW()
protected RuleDataDMW(DmcObject obj)
protected RuleDataDMW(DmcObject obj, ClassDefinition cd)
public void setDmcObject(DmcObject obj)
DmcContainersetDmcObject in interface DmcContainerIFsetDmcObject in class DmwWrapperobj - The core object.public RuleDataDMO getDMO()
public String getRuleTitle()
public void setRuleTitle(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic RuleName getRuleName()
public void setRuleName(Object value) throws DmcValueException
value - A value compatible with DmcTypeRuleNameSVDmcValueException - if the value is incorrectpublic Iterator<String> getDescription()
public void addDescription(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringMVDmcValueException - if the value is incorrectpublic int getDescriptionSize()
public SchemaDefinition getDefinedIn()
public void setDefinedIn(SchemaDefinition value) throws DmcValueException
value - A value compatible with SchemaDefinitionDmcValueException - if the value is incorrectpublic String getFile()
public void setFile(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic Integer getLineNumber()
public void setLineNumber(Object value) throws DmcValueException
value - A value compatible with DmcTypeIntegerSVDmcValueException - if the value is incorrectpublic ClassDefinition getApplyToClass()
public void setApplyToClass(ClassDefinition value) throws DmcValueException
value - A value compatible with ClassDefinitionDmcValueException - if the value is incorrectpublic Boolean getImmediateHalt()
public void setImmediateHalt(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - if the value is incorrectpublic String getMsgKey()
public void setMsgKey(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic Iterator<String> getMsgParam()
public void addMsgParam(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringMVDmcValueException - if the value is incorrectpublic int getMsgParamSize()
public RuleName getObjectName()
public DmcAttribute<?> getObjectNameAttribute()
Copyright © 2023. All rights reserved.