|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EncapsulatedClassifier
A representation of the model object 'Encapsulated Classifier'. A classifier has the ability to own ports as specific and type checked interaction points.
The following features are supported:
UMLPackage.getEncapsulatedClassifier()
Method Summary | |
---|---|
Port |
createOwnedPort(java.lang.String name,
Type type)
Creates a new Port , with the specified 'Name', and 'Type', and appends it to the 'Owned Port' reference list |
Port |
getOwnedPort(java.lang.String name,
Type type)
Retrieves the first Port with the specified 'Name', and 'Type' from the 'Owned Port' reference list |
Port |
getOwnedPort(java.lang.String name,
Type type,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first Port with the specified 'Name', and 'Type' from the 'Owned Port' reference list |
org.eclipse.emf.common.util.EList<Port> |
getOwnedPorts()
Returns the value of the 'Owned Port' reference list. |
Methods inherited from interface org.eclipse.uml2.uml.StructuredClassifier |
---|
createOwnedAttribute, createOwnedAttribute, createOwnedAttribute, createOwnedConnector, getOwnedAttribute, getOwnedAttribute, getOwnedAttributes, getOwnedConnector, getOwnedConnector, getOwnedConnectors, getPart, getPart, getParts, getRole, getRole, getRoles, validateMultiplicities |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.uml.RedefinableElement |
---|
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.uml.Type |
---|
conformsTo, createAssociation, getAssociations, getPackage, setPackage |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement |
---|
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.uml.TemplateableElement |
---|
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignature |
Method Detail |
---|
org.eclipse.emf.common.util.EList<Port> getOwnedPorts()
Port
.
This feature subsets the following features:
References a set of ports that an encapsulated classifier owns.
UMLPackage.getEncapsulatedClassifier_OwnedPort()
Port createOwnedPort(java.lang.String name, Type type)
Port
, with the specified 'Name', and 'Type', and appends it to the 'Owned Port' reference list.
name
- The 'Name' for the new Port
, or null
.type
- The 'Type' for the new Port
, or null
.
Port
.getOwnedPorts()
Port getOwnedPort(java.lang.String name, Type type)
Port
with the specified 'Name', and 'Type' from the 'Owned Port' reference list.
name
- The 'Name' of the Port
to retrieve, or null
.type
- The 'Type' of the Port
to retrieve, or null
.
Port
with the specified 'Name', and 'Type', or null
.getOwnedPorts()
Port getOwnedPort(java.lang.String name, Type type, boolean ignoreCase, boolean createOnDemand)
Port
with the specified 'Name', and 'Type' from the 'Owned Port' reference list.
name
- The 'Name' of the Port
to retrieve, or null
.type
- The 'Type' of the Port
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a Port
on demand if not found.
Port
with the specified 'Name', and 'Type', or null
.getOwnedPorts()
|
Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |