com.irs.jam
Class WorldModelRelation

java.lang.Object
  |
  +--com.irs.jam.TableObject
        |
        +--com.irs.jam.Symbol
              |
              +--com.irs.jam.WorldModelRelation
All Implemented Interfaces:
java.io.Serializable

public class WorldModelRelation
extends Symbol
implements java.io.Serializable

A World Model entry

See Also:
Serialized Form

Field Summary
protected  boolean _newTag
           
protected  Relation _relation
           
 
Fields inherited from class com.irs.jam.TableObject
_id, _name
 
Constructor Summary
WorldModelRelation(Relation rel)
          Constructor based on an existing relation
 
Method Summary
 void clearNew()
           
 Relation getRelation()
           
 boolean isNew()
           
 boolean matchRelation(Relation pattRelation, Binding pattBinding)
          Return whether a match can be found for the specified relation and variable binding.
 void setNew()
           
 
Methods inherited from class com.irs.jam.Symbol
equals, hashCode, print
 
Methods inherited from class com.irs.jam.TableObject
getID, getName, setID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_relation

protected Relation _relation

_newTag

protected boolean _newTag
Constructor Detail

WorldModelRelation

public WorldModelRelation(Relation rel)
Constructor based on an existing relation
Method Detail

getRelation

public Relation getRelation()

isNew

public boolean isNew()

clearNew

public void clearNew()

setNew

public void setNew()

matchRelation

public boolean matchRelation(Relation pattRelation,
                             Binding pattBinding)
Return whether a match can be found for the specified relation and variable binding.