|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.jsl.DefaultSearchEdge
Default implementation of a search edge. This should do for all standard applications.
Constructor Summary | |
DefaultSearchEdge(Object domainObject,
SearchNode fromNode,
SearchNode toNode)
Creates a new edge between two nodes and associates this edge with the specified domain object. |
Method Summary | |
Object |
getDomainObject()
Gets the domain object associated to this search egde. |
SearchNode |
getFromNode()
Gets the node this edge leads from. |
SearchNode |
getToNode()
Gets the node this edge leads to. |
void |
setDomainObject(Object domainObject)
Sets the domain object associated to this search egde. |
void |
setFromNode(SearchNode fromNode)
Sets the node this edge leads from. |
void |
setToNode(SearchNode toNode)
Sets the node this edge leads to. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DefaultSearchEdge(Object domainObject, SearchNode fromNode, SearchNode toNode)
domainObject
- the domain object associated to this search egdefromNode
- the node this edge leads fromtoNode
- the node this edge leads toMethod Detail |
public Object getDomainObject()
SearchEdge
getDomainObject
in interface SearchEdge
public SearchNode getFromNode()
SearchEdge
getFromNode
in interface SearchEdge
SearchNode
this edge leads frompublic SearchNode getToNode()
SearchEdge
getToNode
in interface SearchEdge
SearchNode
this edge leads topublic void setDomainObject(Object domainObject)
SearchEdge
setDomainObject
in interface SearchEdge
domainObject
- the domain object associated to this search egdepublic void setFromNode(SearchNode fromNode)
SearchEdge
setFromNode
in interface SearchEdge
fromNode
- the SearchNode
this edge leads frompublic void setToNode(SearchNode toNode)
SearchEdge
setToNode
in interface SearchEdge
toNode
- the SearchNode
this edge leads topublic String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |