Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mindswap.pellet.rules.model
Class BinaryAtom<P,A extends AtomObject,B extends AtomObject>

    java.lang.Object
      org.mindswap.pellet.rules.model.RuleAtomImpl<P>
          org.mindswap.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.Collection<AtomObject>` | `getAllArguments()` Return all arguments (constants and variables) to the rule atom.
`A` | `getArgument1()`
`B` | `getArgument2()`
`java.lang.String` | `toString()`

Methods inherited from class org.mindswap.pellet.rules.model.RuleAtomImpl
`accept, equals, getPredicate, hashCode`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### BinaryAtom

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

Method Detail

### getAllArguments

    public java.util.Collection<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()

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `RuleAtomImpl<P>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Evren Sirin. All Rights Reserved.