uk.ac.ucl.cs.uml.jmi.Foundation.Core
Interface Permission
- All Superinterfaces:
- Dependency, Element, ExtObject, ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, Relationship
- All Known Implementing Classes:
- Permission_Impl
public interface Permission
- extends Dependency
Permission is a kind of dependency. It grants a model element
permission to access elements in another namespace.
In the metamodel, Permission in a Dependency between a client
ModelElement and a supplier ModelElement. The client receives
permission to reference the supplier’s contents. The supplier must
be a Namespace.
The predefined stereotypes of Permission are access, import, and
friend. In the case of the access and import stereotypes, the
client is granted permission to reference elements in the supplier
namespace with public visibility. In the case of the import
stereotype, the public names in the supplier namespace are added to
the client namespace. An element may also access any protected
contents of an ancestor namespace. An element may also access any
contents (public, protected, private, or package) of its own
namespace or a containing namespace.
In the case of the friend stereotype, the client is granted
permission to reference elements in the supplier namespace,
regardless of visibility.
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 |