|
org.eclipse.uml2.uml
Interface EncapsulatedClassifier
-
All Superinterfaces:
-
Classifier,
Element, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject,
NamedElement,
Namespace, org.eclipse.emf.common.notify.Notifier,
PackageableElement,
ParameterableElement,
RedefinableElement,
StructuredClassifier,
TemplateableElement,
Type
-
All Known Subinterfaces:
-
Activity,
AssociationClass,
Behavior,
Class,
Component,
Device,
ExecutionEnvironment,
FunctionBehavior,
Interaction,
Node,
OpaqueBehavior,
ProtocolStateMachine,
StateMachine,
Stereotype
-
public interface EncapsulatedClassifier
- extends
StructuredClassifier
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:
-
See Also:
-
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.uml2.uml.
Classifier
|
allFeatures,
allParents,
conformsTo,
createCollaborationUse,
createGeneralization,
createOwnedUseCase,
createRepresentation,
createSubstitution,
getAllAttributes,
getAllOperations,
getAllUsedInterfaces,
getAttribute,
getAttribute,
getAttributes,
getCollaborationUse,
getCollaborationUse,
getCollaborationUses,
getFeature,
getFeature,
getFeatures,
getGeneral,
getGeneral,
getGeneralization,
getGeneralization,
getGeneralizations,
getGenerals,
getInheritedMember,
getInheritedMember,
getInheritedMembers,
getOperation,
getOperation,
getOperations,
getOwnedUseCase,
getOwnedUseCase,
getOwnedUseCases,
getPowertypeExtent,
getPowertypeExtent,
getPowertypeExtents,
getRedefinedClassifier,
getRedefinedClassifier,
getRedefinedClassifiers,
getRepresentation,
getSubstitution,
getSubstitution,
getSubstitutions,
getUseCase,
getUseCase,
getUseCases,
getUsedInterfaces,
hasVisibilityOf,
inherit,
inheritableMembers,
isAbstract,
maySpecializeType,
parents,
setIsAbstract,
setRepresentation,
validateGeneralizationHierarchies,
validateMapsToGeneralizationSet,
validateNoCyclesInGeneralization,
validateSpecializeType
|
Methods inherited from interface org.eclipse.uml2.uml.
Namespace
|
createElementImport,
createElementImport,
createOwnedRule,
createOwnedRule,
createPackageImport,
createPackageImport,
excludeCollisions,
getElementImport,
getElementImport,
getElementImports,
getImportedElements,
getImportedMember,
getImportedMember,
getImportedMembers,
getImportedPackages,
getMember,
getMember,
getMembers,
getNamesOfMember,
getOwnedMember,
getOwnedMember,
getOwnedMembers,
getOwnedRule,
getOwnedRule,
getOwnedRules,
getPackageImport,
getPackageImport,
getPackageImports,
importMembers,
membersAreDistinguishable,
validateMembersDistinguishable
|
Methods inherited from interface org.eclipse.uml2.uml.
Element
|
addKeyword,
allOwnedElements,
applyStereotype,
createEAnnotation,
createOwnedComment,
destroy,
getApplicableStereotype,
getApplicableStereotypes,
getAppliedStereotype,
getAppliedStereotypes,
getAppliedSubstereotype,
getAppliedSubstereotypes,
getKeywords,
getModel,
getNearestPackage,
getOwnedComments,
getOwnedElements,
getOwner,
getRelationships,
getRelationships,
getRequiredStereotype,
getRequiredStereotypes,
getSourceDirectedRelationships,
getSourceDirectedRelationships,
getStereotypeApplication,
getStereotypeApplications,
getTargetDirectedRelationships,
getTargetDirectedRelationships,
getValue,
hasKeyword,
hasValue,
isStereotypeApplicable,
isStereotypeApplied,
isStereotypeRequired,
mustBeOwned,
removeKeyword,
setValue,
unapplyStereotype,
validateHasOwner,
validateNotOwnSelf
|
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, 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.uml2.uml.
Element
|
addKeyword,
allOwnedElements,
applyStereotype,
createEAnnotation,
createOwnedComment,
destroy,
getApplicableStereotype,
getApplicableStereotypes,
getAppliedStereotype,
getAppliedStereotypes,
getAppliedSubstereotype,
getAppliedSubstereotypes,
getKeywords,
getModel,
getNearestPackage,
getOwnedComments,
getOwnedElements,
getOwner,
getRelationships,
getRelationships,
getRequiredStereotype,
getRequiredStereotypes,
getSourceDirectedRelationships,
getSourceDirectedRelationships,
getStereotypeApplication,
getStereotypeApplications,
getTargetDirectedRelationships,
getTargetDirectedRelationships,
getValue,
hasKeyword,
hasValue,
isStereotypeApplicable,
isStereotypeApplied,
isStereotypeRequired,
mustBeOwned,
removeKeyword,
setValue,
unapplyStereotype,
validateHasOwner,
validateNotOwnSelf
|
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, 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.
Element
|
addKeyword,
allOwnedElements,
applyStereotype,
createEAnnotation,
createOwnedComment,
destroy,
getApplicableStereotype,
getApplicableStereotypes,
getAppliedStereotype,
getAppliedStereotypes,
getAppliedSubstereotype,
getAppliedSubstereotypes,
getKeywords,
getModel,
getNearestPackage,
getOwnedComments,
getOwnedElements,
getOwner,
getRelationships,
getRelationships,
getRequiredStereotype,
getRequiredStereotypes,
getSourceDirectedRelationships,
getSourceDirectedRelationships,
getStereotypeApplication,
getStereotypeApplications,
getTargetDirectedRelationships,
getTargetDirectedRelationships,
getValue,
hasKeyword,
hasValue,
isStereotypeApplicable,
isStereotypeApplied,
isStereotypeRequired,
mustBeOwned,
removeKeyword,
setValue,
unapplyStereotype,
validateHasOwner,
validateNotOwnSelf
|
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, 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.
Element
|
addKeyword,
allOwnedElements,
applyStereotype,
createEAnnotation,
createOwnedComment,
destroy,
getApplicableStereotype,
getApplicableStereotypes,
getAppliedStereotype,
getAppliedStereotypes,
getAppliedSubstereotype,
getAppliedSubstereotypes,
getKeywords,
getModel,
getNearestPackage,
getOwnedComments,
getOwnedElements,
getOwner,
getRelationships,
getRelationships,
getRequiredStereotype,
getRequiredStereotypes,
getSourceDirectedRelationships,
getSourceDirectedRelationships,
getStereotypeApplication,
getStereotypeApplications,
getTargetDirectedRelationships,
getTargetDirectedRelationships,
getValue,
hasKeyword,
hasValue,
isStereotypeApplicable,
isStereotypeApplied,
isStereotypeRequired,
mustBeOwned,
removeKeyword,
setValue,
unapplyStereotype,
validateHasOwner,
validateNotOwnSelf
|
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, eIsProxy, eIsSet, eResource, eSet, eUnset
|
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
|
eAdapters, eDeliver, eNotify, eSetDeliver
|
getOwnedPorts
org.eclipse.emf.common.util.EList<
Port> getOwnedPorts()
- Returns the value of the '
Owned Port
' reference list.
The list contents are of type
Port .
This feature subsets the following features:
References a set of ports that an encapsulated classifier owns.
-
-
-
Returns:
- the value of the 'Owned Port' reference list.
-
See Also:
-
UMLPackage.getEncapsulatedClassifier_OwnedPort()
createOwnedPort
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.
-
-
-
Parameters:
-
name - The '
Name
' for the new
Port , or null . -
type - The '
Type
' for the new
Port , or null .
-
Returns:
- The new
Port . -
See Also:
-
getOwnedPorts()
getOwnedPort
Port getOwnedPort(java.lang.String name,
Type type)
- Retrieves the first
Port with the specified '
Name
', and '
Type
' from the '
Owned Port
' reference list.
-
-
-
Parameters:
-
name - The '
Name
' of the
Port to retrieve, or null . -
type - The '
Type
' of the
Port to retrieve, or null .
-
Returns:
- The first
Port with the specified '
Name
', and '
Type
', or null . -
See Also:
-
getOwnedPorts()
getOwnedPort
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.
-
-
-
Parameters:
-
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.
-
Returns:
- The first
Port with the specified '
Name
', and '
Type
', or null . -
See Also:
-
getOwnedPorts()
|
|