public interface EncapsulatedClassifier extends StructuredClassifier
From package UML::StructuredClassifiers.
The following features are supported:
UMLPackage.getEncapsulatedClassifier()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
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)
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.
|
allRoles, createOwnedAttribute, createOwnedAttribute, createOwnedAttribute, createOwnedConnector, getOwnedAttribute, getOwnedAttribute, getOwnedAttributes, getOwnedConnector, getOwnedConnector, getOwnedConnectors, getPart, getPart, getParts, getRole, getRole, getRoles
allAttributes, allFeatures, allParents, allRealizedInterfaces, allSlottableFeatures, allUsedInterfaces, createCollaborationUse, createGeneralization, createOwnedUseCase, createRepresentation, createSubstitution, directlyRealizedInterfaces, directlyUsedInterfaces, 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, isFinalSpecialization, isSubstitutableFor, maySpecializeType, parents, setIsAbstract, setIsFinalSpecialization, setRepresentation, validateMapsToGeneralizationSet, validateNoCyclesInGeneralization, validateNonFinalParents, validateSpecializeType
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, validateCannotImportOwnedMembers, validateCannotImportSelf, validateMembersDistinguishable
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateNonLeafRedefinition, validateRedefinitionConsistent, validateRedefinitionContextValid
conformsTo, createAssociation, getAssociations, getPackage, setPackage
validateNamespaceNeedsVisibility
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
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
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignature
org.eclipse.emf.common.util.EList<Port> getOwnedPorts()
Port
.
This feature subsets the following features:
The Ports owned by the EncapsulatedClassifier.From package UML::StructuredClassifiers.
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)
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.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()