public class AttributeDefinitionDMW extends DmsDefinition implements DmcDefinitionIF
metanamecore| Modifier | Constructor and Description |
|---|---|
protected |
AttributeDefinitionDMW() |
protected |
AttributeDefinitionDMW(ClassDefinition cd) |
protected |
AttributeDefinitionDMW(DmcObject obj) |
protected |
AttributeDefinitionDMW(DmcObject obj,
ClassDefinition cd) |
protected |
AttributeDefinitionDMW(String mn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDescription(Object value)
Adds another description value.
|
String |
getAbbrev()
This attribute stores an abbreviated form of the name of an attribute or
class.
|
DataTypeEnum |
getDataType()
This attribute indicates the persistence characteristics of an attribute
or\n class of object.
|
Iterator<String> |
getDescription()
The description attribute is used to provide descriptive\n documentation
for schema related definitions.
|
int |
getDescriptionSize() |
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.
|
AttributeDefinitionDMO |
getDMO() |
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.
|
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.
|
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.
|
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.
|
DefinitionName |
getObjectName() |
DmcAttribute<?> |
getObjectNameAttribute() |
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.
|
Boolean |
getPreserveNewlines()
Indicates that newline characters should be preserved when an\n attribute
is parsed by the DmcUncheckedOIFParser.
|
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
|
TypeDefinition |
getType()
Indicates the type of an attribute.
|
ValueTypeEnum |
getValueType()
This attribute indicates the cardinality and storage mechanism for an\n
attribute.
|
Boolean |
getWeakReference()
A flag to indicate that a reference attribute is weak i.e.
|
void |
setAbbrev(Object value)
Sets abbrev to the specified value.
|
void |
setDataType(Object value)
Sets dataType 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 |
setDmcObject(DmcObject obj)
Sets the core object.
|
void |
setDmdID(Object value)
Sets dmdID 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 |
setIndexSize(Object value)
Sets indexSize to the specified value.
|
void |
setInternalUse(Object value)
Sets internalUse 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 |
setObsoleteVersion(Object value)
Sets obsoleteVersion to the specified value.
|
void |
setPreserveNewlines(Object value)
Sets preserveNewlines to the specified value.
|
void |
setSecure(Object value)
Sets secure to the specified value.
|
void |
setType(TypeDefinition value)
Sets type to the specified value.
|
void |
setValueType(Object value)
Sets valueType to the specified value.
|
void |
setWeakReference(Object value)
Sets weakReference to the specified value.
|
getDmcObjectaddRelatedToConcept, getRelatedToConcept, getRelatedToConceptSizeequals, getFullDotName, getNameOfModuleWhereThisCameFromaddComment, addExample, addNvp, addOptimize, addQuestion, addSkip, addTags, getComment, getCommentSize, getDefinedIn, getDmoFromModule, getDotName, getExample, getExampleSize, getFile, getHint, getLineNumber, getNvp, getNvpSize, getObsolete, getOptimize, getOptimizeSize, getQuestion, getQuestionSize, getRelationship, getSearchable, getSkip, getSkipSize, getSortName, getTags, getTagsSize, getVersion, getWhy, setDefinedIn, setDmoFromModule, setDotName, setFile, setHint, setLineNumber, setObsolete, setRelationship, setSearchable, setSortName, setVersion, setWhyaddAux, applyModifier, equals, getBackRefs, getConstructionClass, getConstructionClassInfo, getConstructionClassName, getObjectClass, getReferringObjects, getReferringObjectsViaAttribute, hasAux, isReferenced, referenceCount, removeAux, resolveReferences, resolveReferences, serializeIt, toJSON, toOIF, toOIF, toPersistentOIF, toString, youAreDeletedgetDeleted, getModifier, setDeleted, setModifierclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDefinedIn, getDotName, toOIFequalsprotected AttributeDefinitionDMW()
protected AttributeDefinitionDMW(DmcObject obj)
protected AttributeDefinitionDMW(DmcObject obj, ClassDefinition cd)
protected AttributeDefinitionDMW(ClassDefinition cd)
protected AttributeDefinitionDMW(String mn) throws DmcValueException
DmcValueExceptionpublic void setDmcObject(DmcObject obj)
DmcContainersetDmcObject in interface DmcContainerIFsetDmcObject in class DmsDefinitionobj - The core object.public AttributeDefinitionDMO getDMO()
getDMO in class DmsDefinitionDMWpublic DefinitionName getName()
getName in interface DmcDefinitionIFgetName in class DmsDefinitionDMWpublic void setName(Object value) throws DmcValueException
setName in class DmsDefinitionDMWvalue - A value compatible with DmcTypeDefinitionNameSVDmcValueException - if the value is incorrectpublic TypeDefinition getType()
public void setType(TypeDefinition value) throws DmcValueException
value - A value compatible with TypeDefinitionDmcValueException - if the value is incorrectpublic Iterator<String> getDescription()
getDescription in class DSDefinitionDMWpublic Iterator<String> getDescriptionWithNewlines()
getDescriptionWithNewlines in class DSDefinitionDMWpublic void addDescription(Object value) throws DmcValueException
addDescription in class DSDefinitionDMWvalue - A value compatible with DmcTypeStringMVDmcValueException - if the value is incorrectpublic int getDescriptionSize()
getDescriptionSize in class DSDefinitionDMWpublic ValueTypeEnum getValueType()
public void setValueType(Object value) throws DmcValueException
value - A value compatible with DmcTypeValueTypeEnumSVDmcValueException - 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 String getAbbrev()
public void setAbbrev(Object value) throws DmcValueException
value - 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 Boolean getSecure()
public void setSecure(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - if the value is incorrectpublic DataTypeEnum getDataType()
public void setDataType(Object value) throws DmcValueException
value - A value compatible with DmcTypeDataTypeEnumSVDmcValueException - 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 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 Boolean getDesignatedNameAttribute()
public void setDesignatedNameAttribute(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - 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 getInternalUse()
public void setInternalUse(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - 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 getPreserveNewlines()
public void setPreserveNewlines(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - 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 DefinitionName getObjectName()
getObjectName in interface DmcNamedObjectIFgetObjectName in class DmsDefinitionpublic DmcAttribute<?> getObjectNameAttribute()
getObjectNameAttribute in interface DmcNamedObjectIFgetObjectNameAttribute in class DmsDefinitionDMWCopyright © 2023. All rights reserved.