edu.stanford.smi.protegex.owl.swrl.bridge
Class RuleInfo
java.lang.Object
edu.stanford.smi.protegex.owl.swrl.bridge.Info
edu.stanford.smi.protegex.owl.swrl.bridge.RuleInfo
public class RuleInfo
- extends Info
Info object representing a SWRL rule.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleInfo
public RuleInfo(String ruleName,
List<AtomInfo> bodyAtoms,
List<AtomInfo> headAtoms)
throws SWRLRuleEngineBridgeException
- Throws:
SWRLRuleEngineBridgeException
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
Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.