org.graphdrawing.graphml
Interface EdgeType

All Superinterfaces:
EObject, Notifier
All Known Implementing Classes:
EdgeTypeImpl

public interface EdgeType
extends EObject

A representation of the model object 'Edge Type'. Complex type for the <edge> element.

The following features are supported:

See Also:
GraphMLPackage.getEdgeType()
Rating red
Generated:
This code was automatically generated.
Model element:
extendedMetaData="name='edge.type'
kind='elementOnly'"

Method Summary
 EList<DataType> getData()
          Returns the value of the 'Data' containment reference list.
 String getDesc()
          Returns the value of the 'Desc' attribute.
 GraphType getGraph()
          Returns the value of the 'Graph' containment reference.
 String getId()
          Returns the value of the 'Id' attribute.
 String getSource()
          Returns the value of the 'Source' attribute.
 String getSourceport()
          Returns the value of the 'Sourceport' attribute.
 String getTarget()
          Returns the value of the 'Target' attribute.
 String getTargetport()
          Returns the value of the 'Targetport' attribute.
 boolean isDirected()
          Returns the value of the 'Directed' attribute.
 boolean isSetDirected()
          Returns whether the value of the 'Directed' attribute is set.
 void setDesc(String value)
          Sets the value of the 'Desc' attribute.
 void setDirected(boolean value)
          Sets the value of the 'Directed' attribute.
 void setGraph(GraphType value)
          Sets the value of the 'Graph' containment reference.
 void setId(String value)
          Sets the value of the 'Id' attribute.
 void setSource(String value)
          Sets the value of the 'Source' attribute.
 void setSourceport(String value)
          Sets the value of the 'Sourceport' attribute.
 void setTarget(String value)
          Sets the value of the 'Target' attribute.
 void setTargetport(String value)
          Sets the value of the 'Targetport' attribute.
 void unsetDirected()
          Unsets the value of the 'Directed' attribute.
 
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

getDesc

String getDesc()
Returns the value of the 'Desc' attribute. Description: Provides human-readable descriptions for the GraphML element containing this <desc> as its first child. Occurence: <key>, <graphml>, <graph>, <node>, <port>, <edge>, <hyperedge>, and <endpoint>.

Returns:
the value of the 'Desc' attribute.
See Also:
setDesc(String), GraphMLPackage.getEdgeType_Desc()
Generated:
This code was automatically generated.
Model element:
dataType=org.eclipse.emf.ecore.xml.type.String
extendedMetaData="kind='element'
name='desc'
namespace='##targetNamespace'"

setDesc

void setDesc(String value)
Sets the value of the 'Desc' attribute.

Parameters:
value - the new value of the 'Desc' attribute.
See Also:
getDesc()
Generated:
This code was automatically generated.

getData

EList<DataType> getData()
Returns the value of the 'Data' containment reference list. The list contents are of type DataType. Description: In GraphML there may be data-functions attached to graphs, nodes, ports, edges, hyperedges and endpoint and to the whole collection of graphs described by the content of <graphml>. These functions are declared by <key> elements (children of <graphml>) and defined by <data> elements. Occurence: <graphml>, <graph>, <node>, <port>, <edge>, <hyperedge>, and <endpoint>.

Returns:
the value of the 'Data' containment reference list.
See Also:
GraphMLPackage.getEdgeType_Data()
Generated:
This code was automatically generated.
Model element:
containment=true
extendedMetaData="kind='element'
name='data'
namespace='##targetNamespace'"

getGraph

GraphType getGraph()
Returns the value of the 'Graph' containment reference. Description: Describes one graph in this document. Occurence: <graphml>, <node>, <edge>, <hyperedge>.

Returns:
the value of the 'Graph' containment reference.
See Also:
setGraph(GraphType), GraphMLPackage.getEdgeType_Graph()
Generated:
This code was automatically generated.
Model element:
containment=true
extendedMetaData="kind='element'
name='graph'
namespace='##targetNamespace'"

setGraph

void setGraph(GraphType value)
Sets the value of the 'Graph' containment reference.

Parameters:
value - the new value of the 'Graph' containment reference.
See Also:
getGraph()
Generated:
This code was automatically generated.

isDirected

