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()
Field Summary |
static java.lang.String |
copyright
|
Methods inherited from interface org.eclipse.uml2.StructuredClassifier |
createOwnedAttribute, createOwnedAttribute, createOwnedConnector, createOwnedConnector, getOwnedAttribute, getOwnedAttributes, getOwnedConnector, getOwnedConnectors, getPart, getParts, getRole, getRoles |
Methods inherited from interface org.eclipse.uml2.Classifier |
allFeatures, allParents, conformsTo, createGeneralization, createGeneralization, createGeneralization, createOccurrence, createOccurrence, createOwnedUseCase, createOwnedUseCase, createSubstitution, createSubstitution, general, getAttribute, getAttributes, getFeature, getFeatures, getGeneral, getGeneralizations, getGenerals, getInheritedMember, getInheritedMembers, getOccurrence, getOccurrences, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifiers, 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, createElementImport, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMembers, getNamesOfMember, getOwnedMember, getOwnedMembers, getOwnedRule, getOwnedRules, getPackageImports, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable |
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createDependency, createNameExpression, createNameExpression, getClientDependencies, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, 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 java.lang.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(java.lang.String name)
- Retrieves the
Port
with the specified 'Name' from the 'Owned Port' containment reference list.
- Parameters:
name
- The 'Name' of the Port
to retrieve.
- Returns:
- The
Port
with the specified 'Name', or null
. - See Also:
getOwnedPorts()
createOwnedPort
public Port createOwnedPort(EClass eClass)
- Deprecated. Use #createOwnedPort() instead.
- 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()
createOwnedPort
public Port createOwnedPort()
- Creates a
Port
and appends it to the 'Owned Port' containment reference list.
- Returns:
- The new
Port
. - See Also:
getOwnedPorts()