|
Protégé-OWL 3.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protege.model.DefaultFrame
edu.stanford.smi.protege.model.DefaultInstance
edu.stanford.smi.protege.model.DefaultSimpleInstance
edu.stanford.smi.protegex.owl.model.impl.DefaultRDFIndividual
edu.stanford.smi.protegex.owl.model.impl.DefaultOWLIndividual
edu.stanford.smi.protegex.owl.swrl.model.impl.AbstractSWRLIndividual
edu.stanford.smi.protegex.owl.swrl.model.impl.DefaultSWRLImp
public class DefaultSWRLImp
Field Summary | |
---|---|
static String |
EMPTY_RULE_TEXT
|
Constructor Summary | |
---|---|
DefaultSWRLImp()
|
|
DefaultSWRLImp(edu.stanford.smi.protege.model.KnowledgeBase kb,
edu.stanford.smi.protege.model.FrameID id)
|
Method Summary | |
---|---|
boolean |
addRuleGroup(String name)
Add a rule group name to a rule. |
SWRLImp |
createClone()
|
void |
deleteImp()
Deletes this and all depending objects of the rule. |
void |
disable()
|
void |
disable(Set<String> ruleGroupNames)
|
void |
disable(String ruleGroupName)
|
void |
enable()
|
void |
enable(Set<String> ruleGroupNames)
|
void |
enable(String ruleGroupName)
|
SWRLAtomList |
getBody()
|
String |
getBrowserText()
Gets a human-readable visual representation of this resource. |
SWRLAtomList |
getHead()
|
Icon |
getIcon()
|
Set |
getReferencedInstances()
|
void |
getReferencedInstances(Set set)
Collects all instances (SWRLInstances, classes, etc) that are somehow involved in the subexpression below this. |
Set<String> |
getRuleGroupNames()
|
boolean |
isEnabled()
|
boolean |
isInRuleGroup(String name)
|
boolean |
isInRuleGroups(Set<String> names)
|
boolean |
removeRuleGroup(String name)
Remove a rule group name from a rule. |
void |
setBody(SWRLAtomList swrlAtomList)
|
void |
setExpression(String parsableText)
Tries to parse the given text to create head and body of this Imp. |
void |
setHead(SWRLAtomList swrlAtomList)
|
Methods inherited from class edu.stanford.smi.protegex.owl.swrl.model.impl.AbstractSWRLIndividual |
---|
accept |
Methods inherited from class edu.stanford.smi.protegex.owl.model.impl.DefaultOWLIndividual |
---|
equalsStructurally |
Methods inherited from class edu.stanford.smi.protege.model.DefaultSimpleInstance |
---|
rename |
Methods inherited from class edu.stanford.smi.protege.model.DefaultInstance |
---|
addDirectType, addInstanceListener, copy, deepCopy, getDirectType, getDirectTypes, getOwnFacetValue, getOwnFacetValues, getReachableSimpleInstances, hasDirectType, hasType, moveDirectType, removeDirectType, removeInstanceListener, setDirectType, setDirectTypes, shallowCopy |
Methods inherited from class edu.stanford.smi.protege.model.DefaultFrame |
---|
addFrameListener, addOwnFacetValue, addOwnSlotValue, areValidOwnSlotValues, assertFrameName, compareTo, delete, equals, equals, getDefaultKnowledgeBase, getDefiningProjectURI, getDirectOwnSlotValue, getDirectOwnSlotValues, getFrameID, getInvalidOwnSlotValuesText, getInvalidOwnSlotValueText, getKnowledgeBase, getName, getOwnSlotAllowsMultipleValues, getOwnSlotAndSubslotValues, getOwnSlotDefaultValues, getOwnSlotFacets, getOwnSlotFacetValues, getOwnSlots, getOwnSlotValue, getOwnSlotValueCount, getOwnSlotValues, getOwnSlotValueType, getProject, getReferences, getReferences, hashCode, hasOwnSlot, isBeingDeleted, isDeleted, isEditable, isIncluded, isSystem, isValid, isValidOwnSlotValue, isVisible, localize, markDeleted, markDeleting, moveDirectOwnSlotValue, removeFrameListener, removeOwnSlotValue, setDirectOwnSlotValue, setDirectOwnSlotValues, setDocumentation, setEditable, setIncluded, setOwnFacetValue, setOwnFacetValues, setOwnSlotValue, setOwnSlotValues, setSystem, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.stanford.smi.protege.model.Instance |
---|
moveDirectType |
Methods inherited from interface edu.stanford.smi.protege.model.Frame |
---|
assertFrameName, getFrameID, isValid, moveDirectOwnSlotValue, rename |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface edu.stanford.smi.protegex.owl.model.RDFObject |
---|
equalsStructurally |
Methods inherited from interface edu.stanford.smi.protegex.owl.model.visitor.Visitable |
---|
accept |
Field Detail |
---|
public static final String EMPTY_RULE_TEXT
Constructor Detail |
---|
public DefaultSWRLImp(edu.stanford.smi.protege.model.KnowledgeBase kb, edu.stanford.smi.protege.model.FrameID id)
public DefaultSWRLImp()
Method Detail |
---|
public SWRLImp createClone()
createClone
in interface SWRLImp
public void deleteImp()
SWRLImp
deleteImp
in interface SWRLImp
public SWRLAtomList getHead()
getHead
in interface SWRLImp
public SWRLAtomList getBody()
getBody
in interface SWRLImp
public void setBody(SWRLAtomList swrlAtomList)
setBody
in interface SWRLImp
public void setHead(SWRLAtomList swrlAtomList)
setHead
in interface SWRLImp
public Icon getIcon()
getIcon
in interface edu.stanford.smi.protege.model.Frame
getIcon
in interface ProtegeInstance
getIcon
in class DefaultRDFIndividual
ProtegeUI.getIcon(edu.stanford.smi.protegex.owl.model.RDFResource)
public Set getReferencedInstances()
getReferencedInstances
in interface SWRLImp
public void getReferencedInstances(Set set)
SWRLIndividual
getReferencedInstances
in interface SWRLIndividual
getReferencedInstances
in class AbstractSWRLIndividual
public String getBrowserText()
RDFResource
getBrowserText
in interface edu.stanford.smi.protege.model.Frame
getBrowserText
in interface ProtegeInstance
getBrowserText
in interface RDFObject
getBrowserText
in interface RDFResource
getBrowserText
in class edu.stanford.smi.protege.model.DefaultInstance
public void setExpression(String parsableText) throws SWRLParseException
SWRLImp
setExpression
in interface SWRLImp
parsableText
- a SWRL expression
SWRLParseException
public boolean isEnabled()
isEnabled
in interface SWRLImp
public void enable()
enable
in interface SWRLImp
public void enable(String ruleGroupName)
enable
in interface SWRLImp
public void enable(Set<String> ruleGroupNames)
enable
in interface SWRLImp
public void disable()
disable
in interface SWRLImp
public void disable(String ruleGroupName)
disable
in interface SWRLImp
public void disable(Set<String> ruleGroupNames)
disable
in interface SWRLImp
public Set<String> getRuleGroupNames()
getRuleGroupNames
in interface SWRLImp
public boolean isInRuleGroup(String name)
isInRuleGroup
in interface SWRLImp
public boolean isInRuleGroups(Set<String> names)
isInRuleGroups
in interface SWRLImp
public boolean addRuleGroup(String name)
addRuleGroup
in interface SWRLImp
public boolean removeRuleGroup(String name)
removeRuleGroup
in interface SWRLImp
|
Protégé-OWL 3.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |