org.eclipse.uml2
Interface EncapsulatedClassifier
- All Superinterfaces:
- Classifier, Element, EModelElement, EObject, NamedElement, Namespace, Notifier, PackageableElement, ParameterableElement, RedefinableElement, StructuredClassifier, TemplateableElement, Type
- All Known Subinterfaces:
- Activity, AssociationClass, Behavior, Class, Component, Device, ExecutionEnvironment, Interaction, Node, ProtocolStateMachine, StateMachine, Stereotype
- public interface EncapsulatedClassifier
- extends StructuredClassifier
A representation of the model object 'Encapsulated Classifier'.
Extends a classifier with the ability to own ports as specific and type checked interaction points.
The following features are supported:
- See Also:
UML2Package.getEncapsulatedClassifier()
| Methods inherited from interface org.eclipse.uml2.StructuredClassifier |
createOwnedAttribute, createOwnedConnector, getAttributes, getMembers, getOwnedAttribute, getOwnedAttributes, getOwnedConnector, getOwnedConnectors, getPart, getParts, getRole, getRoles |
| Methods inherited from interface org.eclipse.uml2.Classifier |
allFeatures, allParents, conformsTo, createGeneralization, createGeneralization, createOccurrence, createOwnedUseCase, createSubstitution, general, getAttribute, getClientDependencies, getFeature, getGeneral, getGeneralizations, getGenerals, getInheritedMember, getInheritedMembers, getOccurrence, getOccurrences, getOwnedElements, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifiers, getRedefinedElements, getRepresentation, getSubstitution, getSubstitutions, getUseCase, getUseCases, getUsedInterfaces, hasVisibilityOf, inherit, inheritableMembers, inheritedMember, isAbstract, maySpecializeType, parents, setIsAbstract, setRepresentation, validateGeneralEqualsParents, validateInheritedMember, validateNoCyclesInGeneralization, validateSpecializeType |
| Methods inherited from interface org.eclipse.uml2.Namespace |
createElementImport, createOwnedRule, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getNamesOfMember, getOwnedRule, getOwnedRules, getPackageImports, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable |
| Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependency, getName, getNameExpression, getNamespace, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
| Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
copyright
public static final String copyright
-
- See Also:
- Constant Field Values
getOwnedPorts
public EList getOwnedPorts()
- Returns the value of the 'Owned Port' containment reference list.
The list contents are of type
Port.
If the meaning of the 'Owned Port' containment reference list isn't clear,
there really should be more of a description here...
References a set of ports that an encapsulated classifier owns. (Subsets Classifier.feature and Namespace.ownedMember.)
- Returns:
- the value of the 'Owned Port' containment reference list.
- See Also:
UML2Package.getEncapsulatedClassifier_OwnedPort()
getOwnedPort
public Port getOwnedPort(String unqualifiedName)
- Retrieves the
Port with the specified name from the 'Owned Port' containment reference list.
- Parameters:
unqualifiedName - The unqualified name of the Port to retrieve.
- Returns:
- The
Port with the specified name, or null. - See Also:
getOwnedPorts()
createOwnedPort
public Port createOwnedPort(EClass eClass)
- Creates a
Port and appends it to the 'Owned Port' containment reference list.
- Parameters:
eClass - The Ecore class of the Port to create.
- Returns:
- The new
Port. - See Also:
getOwnedPorts()
getFeatures
public EList getFeatures()
-
- Specified by:
getFeatures in interface StructuredClassifier
getOwnedMembers
public EList getOwnedMembers()
-
- Specified by:
getOwnedMembers in interface StructuredClassifier