jInfer

cz.cuni.mff.ksi.jinfer.functionalDependencies
Class NodeValue

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.functionalDependencies.NodeValue

public class NodeValue
extends Object

Class representing value modification of the RXMLTree node.


Constructor Summary
NodeValue(String changedValue, boolean newValue)
          Default constructor.
 
Method Summary
 boolean equals(Object obj)
           
 String getChangedValue()
          Get changed value of the node.
 int hashCode()
           
 boolean isNewValue()
          Check if the changed node value is newly generated.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeValue

public NodeValue(String changedValue,
                 boolean newValue)
Default constructor. As a parameter gets new value of the node and a flag describing if this value is newly generated.

Parameters:
changedValue - New value of the node.
newValue - flag representing newly generated value.
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isNewValue

public boolean isNewValue()
Check if the changed node value is newly generated.

Returns:
true if the value is newly generated, otherwise return false.

getChangedValue

public String getChangedValue()
Get changed value of the node.

Returns:
Changed value of the node.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011