boolean isDirected()
Returns the value of the 'Directed' attribute. overwrites the edgedefault attribute of <graph> .

Returns:
the value of the 'Directed' attribute.
See Also:
isSetDirected(), unsetDirected(), setDirected(boolean), GraphMLPackage.getEdgeType_Directed()
Generated:
This code was automatically generated.
Model element:
unsettable=true
dataType=org.eclipse.emf.ecore.xml.type.Boolean
extendedMetaData="kind='attribute'
name='directed'"

setDirected

void setDirected(boolean value)
Sets the value of the 'Directed' attribute.

Parameters:
value - the new value of the 'Directed' attribute.
See Also:
isSetDirected(), unsetDirected(), isDirected()
Generated:
This code was automatically generated.

unsetDirected

void unsetDirected()
Unsets the value of the 'Directed' attribute.

See Also:
isSetDirected(), isDirected(), setDirected(boolean)
Generated:
This code was automatically generated.

isSetDirected

boolean isSetDirected()
Returns whether the value of the 'Directed' attribute is set.

Returns:
whether the value of the 'Directed' attribute is set.
See Also:
unsetDirected(), isDirected(), setDirected(boolean)
Generated:
This code was automatically generated.

getId

String getId()
Returns the value of the 'Id' attribute. identifies this edge .

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), GraphMLPackage.getEdgeType_Id()
Generated:
This code was automatically generated.
Model element:
dataType=org.eclipse.emf.ecore.xml.type.NMTOKEN
extendedMetaData="kind='attribute'
name='id'"

setId

void setId(String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
Generated:
This code was automatically generated.

getSource

String getSource()
Returns the value of the 'Source' attribute. points to the id attribute of the source <node>.

Returns:
the value of the 'Source' attribute.
See Also:
setSource(String), GraphMLPackage.getEdgeType_Source()
Generated:
This code was automatically generated.
Model element:
dataType=org.eclipse.emf.ecore.xml.type.NMTOKEN
required=true
extendedMetaData="kind='attribute'
name='source'"

setSource

void setSource(String value)
Sets the value of the 'Source' attribute.

Parameters:
value - the new value of the 'Source' attribute.
See Also:
getSource()
Generated:
This code was automatically generated.

getSourceport

String getSourceport()
Returns the value of the 'Sourceport' attribute. points to the name attribute of the source <port>.

Returns:
the value of the 'Sourceport' attribute.
See Also:
setSourceport(String), GraphMLPackage.getEdgeType_Sourceport()
Generated:
This code was automatically generated.
Model element:
dataType=org.eclipse.emf.ecore.xml.type.NMTOKEN
extendedMetaData="kind='attribute'
name='sourceport'"

setSourceport

void setSourceport(String value)
Sets the value of the 'Sourceport' attribute.

Parameters:
value - the new value of the 'Sourceport' attribute.
See Also:
getSourceport()
Generated:
This code was automatically generated.

getTarget

String getTarget()
Returns the value of the 'Target' attribute. points to the id attribute of the target <node>.

Returns:
the value of the 'Target' attribute.
See Also:
setTarget(String), GraphMLPackage.getEdgeType_Target()
Generated:
This code was automatically generated.
Model element:
dataType=org.eclipse.emf.ecore.xml.type.NMTOKEN
required=true
extendedMetaData="kind='attribute'
name='target'"

setTarget

void setTarget(String value)
Sets the value of the 'Target' attribute.

Parameters:
value - the new value of the 'Target' attribute.
See Also:
getTarget()
Generated:
This code was automatically generated.

getTargetport

String getTargetport()
Returns the value of the 'Targetport' attribute. points to the name attribute of the target <port>.

Returns:
the value of the 'Targetport' attribute.
See Also:
setTargetport(String), GraphMLPackage.getEdgeType_Targetport()
Generated:
This code was automatically generated.
Model element:
dataType=org.eclipse.emf.ecore.xml.type.NMTOKEN
extendedMetaData="kind='attribute'
name='targetport'"

setTargetport

void setTargetport(String value)
Sets the value of the 'Targetport' attribute.

Parameters:
value - the new value of the 'Targetport' attribute.
See Also:
getTargetport()
Generated:
This code was automatically generated.