public class RuleDataDMO extends DmcObject implements DmcNamedObjectIF, Serializable
__objectClass, attributes| Constructor and Description |
|---|
RuleDataDMO() |
RuleDataDMO(String oc) |
| Modifier and Type | Method and Description |
|---|---|
DmcAttribute<?> |
addDescription(Object value)
Adds another description value.
|
DmcAttribute<?> |
addMsgParam(Object value)
Adds another msgParam value.
|
ClassDefinitionREF |
getApplyToClass()
The class to which a rule should be applied.
|
SchemaDefinitionREF |
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.
|
Iterator<String> |
getDescriptionWithNewlines() |
String |
getFile()
Indicates the file from which a definition was loaded.
|
Map<Integer,DmcAttributeInfo> |
getIdToAttrInfo() |
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.
|
RuleDataDMO |
getNew()
Auto-generated derived classes override this to return an empty instance
of themselves.
|
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.
|
RuleDataDMO |
getSlice(DmcSliceInfo info)
Auto-generated derived classes override this to return an instance of themselves
with just the specified slice of attributes.
|
Map<String,DmcAttributeInfo> |
getStringToAttrInfo() |
void |
setApplyToClass(Object value)
Sets applyToClass to the specified value.
|
void |
setDefinedIn(Object value)
Sets definedIn to the specified value.
|
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.
|
add, add, addAux, addAux, addBackref, allowsAttribute, applyModifier, clearReferenceInfo, cloneIt, del, del, delFromEmptyAttribute, deserializeIt, equals, 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, youAreDeletedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequalspublic RuleDataDMO()
public RuleDataDMO(String oc)
public Map<Integer,DmcAttributeInfo> getIdToAttrInfo()
public Map<String,DmcAttributeInfo> getStringToAttrInfo()
public RuleDataDMO getNew()
DmcObjectpublic RuleDataDMO getSlice(DmcSliceInfo info)
DmcObjectpublic RuleName getRuleName()
public void setRuleName(Object value) throws DmcValueException
value - A value compatible with DmcTypeRuleNameSVDmcValueException - if the value is incorrectpublic String getRuleTitle()
public void setRuleTitle(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic ClassDefinitionREF getApplyToClass()
public void setApplyToClass(Object value) throws DmcValueException
value - A value compatible with DmcTypeClassDefinitionREFSVDmcValueException - if the value is incorrectpublic SchemaDefinitionREF getDefinedIn()
public void setDefinedIn(Object value) throws DmcValueException
value - A value compatible with DmcTypeSchemaDefinitionREFSVDmcValueException - if the value is incorrectpublic Iterator<String> getDescription()
public DmcAttribute<?> addDescription(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringMVDmcValueException - 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 Boolean getImmediateHalt()
public void setImmediateHalt(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - 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 String getMsgKey()
public void setMsgKey(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic Iterator<String> getMsgParam()
public DmcAttribute<?> addMsgParam(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringMVDmcValueException - if the value is incorrectpublic RuleName getObjectName()
getObjectName in interface DmcNamedObjectIFpublic DmcAttribute<?> getObjectNameAttribute()
getObjectNameAttribute in interface DmcNamedObjectIFCopyright © 2023. All rights reserved.