org.eclipse.palamedes.gdl.core.model.utils
Class GenericMove<NativeTerm>
java.lang.Object
org.eclipse.palamedes.gdl.core.model.utils.TermDelegator<NativeTerm>
org.eclipse.palamedes.gdl.core.model.utils.GenericMove<NativeTerm>
- All Implemented Interfaces:
- IMove
public class GenericMove<NativeTerm>
- extends TermDelegator<NativeTerm>
- implements IMove
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
hashCode
protected int hashCode
GenericMove
public GenericMove(TermWrapper<NativeTerm> newMove)
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