public class RuleDefinitionDMO extends DmsDefinitionDMO implements Serializable, DmcDefinitionIF
\n RuleDefinitions will result in the generation of ClassDefinitions that define the \n DMOs that will carry the parameters associated with the rule and the expectation\n that you will define an implementation class for the rule that derives from\n an abstract BaseImpl (base implementation) of the rule that provides common\n rule infrastructure and appropriate abstract methods that must be filled in.\n
\n RuleDefinitions and ClassDefinitions share the same dmdID space and the IDs must\n be unique. This is because each RuleDefinition results in the creation of a \n ClassDefinition for the DMO part of the rule that carries the rule parameters.
__objectClass, attributes| Constructor and Description |
|---|
RuleDefinitionDMO() |
RuleDefinitionDMO(String oc) |
| Modifier and Type | Method and Description |
|---|---|
DmcAttribute<?> |
addComment(Object value)
Adds another comment value.
|
DmcAttribute<?> |
addDescription(Object value)
Adds another description value.
|
DmcAttribute<?> |
addExample(Object value)
Adds another example value.
|
DmcAttribute<?> |
addMay(Object value)
Adds another may value.
|
DmcAttribute<?> |
addMust(Object value)
Adds another must value.
|
DmcAttribute<?> |
addNvp(Object value)
Adds another nvp value.
|
DmcAttribute<?> |
addOptimize(Object value)
Adds another optimize value.
|
DmcAttribute<?> |
addQuestion(Object value)
Adds another question value.
|
DmcAttribute<?> |
addRelatedToConcept(Object value)
Adds another relatedToConcept value.
|
DmcAttribute<?> |
addRuleCategory(Object value)
Adds another ruleCategory value.
|
DmcAttribute<?> |
addSkip(Object value)
Adds another skip value.
|
DmcAttribute<?> |
addTags(Object value)
Adds another tags value.
|
Iterator<String> |
getComment()
A comment or note associated with the definition of something.
|
SchemaDefinitionREF |
getDefinedIn()
Indicates the schema in which a type, attribute or class is defined.
|
DependencyREF |
getDependency()
A reference to a single Dependency.
|
Iterator<String> |
getDescription()
The description attribute is used to provide descriptive\n documentation
for schema related definitions.
|
Iterator<String> |
getDescriptionWithNewlines() |
Integer |
getDmdID()
The dmdID attribute is used to store a unique Dark Matter Definition ID
for attributes.\n This is used as part of the serialization mechanisms
built into Dark Matter Objects.
|
String |
getDmoFromModule()
A bit of a hack to allow for creation of fully qualified dot names\n in
the DMODefinitionSet that's used for caching definitions in GWT.
|
DotName |
getDotName()
The dotName attribute is used to store dot separated names.
|
Iterator<Example> |
getExample()
The example attribute is used to provide additional\n examples of how some
defined thing is to be used.
|
String |
getFile()
Indicates the file from which a definition was loaded.
|
String |
getHint()
A short description of something that can be dumped as one line summary of
something.\n For longer explanations, use the description attribute.
|
Map<Integer,DmcAttributeInfo> |
getIdToAttrInfo() |
Boolean |
getIsExtensible()
Indicates whether or not the ClassDefinition associated with a
RuleDefinition has classType EXTENSIBLE\n or not.
|
Integer |
getLineNumber()
Indicates the line number of the file from which a definition was loaded.
|
Iterator<AttributeDefinitionREF> |
getMay()
Indicates the set of attributes that an instance of a class MAY\n have.
|
Iterator<AttributeDefinitionREF> |
getMust()
Indicates the set of attributes that an instance of a class MUST have.
|
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.
|
RuleDefinitionDMO |
getNew()
Auto-generated derived classes override this to return an empty instance
of themselves.
|
Iterator<NameValuePair> |
getNvp()
A set of additional name value pairs that can be associated with an
object.
|
DefinitionName |
getObjectName() |
DmcAttribute<?> |
getObjectNameAttribute() |
String |
getObsolete()
The version at which something became obsolete.
|
Iterator<String> |
getOptimize()
Depending on what you're modelling, you often come across\n places where
you can see an opportunity to optimize, streamline or improve something
e.g.
|
Iterator<String> |
getQuestion()
A question associated with the definition of something.
|
Iterator<ConcinnityREF> |
getRelatedToConcept()
Allows for references to base concepts that relate this\n definition to
another definition in the Concinnity domain.
|
String |
getRelationship()
The name of the relationship established via a reference to some other
named object.\n
|
Iterator<RuleCategoryREF> |
getRuleCategory()
The category of a rule.
|
Boolean |
getSearchable()
Indicates if something is searchable.
|
Iterator<String> |
getSkip()
A version from which something should be excluded (even though it is
included\n in later versions).
|
RuleDefinitionDMO |
getSlice(DmcSliceInfo info)
Auto-generated derived classes override this to return an instance of themselves
with just the specified slice of attributes.
|
DotName |
getSortName()
The sortName is used in siutations where we need a name\n for storage of a
definition that is globally unique but can be sorted on the basis\n of the
definition name, not the module name.
|
Map<String,DmcAttributeInfo> |
getStringToAttrInfo() |
Iterator<String> |
getTags()
A collection of tags that can facilitate searching for\n definitions.
|
String |
getVersion()
The version at which something was introduced.
|
ConcinnityREF |
getWhy()
An indication of why something was added to a specification or a system.\n
This might be a reference to a requirement or feature concept.
|
void |
setDefinedIn(Object value)
Sets definedIn to the specified value.
|
void |
setDependency(Object value)
Sets dependency to the specified value.
|
void |
setDmdID(Object value)
Sets dmdID to the specified value.
|
void |
setDmoFromModule(Object value)
Sets dmoFromModule to the specified value.
|
void |
setDotName(Object value)
Sets dotName to the specified value.
|
void |
setFile(Object value)
Sets file to the specified value.
|
void |
setHint(Object value)
Sets hint to the specified value.
|
void |
setIsExtensible(Object value)
Sets isExtensible to the specified value.
|
void |
setLineNumber(Object value)
Sets lineNumber to the specified value.
|
void |
setName(Object value)
Sets name to the specified value.
|
void |
setObsolete(Object value)
Sets obsolete to the specified value.
|
void |
setRelationship(Object value)
Sets relationship to the specified value.
|
void |
setSearchable(Object value)
Sets searchable to the specified value.
|
void |
setSortName(Object value)
Sets sortName to the specified value.
|
void |
setVersion(Object value)
Sets version to the specified value.
|
void |
setWhy(Object value)
Sets why 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, waittoOIFequalspublic RuleDefinitionDMO()
public RuleDefinitionDMO(String oc)
public Map<Integer,DmcAttributeInfo> getIdToAttrInfo()
getIdToAttrInfo in class DmsDefinitionDMOpublic Map<String,DmcAttributeInfo> getStringToAttrInfo()
getStringToAttrInfo in class DmsDefinitionDMOpublic RuleDefinitionDMO getNew()
DmcObjectgetNew in class DmsDefinitionDMOpublic RuleDefinitionDMO getSlice(DmcSliceInfo info)
DmcObjectgetSlice in class DmsDefinitionDMOinfo - the slice infopublic Integer getDmdID()
public void setDmdID(Object value) throws DmcValueException
value - A value compatible with DmcTypeIntegerSVDmcValueException - if the value is incorrectpublic DefinitionName getName()
getName in interface DmcDefinitionIFgetName in class DmsDefinitionDMOpublic void setName(Object value) throws DmcValueException
setName in class DmsDefinitionDMOvalue - A value compatible with DmcTypeDefinitionNameSVDmcValueException - if the value is incorrectpublic Iterator<RuleCategoryREF> getRuleCategory()
public DmcAttribute<?> addRuleCategory(Object value) throws DmcValueException
value - A value compatible with DmcTypeRuleCategoryREFMVDmcValueException - if the value is incorrectpublic Iterator<String> getComment()
getComment in class DmsDefinitionDMOpublic DmcAttribute<?> addComment(Object value) throws DmcValueException
addComment in class DmsDefinitionDMOvalue - A value compatible with DmcTypeStringMVDmcValueException - if the value is incorrectpublic SchemaDefinitionREF getDefinedIn()
getDefinedIn in interface DmcDefinitionIFgetDefinedIn in class DmsDefinitionDMOpublic void setDefinedIn(Object value) throws DmcValueException
setDefinedIn in class DmsDefinitionDMOvalue - A value compatible with DmcTypeSchemaDefinitionREFSVDmcValueException - if the value is incorrectpublic DependencyREF getDependency()
public void setDependency(Object value) throws DmcValueException
value - A value compatible with DmcTypeDependencyREFSVDmcValueException - if the value is incorrectpublic Iterator<String> getDescription()
getDescription in class DmsDefinitionDMOpublic Iterator<String> getDescriptionWithNewlines()
getDescriptionWithNewlines in class DmsDefinitionDMOpublic DmcAttribute<?> addDescription(Object value) throws DmcValueException
addDescription in class DmsDefinitionDMOvalue - A value compatible with DmcTypeStringMVDmcValueException - if the value is incorrectpublic String getDmoFromModule()
getDmoFromModule in class DmsDefinitionDMOpublic void setDmoFromModule(Object value) throws DmcValueException
setDmoFromModule in class DmsDefinitionDMOvalue - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic DotName getDotName()
getDotName in interface DmcDefinitionIFgetDotName in class DmsDefinitionDMOpublic void setDotName(Object value) throws DmcValueException
setDotName in class DmsDefinitionDMOvalue - A value compatible with DmcTypeDotNameSVDmcValueException - if the value is incorrectpublic Iterator<Example> getExample()
getExample in class DmsDefinitionDMOpublic DmcAttribute<?> addExample(Object value) throws DmcValueException
addExample in class DmsDefinitionDMOvalue - A value compatible with DmcTypeExampleMVDmcValueException - if the value is incorrectpublic String getFile()
getFile in class DmsDefinitionDMOpublic void setFile(Object value) throws DmcValueException
setFile in class DmsDefinitionDMOvalue - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getHint()
getHint in class DmsDefinitionDMOpublic void setHint(Object value) throws DmcValueException
setHint in class DmsDefinitionDMOvalue - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic Boolean getIsExtensible()
public void setIsExtensible(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - if the value is incorrectpublic Integer getLineNumber()
getLineNumber in class DmsDefinitionDMOpublic void setLineNumber(Object value) throws DmcValueException
setLineNumber in class DmsDefinitionDMOvalue - A value compatible with DmcTypeIntegerSVDmcValueException - if the value is incorrectpublic Iterator<AttributeDefinitionREF> getMay()
public DmcAttribute<?> addMay(Object value) throws DmcValueException
value - A value compatible with DmcTypeAttributeDefinitionREFMVDmcValueException - if the value is incorrectpublic Iterator<AttributeDefinitionREF> getMust()
public DmcAttribute<?> addMust(Object value) throws DmcValueException
value - A value compatible with DmcTypeAttributeDefinitionREFMVDmcValueException - if the value is incorrectpublic Iterator<NameValuePair> getNvp()
getNvp in class DmsDefinitionDMOpublic DmcAttribute<?> addNvp(Object value) throws DmcValueException
addNvp in class DmsDefinitionDMOvalue - A value compatible with DmcTypeNameValuePairMVDmcValueException - if the value is incorrectpublic String getObsolete()
getObsolete in class DmsDefinitionDMOpublic void setObsolete(Object value) throws DmcValueException
setObsolete in class DmsDefinitionDMOvalue - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic Iterator<String> getOptimize()
\n Any dark-matter definition can be decorated with optimize notes. These notes provide
getOptimize in class DmsDefinitionDMOpublic DmcAttribute<?> addOptimize(Object value) throws DmcValueException
addOptimize in class DmsDefinitionDMOvalue - A value compatible with DmcTypeStringMVDmcValueException - if the value is incorrectpublic Iterator<String> getQuestion()
getQuestion in class DmsDefinitionDMOpublic DmcAttribute<?> addQuestion(Object value) throws DmcValueException
addQuestion in class DmsDefinitionDMOvalue - A value compatible with DmcTypeStringMVDmcValueException - if the value is incorrectpublic Iterator<ConcinnityREF> getRelatedToConcept()
getRelatedToConcept in class DmsDefinitionDMOpublic DmcAttribute<?> addRelatedToConcept(Object value) throws DmcValueException
addRelatedToConcept in class DmsDefinitionDMOvalue - A value compatible with DmcTypeConcinnityREFMVDmcValueException - if the value is incorrectpublic String getRelationship()
\n This is a minor hack to allow creation of named relationships in graph databases. Eventually, relationships\n will become first class objects to which you can refer.
getRelationship in class DmsDefinitionDMOpublic void setRelationship(Object value) throws DmcValueException
setRelationship in class DmsDefinitionDMOvalue - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic Boolean getSearchable()
getSearchable in class DmsDefinitionDMOpublic void setSearchable(Object value) throws DmcValueException
setSearchable in class DmsDefinitionDMOvalue - A value compatible with DmcTypeBooleanSVDmcValueException - if the value is incorrectpublic Iterator<String> getSkip()
getSkip in class DmsDefinitionDMOpublic DmcAttribute<?> addSkip(Object value) throws DmcValueException
addSkip in class DmsDefinitionDMOvalue - A value compatible with DmcTypeStringMVDmcValueException - if the value is incorrectpublic DotName getSortName()
getSortName in class DmsDefinitionDMOpublic void setSortName(Object value) throws DmcValueException
setSortName in class DmsDefinitionDMOvalue - A value compatible with DmcTypeDotNameSVDmcValueException - if the value is incorrectpublic Iterator<String> getTags()
getTags in class DmsDefinitionDMOpublic DmcAttribute<?> addTags(Object value) throws DmcValueException
addTags in class DmsDefinitionDMOvalue - A value compatible with DmcTypeStringMVDmcValueException - if the value is incorrectpublic String getVersion()
getVersion in class DmsDefinitionDMOpublic void setVersion(Object value) throws DmcValueException
setVersion in class DmsDefinitionDMOvalue - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic ConcinnityREF getWhy()
getWhy in class DmsDefinitionDMOpublic void setWhy(Object value) throws DmcValueException
setWhy in class DmsDefinitionDMOvalue - A value compatible with DmcTypeConcinnityREFSVDmcValueException - if the value is incorrectpublic DefinitionName getObjectName()
getObjectName in interface DmcNamedObjectIFgetObjectName in class DmsDefinitionDMOpublic DmcAttribute<?> getObjectNameAttribute()
getObjectNameAttribute in interface DmcNamedObjectIFgetObjectNameAttribute in class DmsDefinitionDMOCopyright © 2023. All rights reserved.