public class ClassDefinitionDMW extends DmsDefinition implements DmcDefinitionIF
metanamecore| Modifier | Constructor and Description |
|---|---|
protected |
ClassDefinitionDMW() |
protected |
ClassDefinitionDMW(ClassDefinition cd) |
protected |
ClassDefinitionDMW(DmcObject obj) |
protected |
ClassDefinitionDMW(DmcObject obj,
ClassDefinition cd) |
protected |
ClassDefinitionDMW(String mn) |
| Modifier and Type | Method and Description |
|---|---|
DmcAttribute<?> |
addActions(ActionDefinition value)
Adds another actions value.
|
DmcAttribute<?> |
addAllowedParents(ClassDefinition value)
Adds another allowedParents value.
|
DmcAttribute<?> |
addDerivedClasses(ClassDefinition value)
Adds another derivedClasses value.
|
void |
addDescription(Object value)
Adds another description value.
|
void |
addDmwWrapperType(Object value)
Adds another dmwWrapperType value.
|
void |
addExcludeFromContext(Object value)
Adds another excludeFromContext value.
|
DmcAttribute<?> |
addIntendedToExtend(ClassDefinition value)
Adds another intendedToExtend value.
|
DmcAttribute<?> |
addMay(AttributeDefinition value)
Adds another may value.
|
DmcAttribute<?> |
addMust(AttributeDefinition value)
Adds another must value.
|
void |
addUsesWrapperInterface(Object value)
Adds another usesWrapperInterface value.
|
String |
getAbbrev()
This attribute stores an abbreviated form of the name of an attribute or
class.
|
ActionDefinitionIterableDMW |
getActions()
Indicates the set of actions that are supported by a class of objects.
|
int |
getActionsSize() |
ClassDefinitionIterableDMW |
getAllowedParents()
Indicates the classes of object that may be parents of the\n current class
when objects are created in an instance hierarchy.
|
int |
getAllowedParentsSize() |
ClassTypeEnum |
getClassType()
This attribute indicates the type of a class definition.
|
Boolean |
getCreateIndex()
A flag to indicate if you want your data repository to create an index for
a named object.
|
DataTypeEnum |
getDataType()
This attribute indicates the persistence characteristics of an attribute
or\n class of object.
|
ClassDefinitionIterableDMW |
getDerivedClasses()
Indicates the classes that are known to be derived from a class.
|
int |
getDerivedClassesSize() |
ClassDefinition |
getDerivedFrom()
Indicates the abstract or structural class from which this class is
derived.
|
Iterator<String> |
getDescription()
The description attribute is used to provide descriptive\n documentation
for schema related definitions.
|
int |
getDescriptionSize() |
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 |
getDmeClass()
This attribute indicates just the Dark Matter Extended (DME) class name.
|
String |
getDmeImport()
This attribute indicates the full name of the class that extends a DMW
class.\n Dark Matter Extended (DME).
|
ClassDefinitionDMO |
getDMO() |
String |
getDmoAuxClass()
This attribute indicates just the DMO class name e.g.
|
String |
getDmoAuxClassImport()
This attribute indicates the full name of the MyClassAUXDMO class
|
String |
getDmoClass()
This attribute indicates just the DMO class name e.g.
|
String |
getDmoImport()
This attribute indicates the full name of the generated Dark Matter Object
(DMO)\n class (including package) that is generated for this class.
|
String |
getDmtClass()
This attribute indicates just the DmcType class name.
|
String |
getDmtImport()
This attribute indicates the full name of the DmcType class used to
reference\n a class.
|
String |
getDmtREFImport()
This attribute indicates the full name of the class used to reference\n a
class.
|
String |
getDmwAuxClass()
This attribute indicates just the DMO class name e.g.
|
String |
getDmwAuxClassImport()
This attribute indicates the full name of the MyClassAUX class
|
String |
getDmwClass()
This attribute indicates just the DMW class name, eg MyClassDMW
|
String |
getDmwImport()
This attribute indicates the full name of the generated Dark Matter
Wrapper (DMW)\n class (including package) that is wrapped by this class.
|
String |
getDmwIteratorClass()
This attribute indicates just the DmcContainerIterator name for a\n class
of object.
|
String |
getDmwIteratorImport()
This attribute indicates the full name of the DmcContainerIterator \n
derived class that allows us to iterate over a set of object references
and get back\n the DMW wrapper object instead of the DMO.
|
Iterator<DmwTypeToWrapperType> |
getDmwWrapperType()
The dmwWrapperType is used to indicate whether or not you want extended
wrappers\n when the wrappers are generated for an object in a particular
generation context.
|
int |
getDmwWrapperTypeSize() |
DSDefinitionModule |
getDsdModuleDefinition()
The DSDefinitionModule that resulted in the creation of an\n internally
generated ClassDefinition.
|
Iterator<String> |
getExcludeFromContext()
The excludeFromContext attribute is used to indicate that\n a class of
object (and all of its derivatives) should be excluded from the wrapper\n
generation for the specified context.
|
int |
getExcludeFromContextSize() |
ClassDefinitionIterableDMW |
getIntendedToExtend()
This attribute can be used on AUXILIARY classes to give a hint about
their\n intended usage.
|
int |
getIntendedToExtendSize() |
Boolean |
getInternallyGenerated()
This flag indicates if the associated definition was internally
generated.\n This is the case for TypeDefinitions generated for
ClassDefinitions and EnumDefinitions\n that allow for references to these
objects.
|
TypeDefinition |
getInternalTypeRef()
Indicates the internal type that's generated for all ClassDefinitions.
|
Boolean |
getIsDSDefinition()
Indicates if the class defined by a ClassDefinition and its derivatives
are part\n of a domain specific set of definitions.
|
AttributeDefinition |
getIsNamedBy()
Indicates the attribute by which an object of some class is named.\n When
this attribute is supplied in a ClassDefinition, the generated DMO class
will\n indicate that it implements the DmcNamedObjectIF and its
getObjectName() method\n will return the value of the isNamedBy attribute.
|
String |
getJavaClass()
This attribute indicates the full name of the class (including package)\n
that should be instantiated when an instance of an object is created via
the\n DmdClassDef.newInstance() function.
|
AttributeDefinitionIterableDMW |
getMay()
Indicates the set of attributes that an instance of a class MAY\n have.
|
int |
getMaySize() |
AttributeDefinitionIterableDMW |
getMust()
Indicates the set of attributes that an instance of a class MUST have.
|
int |
getMustSize() |
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.
|
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.
|
DSDefinitionModule |
getPartOfDefinitionModule()
For classes that defined as part of a definition module,\n this indicates
the module they belong to.
|
RuleDefinition |
getRuleDefinition()
The RuleDefinition that resulted in the creation of an\n internally
generated ClassDefinition.
|
String |
getSubpackage()
The subpackage beneath extended where generated code will be written.
|
Boolean |
getSupportsBackrefTracking()
Indicates if a class of objects supports back reference tracking or not.
|
String |
getUsesInterface()
This is a hack for now to allow for the inclusion of an \n interface on a
class; it should be the fully qualified name of the interface.\n The
interface shouldn't require any method implementations.
|
Iterator<String> |
getUsesWrapperInterface()
The fully qualified name of a Java interface that should\n be implemented
on an extended wrapper class.
|
int |
getUsesWrapperInterfaceSize() |
WrapperTypeEnum |
getUseWrapperType()
Indicates whether you want to use the generated DMW wrapper\n or the
extended wrapper you've created yourself.
|
void |
setAbbrev(Object value)
Sets abbrev to the specified value.
|
void |
setClassType(Object value)
Sets classType to the specified value.
|
void |
setCreateIndex(Object value)
Sets createIndex to the specified value.
|
void |
setDataType(Object value)
Sets dataType to the specified value.
|
void |
setDerivedFrom(ClassDefinition value)
Sets derivedFrom to the specified value.
|
void |
setDmcObject(DmcObject obj)
Sets the core object.
|
void |
setDmdID(Object value)
Sets dmdID to the specified value.
|
void |
setDmeClass(Object value)
Sets dmeClass to the specified value.
|
void |
setDmeImport(Object value)
Sets dmeImport to the specified value.
|
void |
setDmoAuxClass(Object value)
Sets dmoAuxClass to the specified value.
|
void |
setDmoAuxClassImport(Object value)
Sets dmoAuxClassImport to the specified value.
|
void |
setDmoClass(Object value)
Sets dmoClass to the specified value.
|
void |
setDmoImport(Object value)
Sets dmoImport to the specified value.
|
void |
setDmtClass(Object value)
Sets dmtClass to the specified value.
|
void |
setDmtImport(Object value)
Sets dmtImport to the specified value.
|
void |
setDmtREFImport(Object value)
Sets dmtREFImport to the specified value.
|
void |
setDmwAuxClass(Object value)
Sets dmwAuxClass to the specified value.
|
void |
setDmwAuxClassImport(Object value)
Sets dmwAuxClassImport to the specified value.
|
void |
setDmwClass(Object value)
Sets dmwClass to the specified value.
|
void |
setDmwImport(Object value)
Sets dmwImport to the specified value.
|
void |
setDmwIteratorClass(Object value)
Sets dmwIteratorClass to the specified value.
|
void |
setDmwIteratorImport(Object value)
Sets dmwIteratorImport to the specified value.
|
void |
setDsdModuleDefinition(DSDefinitionModule value)
Sets dsdModuleDefinition to the specified value.
|
void |
setInternallyGenerated(Object value)
Sets internallyGenerated to the specified value.
|
void |
setInternalTypeRef(TypeDefinition value)
Sets internalTypeRef to the specified value.
|
void |
setIsDSDefinition(Object value)
Sets isDSDefinition to the specified value.
|
void |
setIsNamedBy(AttributeDefinition value)
Sets isNamedBy to the specified value.
|
void |
setJavaClass(Object value)
Sets javaClass to the specified value.
|
void |
setName(Object value)
Sets name to the specified value.
|
void |
setObsoleteVersion(Object value)
Sets obsoleteVersion to the specified value.
|
void |
setPartOfDefinitionModule(DSDefinitionModule value)
Sets partOfDefinitionModule to the specified value.
|
void |
setRuleDefinition(RuleDefinition value)
Sets ruleDefinition to the specified value.
|
void |
setSubpackage(Object value)
Sets subpackage to the specified value.
|
void |
setSupportsBackrefTracking(Object value)
Sets supportsBackrefTracking to the specified value.
|
void |
setUsesInterface(Object value)
Sets usesInterface to the specified value.
|
void |
setUseWrapperType(Object value)
Sets useWrapperType 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 ClassDefinitionDMW()
protected ClassDefinitionDMW(DmcObject obj)
protected ClassDefinitionDMW(DmcObject obj, ClassDefinition cd)
protected ClassDefinitionDMW(ClassDefinition cd)
protected ClassDefinitionDMW(String mn) throws DmcValueException
DmcValueExceptionpublic void setDmcObject(DmcObject obj)
DmcContainersetDmcObject in interface DmcContainerIFsetDmcObject in class DmsDefinitionobj - The core object.public ClassDefinitionDMO 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 ClassTypeEnum getClassType()
public void setClassType(Object value) throws DmcValueException
value - A value compatible with DmcTypeClassTypeEnumSVDmcValueException - 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 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 ClassDefinition getDerivedFrom()
public void setDerivedFrom(ClassDefinition value) throws DmcValueException
value - A value compatible with ClassDefinitionDmcValueException - if the value is incorrectpublic AttributeDefinitionIterableDMW getMust()
public DmcAttribute<?> addMust(AttributeDefinition value) throws DmcValueException
value - A value compatible with AttributeDefinitionDmcValueException - if the value is incorrectpublic int getMustSize()
public AttributeDefinitionIterableDMW getMay()
public DmcAttribute<?> addMay(AttributeDefinition value) throws DmcValueException
value - A value compatible with AttributeDefinitionDmcValueException - if the value is incorrectpublic int getMaySize()
public AttributeDefinition getIsNamedBy()
public void setIsNamedBy(AttributeDefinition value) throws DmcValueException
value - A value compatible with AttributeDefinitionDmcValueException - if the value is incorrectpublic String getJavaClass()
public void setJavaClass(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic ClassDefinitionIterableDMW getIntendedToExtend()
public DmcAttribute<?> addIntendedToExtend(ClassDefinition value) throws DmcValueException
value - A value compatible with ClassDefinitionDmcValueException - if the value is incorrectpublic int getIntendedToExtendSize()
public String getUsesInterface()
public void setUsesInterface(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic Iterator<String> getUsesWrapperInterface()
public void addUsesWrapperInterface(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringMVDmcValueException - if the value is incorrectpublic int getUsesWrapperInterfaceSize()
public WrapperTypeEnum getUseWrapperType()
public void setUseWrapperType(Object value) throws DmcValueException
value - A value compatible with DmcTypeWrapperTypeEnumSVDmcValueException - if the value is incorrectpublic Iterator<DmwTypeToWrapperType> getDmwWrapperType()
public void addDmwWrapperType(Object value) throws DmcValueException
value - A value compatible with DmcTypeDmwTypeToWrapperTypeMVDmcValueException - if the value is incorrectpublic int getDmwWrapperTypeSize()
public ClassDefinitionIterableDMW getAllowedParents()
public DmcAttribute<?> addAllowedParents(ClassDefinition value) throws DmcValueException
value - A value compatible with ClassDefinitionDmcValueException - if the value is incorrectpublic int getAllowedParentsSize()
public String getSubpackage()
public void setSubpackage(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - 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 Boolean getSupportsBackrefTracking()
public void setSupportsBackrefTracking(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - if the value is incorrectpublic Iterator<String> getExcludeFromContext()
public void addExcludeFromContext(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringMVDmcValueException - if the value is incorrectpublic int getExcludeFromContextSize()
public 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 getIsDSDefinition()
\n A domain specific definition must be named by name and must have dotName as an attribute because the \n generated class will implement the DmcDefinitionIF which assumes that these attributes exist. This\n interface allows these definitions to be managed as part of a set of definitions.
public void setIsDSDefinition(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - if the value is incorrectpublic DSDefinitionModule getPartOfDefinitionModule()
public void setPartOfDefinitionModule(DSDefinitionModule value) throws DmcValueException
value - A value compatible with DSDefinitionModuleDmcValueException - if the value is incorrectpublic Boolean getCreateIndex()
public void setCreateIndex(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - if the value is incorrectpublic Boolean getInternallyGenerated()
public void setInternallyGenerated(Object value) throws DmcValueException
value - A value compatible with DmcTypeBooleanSVDmcValueException - if the value is incorrectpublic RuleDefinition getRuleDefinition()
public void setRuleDefinition(RuleDefinition value) throws DmcValueException
value - A value compatible with RuleDefinitionDmcValueException - if the value is incorrectpublic DSDefinitionModule getDsdModuleDefinition()
public void setDsdModuleDefinition(DSDefinitionModule value) throws DmcValueException
value - A value compatible with DSDefinitionModuleDmcValueException - if the value is incorrectpublic ClassDefinitionIterableDMW getDerivedClasses()
public DmcAttribute<?> addDerivedClasses(ClassDefinition value) throws DmcValueException
value - A value compatible with ClassDefinitionDmcValueException - if the value is incorrectpublic int getDerivedClassesSize()
public ActionDefinitionIterableDMW getActions()
public DmcAttribute<?> addActions(ActionDefinition value) throws DmcValueException
value - A value compatible with ActionDefinitionDmcValueException - if the value is incorrectpublic int getActionsSize()
public TypeDefinition getInternalTypeRef()
public void setInternalTypeRef(TypeDefinition value) throws DmcValueException
value - A value compatible with TypeDefinitionDmcValueException - if the value is incorrectpublic String getDmoImport()
public void setDmoImport(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getDmoClass()
public void setDmoClass(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getDmwImport()
public void setDmwImport(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getDmwClass()
public void setDmwClass(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getDmeImport()
public void setDmeImport(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getDmeClass()
public void setDmeClass(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getDmtImport()
public void setDmtImport(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getDmtREFImport()
public void setDmtREFImport(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getDmtClass()
public void setDmtClass(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getDmoAuxClass()
public void setDmoAuxClass(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getDmoAuxClassImport()
public void setDmoAuxClassImport(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getDmwAuxClass()
public void setDmwAuxClass(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getDmwAuxClassImport()
public void setDmwAuxClassImport(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getDmwIteratorImport()
public void setDmwIteratorImport(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - if the value is incorrectpublic String getDmwIteratorClass()
public void setDmwIteratorClass(Object value) throws DmcValueException
value - A value compatible with DmcTypeStringSVDmcValueException - 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.