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

All Superinterfaces:
Element, ExtObject, ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject
All Known Subinterfaces:
Attribute, BehavioralFeature, Method, Operation, Reception, StructuralFeature
All Known Implementing Classes:
Attribute_Impl, BehavioralFeature_Impl, Feature_Impl, Method_Impl, Operation_Impl, Reception_Impl, StructuralFeature_Impl

public interface Feature
extends ModelElement

A feature is a property, like operation or attribute, which is encapsulated within a Classifier. In the metamodel, a Feature declares a behavioral or structural characteristic of an Instance of a Classifier or of the Classifier itself. Feature is an abstract metaclass.


Method Summary
 Classifier getOwner()
          The Classifier declaring the Feature.
 ScopeKind getOwnerScope()
          Specifies whether Feature appears in each Instance of the Classifier or whether there is just a single instance of the Feature for the entire Classifier.
 void setOwner(Classifier owner)
          Setter for atomic property owner)
 void setOwnerScope(ScopeKind ownerScope)
          Setter for atomic property ownerScope)
 
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

getOwnerScope

ScopeKind getOwnerScope()
                        throws javax.jmi.reflect.JmiException
Specifies whether Feature appears in each Instance of the Classifier or whether there is just a single instance of the Feature for the entire Classifier. Possibilities are: • instance - Each Instance of the Classifier holds its own value for the Feature. • classifier - There is just one value of the Feature for the entire Classifier.

Throws:
javax.jmi.reflect.JmiException

setOwnerScope

void setOwnerScope(ScopeKind ownerScope)
                   throws javax.jmi.reflect.JmiException
Setter for atomic property ownerScope)

Throws:
javax.jmi.reflect.JmiException

getOwner

Classifier getOwner()
                    throws javax.jmi.reflect.JmiException
The Classifier declaring the Feature. Note that an Attribute may be owned by a Classifier (in which case it is a feature) or an AssociationEnd (in which case it is a qualifier) but not both.

Throws:
javax.jmi.reflect.JmiException

setOwner

void setOwner(Classifier owner)
              throws javax.jmi.reflect.JmiException
Setter for atomic property owner)

Throws:
javax.jmi.reflect.JmiException