uk.ac.ucl.cs.uml.jmi.Foundation.Core
Interface Classifier

All Superinterfaces:
Element, ExtObject, GeneralizableElement, ModelElement, Namespace, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject
All Known Subinterfaces:
Actor, Artifact, AssociationUMLClass, ClassifierInState, ClassifierRole, Component, DataType, Enumeration, Node, Primitive, ProgrammingLanguageDataType, Signal, Subsystem, UMLClass, UMLException, UMLInterface, UseCase
All Known Implementing Classes:
Actor_Impl, Artifact_Impl, AssociationUMLClass_Impl, Class_Impl, Classifier_Impl, ClassifierInState_Impl, ClassifierRole_Impl, Component_Impl, DataType_Impl, Enumeration_Impl, Exception_Impl, Interface_Impl, Node_Impl, Primitive_Impl, ProgrammingLanguageDataType_Impl, Signal_Impl, Subsystem_Impl, UseCase_Impl

public interface Classifier
extends GeneralizableElement, Namespace

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

getFeature

List getFeature()
                throws javax.jmi.reflect.JmiException
An ordered list of Features, like Attribute, Operation, Method owned by the Classifier.

Throws:
javax.jmi.reflect.JmiException

getAssociation

Collection getAssociation()
                          throws javax.jmi.reflect.JmiException
Denotes the AssociationEnd of an Association in which the Classifier participates at the given end. This is the inverse of the participant association from AssociationEnd. A link of the association contains a reference to an instance of the class in the given position.

Throws:
javax.jmi.reflect.JmiException

getPowertypeRange

Collection getPowertypeRange()
                             throws javax.jmi.reflect.JmiException
Designates zero or more Generalizations for which the Classifier is a powertype. If the cardinality is zero, then the Classifier is not a powertype; if the cardinality is greater than zero, then the Classifier is a powertype over the set of Generalizations designated by the association, and the child elements of the Generalizations are the instances of the Classifier as a powertype. A Classifier that is a powertype can be marked with the «powertype» stereotype.

Throws:
javax.jmi.reflect.JmiException

getSpecifiedEnd

Collection getSpecifiedEnd()
                           throws javax.jmi.reflect.JmiException
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. (This relationship does not define the structure of the association, merely operations that may be applied on traversing it.)

Throws:
javax.jmi.reflect.JmiException

getTypedParameter

Collection getTypedParameter()
                             throws javax.jmi.reflect.JmiException
Not documented in spec!

Throws:
javax.jmi.reflect.JmiException

getTypedFeature

Collection getTypedFeature()
                           throws javax.jmi.reflect.JmiException
Not documented in spec!

Throws:
javax.jmi.reflect.JmiException

allFeatures

Set allFeatures()
The operation allFeatures results in a Set containing all Features of the Classifier itself and all its inherited Features.


allOperations

Set allOperations()
The operation allOperations results in a Set containing all Operations of the Classifier itself and all its inherited Operations.


allMethods

Set allMethods()
The operation allMethods results in a Set containing all Methods of the Classifier itself and all its inherited Methods.


allAttributes

Set allAttributes()
The operation allAttributes results in a Set containing all Attributes of the Classifier and all its inherited Attributes.


associations

Set associations()
The operation associations results in a Set containing all Associations of the Classifier itself.


allAssociations

Set allAssociations()
The operation allAssociations results in a Set containing all Associations of the Classifier itself and all inherited Associations.


oppositeAssociationEnds

Set oppositeAssociationEnds()
The operation oppositeAssociationEnds results in a set of all AssociationEnds that are opposite to the Classifier.