|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectorEnd
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(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The multiplicity of the connector end may not be more general than the multiplicity of the association typing the owning connector. |
boolean |
validatePartWithPortEmpty(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
If a connector end is attached to a port of the containing classifier, partWithPort will be empty. |
boolean |
validateRoleAndPartWithPort(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> 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(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> 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, 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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
Property getDefiningEnd()
UMLPackage.getConnectorEnd_DefiningEnd()
Property getPartWithPort()
setPartWithPort(Property)
,
UMLPackage.getConnectorEnd_PartWithPort()
void setPartWithPort(Property value)
Part With Port
' reference.
value
- the new value of the 'Part With Port' reference.getPartWithPort()
ConnectableElement getRole()
setRole(ConnectableElement)
,
UMLPackage.getConnectorEnd_Role()
void setRole(ConnectableElement value)
Role
' reference.
value
- the new value of the 'Role' reference.getRole()
boolean validateMultiplicity(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validatePartWithPortEmpty(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateRoleAndPartWithPort(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateSelfPartWithPort(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
|
Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |