PSE 2000 Group 4

jobmatch.business.company.profile.tree
Class ORNode

java.lang.Object
  |
  +--jobmatch.business.company.profile.tree.AbstractNode
        |
        +--jobmatch.business.company.profile.tree.MemoryNode
              |
              +--jobmatch.business.company.profile.tree.OperationNode
                    |
                    +--jobmatch.business.company.profile.tree.ORNode

public class ORNode
extends OperationNode

OR - Node

Since:
May 16 2000
Version:
$Revision: 1.2 $
See Also:
Serialized Form

Fields inherited from class jobmatch.business.company.profile.tree.OperationNode
children
 
Constructor Summary
ORNode(MatchTree tree, TreeNode parent, TreeNode a, TreeNode b)
           
 
Method Summary
 Object clone()
           
 boolean equals(Object other)
           
protected  String getDelimiter()
           
 String getDescription()
           
 boolean match(Candidate candidate)
           
protected static boolean semanticEquality(ORNode a, ORNode b)
           
 String toString()
           
 
Methods inherited from class jobmatch.business.company.profile.tree.OperationNode
addNode, numChildren, semanticEquality
 
Methods inherited from class jobmatch.business.company.profile.tree.MemoryNode
getLeafNo, setLeafNo
 
Methods inherited from class jobmatch.business.company.profile.tree.AbstractNode
and, getParent, getTree, not, or, semanticEquality, setParent, setTree
 
Methods inherited from class java.lang.Object
, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ORNode

public ORNode(MatchTree tree,
              TreeNode parent,
              TreeNode a,
              TreeNode b)
Method Detail

getDescription

public String getDescription()
Overrides:
getDescription in class OperationNode

getDelimiter

protected String getDelimiter()
Overrides:
getDelimiter in class OperationNode

match

public boolean match(Candidate candidate)

equals

public boolean equals(Object other)
Overrides:
equals in class OperationNode
See Also:
Object.equals

semanticEquality

protected static boolean semanticEquality(ORNode a,
                                          ORNode b)
Returns:
true if a is considered the same as b

toString

public String toString()
Overrides:
toString in class OperationNode
See Also:
Object.toString

clone

public Object clone()
Overrides:
clone in class OperationNode
See Also:
Object.clone

PSE 2000 Group 4