|
Protégé-OWL 3.4.8 | ||||||||
| 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<RDFResource> |
getReferencedInstances()
|
void |
getReferencedInstances(Set<RDFResource> 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 SWRLImppublic void deleteImp()
SWRLImp
deleteImp in interface SWRLImppublic SWRLAtomList getHead()
getHead in interface SWRLImppublic SWRLAtomList getBody()
getBody in interface SWRLImppublic void setBody(SWRLAtomList swrlAtomList)
setBody in interface SWRLImppublic void setHead(SWRLAtomList swrlAtomList)
setHead in interface SWRLImppublic Icon getIcon()
getIcon in interface edu.stanford.smi.protege.model.FramegetIcon in interface ProtegeInstancegetIcon in class DefaultRDFIndividualProtegeUI.getIcon(edu.stanford.smi.protegex.owl.model.RDFResource)public Set<RDFResource> getReferencedInstances()
getReferencedInstances in interface SWRLImppublic void getReferencedInstances(Set<RDFResource> set)
SWRLIndividual
getReferencedInstances in interface SWRLIndividualgetReferencedInstances in class AbstractSWRLIndividualpublic String getBrowserText()
RDFResource
getBrowserText in interface edu.stanford.smi.protege.model.FramegetBrowserText in interface ProtegeInstancegetBrowserText in interface RDFObjectgetBrowserText in interface RDFResourcegetBrowserText in class edu.stanford.smi.protege.model.DefaultInstance
public void setExpression(String parsableText)
throws SWRLParseException
SWRLImp
setExpression in interface SWRLImpparsableText - a SWRL expression
SWRLParseExceptionpublic boolean isEnabled()
isEnabled in interface SWRLImppublic void enable()
enable in interface SWRLImppublic void enable(String ruleGroupName)
enable in interface SWRLImppublic void enable(Set<String> ruleGroupNames)
enable in interface SWRLImppublic void disable()
disable in interface SWRLImppublic void disable(String ruleGroupName)
disable in interface SWRLImppublic void disable(Set<String> ruleGroupNames)
disable in interface SWRLImppublic Set<String> getRuleGroupNames()
getRuleGroupNames in interface SWRLImppublic boolean isInRuleGroup(String name)
isInRuleGroup in interface SWRLImppublic boolean isInRuleGroups(Set<String> names)
isInRuleGroups in interface SWRLImppublic boolean addRuleGroup(String name)
addRuleGroup in interface SWRLImppublic boolean removeRuleGroup(String name)
removeRuleGroup in interface SWRLImp
|
Protégé-OWL 3.4.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||