org.deri.wsmo4j.rule
Class RelationFactRI

java.lang.Object
  extended by org.deri.wsmo4j.rule.RelationFactRI
All Implemented Interfaces:
Iterable<org.omwg.logicalexpression.AtomicExpression>, CompoundFact, RelationFact

public class RelationFactRI
extends Object
implements RelationFact

Interface or class description

Version:
$Revision: 1844 $ $Date: 2006-10-24 17:11:48 +0300 (Tue, 24 Oct 2006) $
Author:
James Scicluna, Thomas Haselwanter, Vassil Momtchev Created on 03-Feb-2006 Committed by $Author: vassil_momtchev $ $Source$,

Constructor Summary
RelationFactRI()
          Default constructor RelationFactRI
RelationFactRI(org.omwg.logicalexpression.Atom atom)
          Constructor
 
Method Summary
 org.omwg.logicalexpression.Atom getAtom()
           
 boolean isEmpty()
          Check if the fact contains any information
 Iterator<org.omwg.logicalexpression.AtomicExpression> iterator()
           
 void setAtom(org.omwg.logicalexpression.Atom atom)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationFactRI

public RelationFactRI()
Default constructor RelationFactRI


RelationFactRI

public RelationFactRI(org.omwg.logicalexpression.Atom atom)
Constructor

Parameters:
atom - contained atom in the relation
Throws:
IllegalArgumentException
Method Detail

getAtom

public org.omwg.logicalexpression.Atom getAtom()
Specified by:
getAtom in interface RelationFact

setAtom

public void setAtom(org.omwg.logicalexpression.Atom atom)
Specified by:
setAtom in interface RelationFact

isEmpty

public boolean isEmpty()
Description copied from interface: CompoundFact
Check if the fact contains any information

Specified by:
isEmpty in interface CompoundFact
Returns:

iterator

public Iterator<org.omwg.logicalexpression.AtomicExpression> iterator()
Specified by:
iterator in interface Iterable<org.omwg.logicalexpression.AtomicExpression>


Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.