|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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()| Field Summary |
| Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
SEPARATOR |
| Method Summary | |
Port |
createOwnedPort(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(String name,
Type type)
Retrieves the first Port with the specified 'Name', and 'Type' from the 'Owned Port' reference list |
Port |
getOwnedPort(String name,
Type type,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first Port with the specified 'Name', and 'Type' from the 'Owned Port' reference list |
EList |
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.NamedElement |
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership |
| 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.Type |
conformsTo, createAssociation, getAssociations, getPackage, setPackage |
| Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement |
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter |
| Methods inherited from interface org.eclipse.uml2.uml.TemplateableElement |
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignature |
| Method Detail |
public EList getOwnedPorts()
Port.
References a set of ports that an encapsulated classifier owns.
UMLPackage.getEncapsulatedClassifier_OwnedPort()
public Port createOwnedPort(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.EncapsulatedClassifier.getOwnedPorts()
public Port getOwnedPort(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.EncapsulatedClassifier.getOwnedPorts()
public Port getOwnedPort(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.EncapsulatedClassifier.getOwnedPorts()
|
Copyright 2003, 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||