edu.lehigh.swat.hawk.core
Class AxiomNode

java.lang.Object
  extended by edu.lehigh.swat.hawk.core.AxiomNode
All Implemented Interfaces:
java.io.Serializable

public class AxiomNode
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
AxiomNode()
           
 
Method Summary
 void addChild(AxiomNode child)
           
 void addChild(java.util.Vector<AxiomNode> children)
           
 boolean equals(java.lang.Object o)
           
 AxiomNode getAllValuesFrom()
          Get the specified restriction class of 'allValuesFrom'.
 ObjectId getAtomicNode()
           
 java.util.Vector<AxiomNode> getChildren()
           
 AxiomNode getHasValue()
          Get the specified value of 'hasValue'.
 int getJoinType()
           
 int getMaxCardinality()
          Get the specified number of 'maxCardinality'.
 int getMinCardinality()
          Get the specified number of 'minCardinality'.
 AxiomNode getOnProperty()
          Get the property restricted on.
 java.lang.String getRestrictionId()
           
 AxiomNode getSomeValuesFrom()
          Get the specified restriction class of 'someValuesFrom'.
 void setAllValuesFrom(AxiomNode c)
          Set the specified restriction class of 'allValuesFrom'.
 void setAtomicNode(ObjectId aNode)
           
 void setHasValue(AxiomNode c)
          Set the specified value of 'hasValue'.
 void setJoinType(int type)
           
 void setMaxCardinality(int n)
          Set the specified number of 'maxCardinality'.
 void setMinCardinality(int n)
          Set the specified number of 'minCardinality'.
 void setOnProperty(AxiomNode p)
          Set the property restricted on.
 void setRestriction(PropertyRestriction restriction)
           
 void setSomeValuesFrom(AxiomNode c)
          Set the specified restriction class of 'someValuesFrom'.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxiomNode

public AxiomNode()
Method Detail

getJoinType

public int getJoinType()

setJoinType

public void setJoinType(int type)

getAtomicNode

public ObjectId getAtomicNode()

setAtomicNode

public void setAtomicNode(ObjectId aNode)

getChildren

public java.util.Vector<AxiomNode> getChildren()

addChild

public void addChild(AxiomNode child)

addChild

public void addChild(java.util.Vector<AxiomNode> children)

setRestriction

public void setRestriction(PropertyRestriction restriction)

getOnProperty

public AxiomNode getOnProperty()
Get the property restricted on.


setOnProperty

public void setOnProperty(AxiomNode p)
Set the property restricted on.


getAllValuesFrom

public AxiomNode getAllValuesFrom()
Get the specified restriction class of 'allValuesFrom'.


setAllValuesFrom

public void setAllValuesFrom(AxiomNode c)
Set the specified restriction class of 'allValuesFrom'.


getSomeValuesFrom

public AxiomNode getSomeValuesFrom()
Get the specified restriction class of 'someValuesFrom'.


setSomeValuesFrom

public void setSomeValuesFrom(AxiomNode c)
Set the specified restriction class of 'someValuesFrom'.


getRestrictionId

public java.lang.String getRestrictionId()

getMinCardinality

public int getMinCardinality()
Get the specified number of 'minCardinality'.


setMinCardinality

public void setMinCardinality(int n)
Set the specified number of 'minCardinality'.


getMaxCardinality

public int getMaxCardinality()
Get the specified number of 'maxCardinality'.


setMaxCardinality

public void setMaxCardinality(int n)
Set the specified number of 'maxCardinality'.


getHasValue

public AxiomNode getHasValue()
Get the specified value of 'hasValue'.


setHasValue

public void setHasValue(AxiomNode c)
Set the specified value of 'hasValue'.


equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object