public class DependencyDMO extends DmsDefinitionDMO implements Serializable, DmcDefinitionIF
\n A Dependency can be referred to via a RunContext definition which directs the generation\n of code that can instantiate the required object instances. Satisfying a Dependency relies\n on there being a DependencyImplementation that indicates how to instantiate the object\n that implements the interface defined by the dependency.\n
\n If a Dependency specifies an instantiation, this is considered the default mechanism to\n fulfill the dependency. Other DependencyImplementations may be specified that override\n the specified instantiation in particular contexts.
__objectClass, attributes| Constructor and Description |
|---|
DependencyDMO() |
DependencyDMO(String oc) |
| Modifier and Type | Method and Description |
|---|---|
DmcAttribute<?> |
addComment(Object value)
Adds another comment value.
|
DmcAttribute<?> |
addDependencies(Object value)
Adds another dependencies value.
|
DmcAttribute<?> |
addDescription(Object value)
Adds another description value.
|
DmcAttribute<?> |
addExample(Object value)
Adds another example 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<?> |
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.
|
Iterator<DependencyREF> |
getDependencies()
A set of references to Dependencies.
|
Iterator<String> |
getDescription()
The description attribute is used to provide descriptive\n documentation
for schema related definitions.
|
Iterator<String> |
getDescriptionWithNewlines() |
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() |
String |
getInstantiation()
The instantiation attribute specifies how something is to be instantiated.
|
Integer |
getLineNumber()
Indicates the line number of the file from which a definition was loaded.
|
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.
|
DependencyDMO |
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
|
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).
|
DependencyDMO |
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 |
getUseInterface()
The fully qualified name of a Java interface or base class that specifies
a dependency.
|
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 |
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 |
setInstantiation(Object value)
Sets instantiation 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 |
setUseInterface(Object value)
Sets useInterface 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoOIFequalspublic DependencyDMO()
public DependencyDMO(String oc)
public Map<Integer,DmcAttributeInfo> getIdToAttrInfo()
getIdToAttrInfo in class DmsDefinitionDMOpublic Map<String,DmcAttributeInfo> getStringToAttrInfo()
getStringToAttrInfo in class DmsDefinitionDMOpublic DependencyDMO getNew()
DmcObjectgetNew in class DmsDefinitionDMOpublic DependencyDMO getSlice(DmcSliceInfo info)
DmcObjectgetSlice in class DmsDefinitionDMOinfo - the slice infopublic 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 String getUseInterface()
public void setUseInterface(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - 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 Iterator<DependencyREF> getDependencies()
public DmcAttribute<?> addDependencies(Object value) throws DmcValueException
value - A value compatible with DmcTypeDependencyREFMVDmcValueException - 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 String getInstantiation()
public void setInstantiation(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - 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<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.