|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModelElement
A model element is an element that is an abstraction drawn from the system being modeled. Contrast with view element, which is an element whose purpose is to provide a presentation of information for human comprehension. In the metamodel, a ModelElement is a named entity in a Model. It is the base for all modeling metaclasses in the UML (even though it is not displayed explicitly as such on diagrams for ElementOwnership, ElementResidence, ElementImport, TemplateParameter, TemplateArgument, and Argument). All other modeling metaclasses are either direct or indirect subclasses of ModelElement. Each ModelElement can be regarded as a template. A template has a set of templateParameters that denotes which of the parts of a ModelElement are the template parameters. A ModelElement is a template when there is at least one template parameter. If it is not a template, a ModelElement cannot have template parameters. However, such embedded parameters are not usually complete and need not satisfy well-formedness rules. It is the arguments supplied when the template is instantiated that must be well formed. Partially instantiated templates are allowed. This is the case when there are arguments provided for some, but not all templateParameters. A partially instantiated template is still a template, since it still has parameters.
Method Summary | |
---|---|
Collection |
getAsArgument()
Indicates zero or more TemplateArgument for which the model element is an argument in a template binding. |
Collection |
getBehavior()
Not documented in spec! from ::"Behavioral Elements"::"State Machines"::StateMachine, pg. |
Collection |
getClientDependency()
Inverse of client. |
Collection |
getComment()
Not documented in spec! |
Collection |
getConstraint()
A set of Constraints affecting the element. |
Collection |
getContainer()
The component that an implemented model element resides in. |
ModelElement |
getDefaultElement()
Not part of specification! Merged from TemplateParameter association class. |
boolean |
getIsSpecification()
Not part of specification! Merged from ElementOwnership association class. |
String |
getName()
An identifier for the ModelElement within its containing Namespace. |
Namespace |
getNamespace()
Designates the Namespace that contains the ModelElement. |
Collection |
getPackage()
Not documented in spec! |
Collection |
getPresentation()
A set of PresentationElements that present a view of the ModelElement. |
Collection |
getReferenceTag()
Not documented in spec! |
Collection |
getSourceFlow()
Not documented in spec! |
Collection |
getStereotype()
Designates the stereotypes that further qualify the UML metaclass (the base class or one of its subclasses) of the modeling element. |
Collection |
getSupplierDependency()
Inverse of supplier. |
Collection |
getTaggedValue()
An arbitrary property attached to the model element based on an associated tag definition. |
Collection |
getTargetFlow()
Not documented in spec! |
ModelElement |
getTemplate()
Not documented in spec! |
Collection |
getTemplateArgument()
Not documented in spec! From diagram p. |
List |
getTemplateParameter()
(association class TemplateParameter) A composite aggregation ordered list of parameters. |
VisibilityKind |
getVisibility()
Not part of specification! Merged from ElementOwnership association class. |
void |
setDefaultElement(ModelElement defaultElement)
Setter for atomic property defaultElement) |
void |
setIsSpecification(boolean isSpecification)
Setter for atomic property isSpecification) |
void |
setName(String name)
Setter for atomic property name) |
void |
setNamespace(Namespace namespace)
Setter for atomic property namespace) |
void |
setTemplate(ModelElement template)
Setter for atomic property template) |
void |
setVisibility(VisibilityKind visibility)
Setter for atomic property visibility) |
Methods inherited from interface uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObject |
---|
extAddObjectListener, extDeepCopy, extDeepCopy, extEquals, extRemoveObjectListener, extValueHash, extVisit |
Methods inherited from interface javax.jmi.reflect.RefObject |
---|
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite |
Methods inherited from interface javax.jmi.reflect.RefFeatured |
---|
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
Methods inherited from interface javax.jmi.reflect.RefBaseObject |
---|
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
Method Detail |
---|
String getName() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setName(String name) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getAsArgument() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getClientDependency() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getConstraint() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getContainer() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Namespace getNamespace() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setNamespace(Namespace namespace) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getPresentation() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getSupplierDependency() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getStereotype() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getTaggedValue() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
List getTemplateParameter() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
ModelElement getTemplate() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setTemplate(ModelElement template) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getSourceFlow() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getTargetFlow() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getPackage() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getComment() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getReferenceTag() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getTemplateArgument() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getBehavior() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
VisibilityKind getVisibility() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setVisibility(VisibilityKind visibility) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean getIsSpecification() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setIsSpecification(boolean isSpecification) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
ModelElement getDefaultElement() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setDefaultElement(ModelElement defaultElement) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |