com.clarkparsia.pellet.rules.model
Class UnaryAtom<A extends AtomObject>
java.lang.Object
com.clarkparsia.pellet.rules.model.RuleAtomImpl<aterm.ATermAppl>
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)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UnaryAtom
public UnaryAtom(aterm.ATermAppl predicate,
A argument)
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.