org.apache.ojb.broker
Class GraphEdge
java.lang.Object
org.apache.ojb.broker.GraphEdge
- All Implemented Interfaces:
- java.io.Serializable
- public class GraphEdge
- extends java.lang.Object
- implements java.io.Serializable
GraphNode and GraphEdge model oriented graph with named nodes.
In this case there are two relations between two classes.
- Author:
- Oleg Nitz
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GraphEdge
public GraphEdge()
GraphEdge
public GraphEdge(int id,
int sourceId,
int sinkId)
GraphEdge
public GraphEdge(GraphNode source,
GraphNode sink)
getSourceId
public int getSourceId()
getSinkId
public int getSinkId()
getSource
public GraphNode getSource()
getSink
public GraphNode getSink()
getId
public int getId()
setSourceId
public void setSourceId(int sourceId)
setSinkId
public void setSinkId(int sinkId)
setSource
public void setSource(GraphNode source)
setSink
public void setSink(GraphNode sink)
setId
public void setId(int id)
toString
public java.lang.String toString()
Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14