org.semanticweb.lp
Class FunctorTerm

java.lang.Object
  extended byorg.semanticweb.lp.Term
      extended byorg.semanticweb.lp.FunctorTerm
All Implemented Interfaces:
java.io.Serializable

public class FunctorTerm
extends Term
implements java.io.Serializable

Description of the Class

Author:
Administrator
See Also:
Serialized Form

Constructor Summary
FunctorTerm(java.lang.String functor, java.util.ArrayList args)
          Constructor for the FunctorTerm object
FunctorTerm(java.lang.String functor, Term[] args)
           
 
Method Summary
 Term[] getArgs()
          Gets the args attribute of the FunctorTerm object
 int getArity()
          Gets the arity attribute of the FunctorTerm object
 java.lang.String getFunctor()
          Gets the functor attribute of the FunctorTerm object
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FunctorTerm

public FunctorTerm(java.lang.String functor,
                   java.util.ArrayList args)
Constructor for the FunctorTerm object

Parameters:
functor - Description of the Parameter
args - Description of the Parameter

FunctorTerm

public FunctorTerm(java.lang.String functor,
                   Term[] args)
Method Detail

getArgs

public Term[] getArgs()
Gets the args attribute of the FunctorTerm object

Returns:
The args value

getArity

public int getArity()
Gets the arity attribute of the FunctorTerm object

Returns:
The arity value

getFunctor

public java.lang.String getFunctor()
Gets the functor attribute of the FunctorTerm object

Returns:
The functor value

toString

public java.lang.String toString()
Description of the Method

Returns:
Description of the Return Value