planet.commonapi.GML
Interface GMLEdge
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- GMLEdgeImpl
- public interface GMLEdge
- extends java.io.Serializable
This wrapper class is used to store an edge of a directed or undirected
graph according to GML file format.
- Author:
- Marc Sānchez , Jordi Pujol
- See Also:
- GML
getFill
public java.lang.String getFill()
- Returns:
- Returns the fill color of the edge.
setFill
public void setFill(java.lang.String fill)
- Parameters:
fill
- The fill color of the edge to set.
getSource
public Id getSource()
- Returns:
- Returns the source.
setSource
public void setSource(Id source)
- Parameters:
source
- The source to set.
getTarget
public Id getTarget()
- Returns:
- Returns the target.
setTarget
public void setTarget(Id target)
- Parameters:
target
- The target to set.
isDirected
public boolean isDirected()
- Returns:
- Returns the isDirected.
setDirected
public void setDirected(boolean isDirected)
- Parameters:
isDirected
- The isDirected to set.