uk.ac.ucl.cs.uml.jmi.Foundation.Core
Interface Usage
- All Superinterfaces:
- Dependency, Element, ExtObject, ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, Relationship
- All Known Implementing Classes:
- Usage_Impl
public interface Usage
- extends Dependency
A usage is a relationship in which one element requires another
element (or set of elements) for its full implementation or
operation. The relationship is not a mere historical artifact, but
an ongoing need; therefore, two elements related by usage must
be in the same model.
In the metamodel, a Usage is a Dependency in which the client
requires the presence of the supplier. How the client uses the
supplier, such as a class calling an operation of another class, a
method having an argument of another class, and a method from a
class instantiating another class, is defined in the description of
the particular Usage stereotype.
Various stereotypes of Usage are predefined, but the set is
open-ended and may be added to.
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 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 |