|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Connector End'. A connector end is an endpoint of a connector, which attaches the connector to a connectable element. Each connector end is part of one connector.
The following features are supported:
UMLPackage.getConnectorEnd()
Method Summary | |
Property |
getDefiningEnd()
Returns the value of the 'Defining End' reference |
Property |
getPartWithPort()
Returns the value of the 'Part With Port' reference |
ConnectableElement |
getRole()
Returns the value of the 'Role' reference. |
void |
setPartWithPort(Property value)
Sets the value of the ' Part With Port ' reference |
void |
setRole(ConnectableElement value)
Sets the value of the ' Role ' reference |
boolean |
validateMultiplicity(DiagnosticChain diagnostics,
Map context)
The multiplicity of the connector end may not be more general than the multiplicity of the association typing the owning connector. |
boolean |
validatePartWithPortEmpty(DiagnosticChain diagnostics,
Map context)
If a connector end is attached to a port of the containing classifier, partWithPort will be empty. |
boolean |
validateRoleAndPartWithPort(DiagnosticChain diagnostics,
Map context)
If a connector end references both a role and a partWithPort, then the role must be a port that is defined by the type of the partWithPort. |
boolean |
validateSelfPartWithPort(DiagnosticChain diagnostics,
Map context)
The property held in self.partWithPort must not be a Port. |
Methods inherited from interface org.eclipse.uml2.uml.MultiplicityElement |
compatibleWith, createLowerValue, createUpperValue, getLower, getLowerValue, getUpper, getUpperValue, includesCardinality, includesMultiplicity, is, isMultivalued, isOrdered, isUnique, lowerBound, setIsOrdered, setIsUnique, setLower, setLowerValue, setUpper, setUpperValue, upperBound, validateLowerGe0, validateUpperGeLower, validateUpperGt0, validateValueSpecificationConstant, validateValueSpecificationNoSideEffects |
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 |
Method Detail |
public Property getDefiningEnd()
UMLPackage.getConnectorEnd_DefiningEnd()
public Property getPartWithPort()
ConnectorEnd.setPartWithPort(Property)
,
UMLPackage.getConnectorEnd_PartWithPort()
public void setPartWithPort(Property value)
Part With Port
' reference.
value
- the new value of the 'Part With Port' reference.ConnectorEnd.getPartWithPort()
public ConnectableElement getRole()
End
'.
The connectable element attached at this connector end. When an instance of the containing classifier is created, a link may (depending on the multiplicities) be created to an instance of the classifier that types this connectable element.
ConnectorEnd.setRole(ConnectableElement)
,
UMLPackage.getConnectorEnd_Role()
,
ConnectableElement.getEnds()
public void setRole(ConnectableElement value)
Role
' reference.
value
- the new value of the 'Role' reference.ConnectorEnd.getRole()
public boolean validateMultiplicity(DiagnosticChain diagnostics, Map context)
public boolean validatePartWithPortEmpty(DiagnosticChain diagnostics, Map context)
public boolean validateRoleAndPartWithPort(DiagnosticChain diagnostics, Map context)
public boolean validateSelfPartWithPort(DiagnosticChain diagnostics, Map context)
|
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 |