com.clarkparsia.pellet.rules.model
Class UnaryAtom<A extends AtomObject>

java.lang.Object
  extended by com.clarkparsia.pellet.rules.model.RuleAtomImpl<aterm.ATermAppl>
      extended by com.clarkparsia.pellet.rules.model.UnaryAtom<A>
All Implemented Interfaces:
RuleAtom
Direct Known Subclasses:
ClassAtom, DataRangeAtom

public abstract class UnaryAtom<A extends AtomObject>
extends RuleAtomImpl<aterm.ATermAppl>

Title: Unary Atom

Description:

Copyright: Copyright (c) 2007

Company: Clark & Parsia, LLC.

Author:
Ron Alford

Constructor Summary
UnaryAtom(aterm.ATermAppl predicate, A argument)
           
 
Method Summary
 java.util.List<A> getAllArguments()
          Return all arguments (constants and variables) to the rule atom.
 A getArgument()
           
 java.lang.String toString()
           
 
Methods inherited from class com.clarkparsia.pellet.rules.model.RuleAtomImpl
accept, equals, getPredicate, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnaryAtom

public UnaryAtom(aterm.ATermAppl predicate,
                 A argument)
Method Detail

getAllArguments

public java.util.List<A> getAllArguments()
Description copied from interface: RuleAtom
Return all arguments (constants and variables) to the rule atom.

Specified by:
getAllArguments in interface RuleAtom
Specified by:
getAllArguments in class RuleAtomImpl<aterm.ATermAppl>

getArgument

public A getArgument()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004 Evren Sirin. All Rights Reserved.