public class AttributeDefinitionDMO extends DmsDefinitionDMO implements Serializable, DmcDefinitionIF
__objectClass, attributes| Constructor and Description |
|---|
AttributeDefinitionDMO() |
AttributeDefinitionDMO(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<?> |
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.
|
String |
getAbbrev()
This attribute stores an abbreviated form of the name of an attribute or
class.
|
Iterator<String> |
getComment()
A comment or note associated with the definition of something.
|
DataTypeEnum |
getDataType()
This attribute indicates the persistence characteristics of an attribute
or\n class of object.
|
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() |
Boolean |
getDesignatedFilterAttribute()
The designatedFilterAttribute flag is used to identify the attribute\n
designated as the standard wrapper for filters of a particular type.
|
Boolean |
getDesignatedNameAttribute()
The designatedNameAttribute flag is used to identify the attribute\n
designated as the standard wrapper for names of a particular type.
|
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 |
getGenericArgs()
This attribute indicates the generic arguments to be supplied in the\n use
of a class in an autogenerated Iterable.
|
String |
getGenericArgsImport()
Indicates the import required to support a genericArgs specification i.e.
|
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() |
Integer |
getIndexSize()
The indexSize is used in conjunction with the MULTI valueType to\n
indicate that the attribute may have the specified number of values and is
integer indexed.\n Indexed attributes may be thought of as having a
predetermined number of slots into which\n values may be stored.
|
Boolean |
getInternalUse()
Indicates if an attribute is used and set within the Dark Matter Data\n
code generation mechanisms.
|
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.
|
AttributeDefinitionDMO |
getNew()
Auto-generated derived classes override this to return an empty instance
of themselves.
|
String |
getNullReturnValue()
This attribute is used in TypeDefinitions to indicate the value that
should be returned when\n an attribute of the specified type doesn't exist
in the object.
|
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.
|
String |
getObsoleteVersion()
This indicates the version at which something became obsolete.\n Generally
speaking you shouldn't ever delete definitions for products that have\n
been released to the field, this may break backwards compatibility.
|
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.
|
Boolean |
getPreserveNewlines()
Indicates that newline characters should be preserved when an\n attribute
is parsed by the DmcUncheckedOIFParser.
|
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.
|
Boolean |
getSecure()
This attribute indicates whether or not the attribute should\n be
encrypted before being transported over the wire or stored in a file or\n
repository
|
Iterator<String> |
getSkip()
A version from which something should be excluded (even though it is
included\n in later versions).
|
AttributeDefinitionDMO |
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.
|
TypeDefinitionREF |
getType()
Indicates the type of an attribute.
|
ValueTypeEnum |
getValueType()
This attribute indicates the cardinality and storage mechanism for an\n
attribute.
|
String |
getVersion()
The version at which something was introduced.
|
Boolean |
getWeakReference()
A flag to indicate that a reference attribute is weak i.e.
|
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 |
setAbbrev(Object value)
Sets abbrev to the specified value.
|
void |
setDataType(Object value)
Sets dataType to the specified value.
|
void |
setDefinedIn(Object value)
Sets definedIn to the specified value.
|
void |
setDesignatedFilterAttribute(Object value)
Sets designatedFilterAttribute to the specified value.
|
void |
setDesignatedNameAttribute(Object value)
Sets designatedNameAttribute 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 |
setGenericArgs(Object value)
Sets genericArgs to the specified value.
|
void |
setGenericArgsImport(Object value)
Sets genericArgsImport to the specified value.
|
void |
setHint(Object value)
Sets hint to the specified value.
|
void |
setIndexSize(Object value)
Sets indexSize to the specified value.
|
void |
setInternalUse(Object value)
Sets internalUse 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 |
setNullReturnValue(Object value)
Sets nullReturnValue to the specified value.
|
void |
setObsolete(Object value)
Sets obsolete to the specified value.
|
void |
setObsoleteVersion(Object value)
Sets obsoleteVersion to the specified value.
|
void |
setPreserveNewlines(Object value)
Sets preserveNewlines 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 |
setSecure(Object value)
Sets secure to the specified value.
|
void |
setSortName(Object value)
Sets sortName to the specified value.
|
void |
setType(Object value)
Sets type to the specified value.
|
void |
setValueType(Object value)
Sets valueType to the specified value.
|
void |
setVersion(Object value)
Sets version to the specified value.
|
void |
setWeakReference(Object value)
Sets weakReference 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, 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 AttributeDefinitionDMO()
public AttributeDefinitionDMO(String oc)
public Map<Integer,DmcAttributeInfo> getIdToAttrInfo()
getIdToAttrInfo in class DmsDefinitionDMOpublic Map<String,DmcAttributeInfo> getStringToAttrInfo()
getStringToAttrInfo in class DmsDefinitionDMOpublic AttributeDefinitionDMO getNew()
DmcObjectgetNew in class DmsDefinitionDMOpublic AttributeDefinitionDMO 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 TypeDefinitionREF getType()
public void setType(Object value) throws DmcValueException
value - A value compatible with DmcTypeTypeDefinitionREFSVDmcValueException - if the value is incorrectpublic String getAbbrev()
public void setAbbrev(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 DataTypeEnum getDataType()
getDataType in class DmcObjectpublic void setDataType(Object value) throws DmcValueException
value - A value compatible with DmcTypeDataTypeEnumSVDmcValueException - 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<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 Boolean getDesignatedFilterAttribute()
public void setDesignatedFilterAttribute(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - if the value is incorrectpublic Boolean getDesignatedNameAttribute()
public void setDesignatedNameAttribute(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - if the value is incorrectpublic Integer getDmdID()
public void setDmdID(Object value) throws DmcValueException
value - A value compatible with DmcTypeIntegerSVDmcValueException - 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 getGenericArgs()
public void setGenericArgs(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getGenericArgsImport()
public void setGenericArgsImport(Object value) throws DmcValueException
value - 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 Integer getIndexSize()
public void setIndexSize(Object value) throws DmcValueException
value - A value compatible with DmcTypeIntegerSVDmcValueException - if the value is incorrectpublic Boolean getInternalUse()
public void setInternalUse(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 String getNullReturnValue()
public void setNullReturnValue(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - 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 String getObsoleteVersion()
public void setObsoleteVersion(Object value) throws DmcValueException
value - 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 Boolean getPreserveNewlines()
public void setPreserveNewlines(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - 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 Boolean getSecure()
public void setSecure(Object value) throws DmcValueException
value - 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 ValueTypeEnum getValueType()
public void setValueType(Object value) throws DmcValueException
value - A value compatible with DmcTypeValueTypeEnumSVDmcValueException - 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 Boolean getWeakReference()
public void setWeakReference(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - 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.