com.clarkparsia.pellet.rules.model
Class BinaryAtom<P,A extends AtomObject,B extends AtomObject>

java.lang.Object
  extended by com.clarkparsia.pellet.rules.model.RuleAtomImpl<P>
      extended by com.clarkparsia.pellet.rules.model.BinaryAtom<P,A,B>
All Implemented Interfaces:
RuleAtom
Direct Known Subclasses:
DatavaluedPropertyAtom, DifferentIndividualsAtom, IndividualPropertyAtom, SameIndividualAtom

public abstract class BinaryAtom<P,A extends AtomObject,B extends AtomObject>
extends RuleAtomImpl<P>

Title: Property Atom

Description:

Copyright: Copyright (c) 2007

Company: Clark & Parsia, LLC.

Author:
Ron Alford

Constructor Summary
BinaryAtom(P predicate, A argument1, B argument2)
           
 
Method Summary
 java.util.List<AtomObject> getAllArguments()
          Return all arguments (constants and variables) to the rule atom.
 A getArgument1()
           
 B getArgument2()
           
 
Methods inherited from class com.clarkparsia.pellet.rules.model.RuleAtomImpl
accept, equals, getPredicate, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryAtom

public BinaryAtom(P predicate,
                  A argument1,
                  B argument2)
Method Detail

getAllArguments

public java.util.List<AtomObject> 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<P>

getArgument1

public A getArgument1()

getArgument2

public B getArgument2()


Copyright © 2004 Evren Sirin. All Rights Reserved.