org.eclipse.palamedes.gdl.core.model.utils
Class GenericMove<NativeTerm>

java.lang.Object
  extended by org.eclipse.palamedes.gdl.core.model.utils.TermDelegator<NativeTerm>
      extended by org.eclipse.palamedes.gdl.core.model.utils.GenericMove<NativeTerm>
All Implemented Interfaces:
IMove

public class GenericMove<NativeTerm>
extends TermDelegator<NativeTerm>
implements IMove


Field Summary
protected  int hashCode
           
 
Fields inherited from class org.eclipse.palamedes.gdl.core.model.utils.TermDelegator
termwrapper
 
Constructor Summary
GenericMove(TermWrapper<NativeTerm> newMove)
           
 
Method Summary
 java.lang.String getMove()
           
 KIFTerm getMoveTerm()
           
 NativeTerm getNativeMove()
           
 java.lang.String getRole()
           
 KIFTerm getRoleTerm()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.palamedes.gdl.core.model.utils.TermDelegator
equals, getName, getNativeTerm, getTerm
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

hashCode

protected int hashCode
Constructor Detail

GenericMove

public GenericMove(TermWrapper<NativeTerm> newMove)
Method Detail

getMove

public java.lang.String getMove()
Specified by:
getMove in interface IMove
Returns:
a string representation of the move part of the does relation

getRole

public java.lang.String getRole()
Specified by:
getRole in interface IMove
Returns:
a string representation of the role part of the does relation

getNativeMove

public NativeTerm getNativeMove()

toString

public java.lang.String toString()
Specified by:
toString in interface IMove
Overrides:
toString in class TermDelegator<NativeTerm>

hashCode

public int hashCode()
Overrides:
hashCode in class TermDelegator<NativeTerm>

getRoleTerm

public KIFTerm getRoleTerm()
Specified by:
getRoleTerm in interface IMove
Returns:
a term representing the role part of the does relation

getMoveTerm

public KIFTerm getMoveTerm()
Specified by:
getMoveTerm in interface IMove
Returns:
a term representing the move part of the does relation