Package org.eclipse.epf.diagram.model
Interface Link
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,LinkedObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
LinkImpl
public interface Link extends LinkedObject
A representation of the model object 'Link'.
The following features are supported:
- See Also:
ModelPackage.getLink()
-
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.util.EListgetBendpoints()Returns the value of the 'Bendpoints' attribute list.java.lang.StringgetName()Returns the value of the 'Name' attribute.NodegetSource()Returns the value of the 'Source' container reference.org.eclipse.draw2d.geometry.PointgetSourceEndPoint()Returns the value of the 'Source End Point' attribute.NodegetTarget()Returns the value of the 'Target' reference.org.eclipse.draw2d.geometry.PointgetTargetEndPoint()Returns the value of the 'Target End Point' attribute.voidsetName(java.lang.String value)Sets the value of the 'Name' attribute.voidsetSource(Node value)Sets the value of the 'Source' container reference.voidsetSourceEndPoint(org.eclipse.draw2d.geometry.Point value)Sets the value of the 'Source End Point' attribute.voidsetTarget(Node value)Sets the value of the 'Target' reference.voidsetTargetEndPoint(org.eclipse.draw2d.geometry.Point value)Sets the value of the 'Target End Point' attribute.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.epf.diagram.model.LinkedObject
getLinkedElement, getObject, setLinkedElement, setObjectMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getName
java.lang.String getName()Returns the value of the 'Name' attribute. The default value is"".- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String),ModelPackage.getLink_Name()
-
setName
void setName(java.lang.String value)Sets the value of the 'Name' attribute.- Parameters:
value- the new value of the 'Name' attribute.- See Also:
getName()
-
getSource
Node getSource()Returns the value of the 'Source' container reference. It is bidirectional and its opposite is 'Outgoing Connections'.- Returns:
- the value of the 'Source' container reference.
- See Also:
setSource(Node),ModelPackage.getLink_Source(),Node.getOutgoingConnections()
-
setSource
Sets the value of the 'Source' container reference.- Parameters:
value- the new value of the 'Source' container reference.- See Also:
getSource()
-
getTarget
Node getTarget()Returns the value of the 'Target' reference. It is bidirectional and its opposite is 'Incoming Connections'.- Returns:
- the value of the 'Target' reference.
- See Also:
setTarget(Node),ModelPackage.getLink_Target(),Node.getIncomingConnections()
-
setTarget
Sets the value of the 'Target' reference.- Parameters:
value- the new value of the 'Target' reference.- See Also:
getTarget()
-
getBendpoints
org.eclipse.emf.common.util.EList getBendpoints()Returns the value of the 'Bendpoints' attribute list. The list contents are of typeAbsoluteBendpoint.- Returns:
- the value of the 'Bendpoints' attribute list.
- See Also:
ModelPackage.getLink_Bendpoints()
-
getSourceEndPoint
org.eclipse.draw2d.geometry.Point getSourceEndPoint()Returns the value of the 'Source End Point' attribute.- Returns:
- the value of the 'Source End Point' attribute.
- See Also:
setSourceEndPoint(Point),ModelPackage.getLink_SourceEndPoint()
-
setSourceEndPoint
void setSourceEndPoint(org.eclipse.draw2d.geometry.Point value)Sets the value of the 'Source End Point' attribute.- Parameters:
value- the new value of the 'Source End Point' attribute.- See Also:
getSourceEndPoint()
-
getTargetEndPoint
org.eclipse.draw2d.geometry.Point getTargetEndPoint()Returns the value of the 'Target End Point' attribute.- Returns:
- the value of the 'Target End Point' attribute.
- See Also:
setTargetEndPoint(Point),ModelPackage.getLink_TargetEndPoint()
-
setTargetEndPoint
void setTargetEndPoint(org.eclipse.draw2d.geometry.Point value)Sets the value of the 'Target End Point' attribute.- Parameters:
value- the new value of the 'Target End Point' attribute.- See Also:
getTargetEndPoint()
-