|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Classifier
A classifier is an element that describes behavioral and structural features; it comes in several specific forms, including class, data type, interface, component, artifact, and others that are defined in other metamodel packages. In the metamodel, a Classifier declares a collection of Features, such as Attributes, Methods, and Operations. It has a name, which is unique in the Namespace enclosing the Classifier. Classifier is an abstract metaclass. Classifier is a child of GeneralizableElement and Namespace. As a GeneralizableElement, it may inherit Features and participation in Associations (in addition to things inherited as a ModelElement). It also inherits ownership of StateMachines, Collaborations, etc. As a Namespace, a Classifier may declare other Classifiers nested in its scope. Nested Classifiers may be accessed by other Classifiers only if the nested Classifiers have adequate visibility. There are no data value or state consequences of nested Classifiers (i.e., it is not an aggregation or composition).
Method Summary | |
---|---|
Set |
allAssociations()
The operation allAssociations results in a Set containing all Associations of the Classifier itself and all inherited Associations. |
Set |
allAttributes()
The operation allAttributes results in a Set containing all Attributes of the Classifier and all its inherited Attributes. |
Set |
allFeatures()
The operation allFeatures results in a Set containing all Features of the Classifier itself and all its inherited Features. |
Set |
allMethods()
The operation allMethods results in a Set containing all Methods of the Classifier itself and all its inherited Methods. |
Set |
allOperations()
The operation allOperations results in a Set containing all Operations of the Classifier itself and all its inherited Operations. |
Set |
associations()
The operation associations results in a Set containing all Associations of the Classifier itself. |
Collection |
getAssociation()
Denotes the AssociationEnd of an Association in which the Classifier participates at the given end. |
List |
getFeature()
An ordered list of Features, like Attribute, Operation, Method owned by the Classifier. |
Collection |
getPowertypeRange()
Designates zero or more Generalizations for which the Classifier is a powertype. |
Collection |
getSpecifiedEnd()
Indicates an AssociationEnd for which the given Classifier specifies operations that may be applied to instances obtained by traversing the association from the other end. |
Collection |
getTypedFeature()
Not documented in spec! |
Collection |
getTypedParameter()
Not documented in spec! |
Set |
oppositeAssociationEnds()
The operation oppositeAssociationEnds results in a set of all AssociationEnds that are opposite to the Classifier. |
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.GeneralizableElement |
---|
getGeneralization, getIsAbstract, getIsLeaf, getIsRoot, getSpecialization, setIsAbstract, setIsLeaf, setIsRoot |
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.ModelElement |
---|
getAsArgument, getBehavior, getClientDependency, getComment, getConstraint, getContainer, getDefaultElement, getIsSpecification, getName, getNamespace, getPackage, getPresentation, getReferenceTag, getSourceFlow, getStereotype, getSupplierDependency, getTaggedValue, getTargetFlow, getTemplate, getTemplateArgument, getTemplateParameter, getVisibility, setDefaultElement, setIsSpecification, setName, setNamespace, setTemplate, setVisibility |
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 |
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.Namespace |
---|
allContents, getAllSurroundingNamespaces, getAllVisibleElements, getContents, getOwnedElement |
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.ModelElement |
---|
getAsArgument, getBehavior, getClientDependency, getComment, getConstraint, getContainer, getDefaultElement, getIsSpecification, getName, getNamespace, getPackage, getPresentation, getReferenceTag, getSourceFlow, getStereotype, getSupplierDependency, getTaggedValue, getTargetFlow, getTemplate, getTemplateArgument, getTemplateParameter, getVisibility, setDefaultElement, setIsSpecification, setName, setNamespace, setTemplate, setVisibility |
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 |
---|
List getFeature() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getAssociation() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getPowertypeRange() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getSpecifiedEnd() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getTypedParameter() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getTypedFeature() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Set allFeatures()
Set allOperations()
Set allMethods()
Set allAttributes()
Set associations()
Set allAssociations()
Set oppositeAssociationEnds()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |