Package openllet.core.rules.model
Class BinaryAtom<P,A extends AtomObject,B extends AtomObject>
- java.lang.Object
-
- openllet.core.rules.model.RuleAtomImpl<P>
-
- openllet.core.rules.model.BinaryAtom<P,A,B>
-
- Type Parameters:
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
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
- Author:
- Ron Alford
-
-
Constructor Summary
Constructors Constructor Description BinaryAtom(P predicate, A argument1, B argument2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AtomObject>getAllArguments()AgetArgument1()BgetArgument2()-
Methods inherited from class openllet.core.rules.model.RuleAtomImpl
accept, equals, getPredicate, hashCode
-
-
-
-
Method Detail
-
getAllArguments
public java.util.List<AtomObject> getAllArguments()
- Specified by:
getAllArgumentsin interfaceRuleAtom- Specified by:
getAllArgumentsin classRuleAtomImpl<P>- Returns:
- all arguments (constants and variables) to the rule atom.
-
getArgument1
public A getArgument1()
-
getArgument2
public B getArgument2()
-
-