|
Protégé-OWL 3.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protegex.owl.swrl.bridge.builtins.AbstractSWRLBuiltInLibrary
edu.stanford.smi.protegex.owl.swrl.bridge.builtins.abox.SWRLBuiltInLibraryImpl
public class SWRLBuiltInLibraryImpl
Implementations library for SWRL ABox built-in methods. See here for documentation on this library. See here for documentation on defining SWRL built-in libraries.
Constructor Summary | |
---|---|
SWRLBuiltInLibraryImpl()
|
Method Summary | |
---|---|
boolean |
hasClass(List<BuiltInArgument> arguments)
Returns true if the individual named by the first argument is an instance of the class identified by the second argument. |
boolean |
hasIndividual(List<BuiltInArgument> arguments)
Returns true if the class named by the first argument has an individual identified by the second argument. |
boolean |
hasNumberOfPropertyValues(List<BuiltInArgument> arguments)
Returns true if the individual named by the second argument has the number of values specified by the first argument of the property specified by the third argument. |
boolean |
hasProperty(List<BuiltInArgument> arguments)
Returns true if the individual named by the first argument has a property specified by the second argument. |
boolean |
hasURI(List<BuiltInArgument> arguments)
Returns true if the OWL class, property, or individual named by the first argument has a URI identified by the second argument. |
boolean |
hasValue(List<BuiltInArgument> arguments)
Returns true if the individual named by the first argument has a property specified by the second argument with the value specified by the third argument. |
boolean |
isConstant(List<BuiltInArgument> arguments)
|
boolean |
isIndividual(List<BuiltInArgument> arguments)
Determine if a single argument is an OWL individual. |
boolean |
isNumeric(List<BuiltInArgument> arguments)
|
boolean |
notConstant(List<BuiltInArgument> arguments)
|
boolean |
notNumeric(List<BuiltInArgument> arguments)
|
void |
reset()
|
Methods inherited from class edu.stanford.smi.protegex.owl.swrl.bridge.builtins.AbstractSWRLBuiltInLibrary |
---|
getInvokingBridge, getInvokingBuiltInIndex, getInvokingRuleName, getIsInConsequent, getLibraryName, invokeBuiltInMethod, invokeResetMethod |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SWRLBuiltInLibraryImpl()
Method Detail |
---|
public void reset()
reset
in interface SWRLBuiltInLibrary
reset
in class AbstractSWRLBuiltInLibrary
public boolean isIndividual(List<BuiltInArgument> arguments) throws BuiltInException
BuiltInException
public boolean hasValue(List<BuiltInArgument> arguments) throws BuiltInException
BuiltInException
public boolean hasProperty(List<BuiltInArgument> arguments) throws BuiltInException
BuiltInException
public boolean hasIndividual(List<BuiltInArgument> arguments) throws BuiltInException
BuiltInException
public boolean hasURI(List<BuiltInArgument> arguments) throws BuiltInException
BuiltInException
public boolean hasClass(List<BuiltInArgument> arguments) throws BuiltInException
BuiltInException
public boolean hasNumberOfPropertyValues(List<BuiltInArgument> arguments) throws BuiltInException
BuiltInException
public boolean isConstant(List<BuiltInArgument> arguments) throws BuiltInException
BuiltInException
public boolean notConstant(List<BuiltInArgument> arguments) throws BuiltInException
BuiltInException
public boolean isNumeric(List<BuiltInArgument> arguments) throws BuiltInException
BuiltInException
public boolean notNumeric(List<BuiltInArgument> arguments) throws BuiltInException
BuiltInException
|
Protégé-OWL 3.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |