Protégé-OWL 3.3.1

edu.stanford.smi.protegex.owl.swrl.bridge
Class RuleInfo

java.lang.Object
  extended by edu.stanford.smi.protegex.owl.swrl.bridge.Info
      extended by edu.stanford.smi.protegex.owl.swrl.bridge.RuleInfo

public class RuleInfo
extends Info

Info object representing a SWRL rule.


Constructor Summary
RuleInfo(String ruleName, List<AtomInfo> bodyAtoms, List<AtomInfo> headAtoms)
           
 
Method Summary
 List<AtomInfo> getBodyAtoms()
           
 List<BuiltInAtomInfo> getBuiltInAtomsFromBody(Set<String> builtInNames)
           
 List<BuiltInAtomInfo> getBuiltInAtomsFromHead(Set<String> builtInNames)
           
 List<AtomInfo> getHeadAtoms()
           
 String getRuleName()
           
 boolean isDatatypeVariable(String variableName)
           
 boolean isObjectVariable(String variableName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleInfo

public RuleInfo(String ruleName,
                List<AtomInfo> bodyAtoms,
                List<AtomInfo> headAtoms)
         throws SWRLRuleEngineBridgeException
Throws:
SWRLRuleEngineBridgeException
Method Detail

getRuleName

public String getRuleName()

getHeadAtoms

public List<AtomInfo> getHeadAtoms()

getBodyAtoms

public List<AtomInfo> getBodyAtoms()

isObjectVariable

public boolean isObjectVariable(String variableName)

isDatatypeVariable

public boolean isDatatypeVariable(String variableName)

getBuiltInAtomsFromHead

public List<BuiltInAtomInfo> getBuiltInAtomsFromHead(Set<String> builtInNames)
                                              throws SWRLRuleEngineBridgeException
Throws:
SWRLRuleEngineBridgeException

getBuiltInAtomsFromBody

public List<BuiltInAtomInfo> getBuiltInAtomsFromBody(Set<String> builtInNames)
                                              throws SWRLRuleEngineBridgeException
Throws:
SWRLRuleEngineBridgeException

Protégé-OWL 3.3.1

Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.