|
Protégé-OWL 3.4.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SWRLBuiltInLibrary
A class that defines methods that must be implemented by a built-in library. See here for documentation.
Also includes an array of methods for processing built-in arguments.
The class AbstractSWRLBuiltInLibrary provides an implementation of this interface.
| Method Detail |
|---|
String getLibraryName()
void reset()
throws BuiltInException
BuiltInException
SWRLBuiltInBridge getBuiltInBridge()
throws SWRLBuiltInLibraryException
SWRLBuiltInLibraryException
String getInvokingRuleName()
throws SWRLBuiltInLibraryException
SWRLBuiltInLibraryException
int getInvokingBuiltInIndex()
throws SWRLBuiltInLibraryException
SWRLBuiltInLibraryException
void invokeResetMethod(SWRLBuiltInBridge bridge)
throws SWRLBuiltInLibraryException
SWRLBuiltInLibraryException
boolean invokeBuiltInMethod(Method method,
SWRLBuiltInBridge bridge,
String ruleName,
String prefix,
String builtInMethodName,
int builtInIndex,
boolean isInConsequent,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatInConsequent()
throws BuiltInException
BuiltInException
void checkThatInAntecedent()
throws BuiltInException
BuiltInException
boolean getIsInConsequent()
throws SWRLBuiltInLibraryException
SWRLBuiltInLibraryException
String getVariableName(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean hasUnboundArguments(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatAllArgumentsAreBound(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsBound(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isUnboundArgument(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkForUnboundArguments(String ruleName,
String builtInName,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
int getFirstUnboundArgument(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkForUnboundArguments(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkForUnboundArguments(List<BuiltInArgument> arguments,
String message)
throws BuiltInException
BuiltInException
void checkForNonVariableArguments(List<BuiltInArgument> arguments,
String message)
throws BuiltInException
BuiltInException
void checkForUnboundNonFirstArguments(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkNumberOfArgumentsEqualTo(int expecting,
int actual)
throws InvalidBuiltInArgumentNumberException
InvalidBuiltInArgumentNumberException
void checkNumberOfArgumentsAtLeast(int expectingAtLeast,
int actual)
throws InvalidBuiltInArgumentNumberException
InvalidBuiltInArgumentNumberException
void checkNumberOfArgumentsAtMost(int expectingAtMost,
int actual)
throws InvalidBuiltInArgumentNumberException
InvalidBuiltInArgumentNumberException
void checkNumberOfArgumentsInRange(int expectingAtLeast,
int expectingAtMost,
int actual)
throws InvalidBuiltInArgumentNumberException
InvalidBuiltInArgumentNumberException
void checkArgumentNumber(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
String getArgumentAsAURI(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsAClassPropertyOrIndividual(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentAClassPropertyOrIndividual(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
String getArgumentAsAClassURI(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
ClassArgument getArgumentAsAClass(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentAClass(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsAClass(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentAnIndividual(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsAnIndividual(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
String getArgumentAsAnIndividualURI(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
SWRLIndividualArgumentReference getArgumentAsAnIndividual(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentAProperty(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentAnObjectProperty(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentADataProperty(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
String getArgumentAsAPropertyURI(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
ObjectPropertyArgument getArgumentAsAnObjectProperty(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
DataPropertyArgument getArgumentAsADataProperty(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsAProperty(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsAnObjectProperty(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsADataProperty(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatAllArgumentsAreDataValues(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean areAllArgumentDataValues(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsADataValue(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentADataValue(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
DataValue getArgumentAsADataValue(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
DataValue getArgumentAsADataValue(BuiltInArgument argument)
throws BuiltInException
BuiltInException
boolean areAllArgumentsBooleans(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsABoolean(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentABoolean(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean getArgumentAsABoolean(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatAllArgumentsAreStrings(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentAString(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
String getArgumentAsAString(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean areAllArgumentsStrings(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsAString(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsOfAnOrderedType(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentOfAnOrderedType(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean areAllArgumentsOfAnOrderedType(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentNumeric(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentNonNumeric(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatAllArgumentsAreOfAnOrderedType(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsNumeric(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatAllArgumentsAreNumeric(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean areAllArgumentsNumeric(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsNonNumeric(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean areAllArgumentsShorts(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isShortMostPreciseArgument(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentConvertableToShort(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentAShort(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
short getArgumentAsAShort(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsALong(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isIntegerMostPreciseArgument(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatAllArgumentsAreIntegers(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean areAllArgumentsIntegers(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentConvertableToInteger(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsAnInteger(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentAnInteger(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
int getArgumentAsAnInteger(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
int getArgumentAsAPositiveInteger(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isLongMostPreciseArgument(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean areAllArgumentsLongs(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentConvertableToLong(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentALong(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
long getArgumentAsALong(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
long getArgumentAsAPositiveLong(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isFloatMostPreciseArgument(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatAllArgumentsAreFloats(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean areAllArgumentsFloats(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentConvertableToFloat(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsAFloat(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentAFloat(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
float getArgumentAsAFloat(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
float getArgumentAsAFloat(BuiltInArgument argument)
throws BuiltInException
BuiltInException
boolean areAllArgumentsDoubles(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentConvertableToDouble(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
void checkThatArgumentIsADouble(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean isArgumentADouble(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
double getArgumentAsADouble(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
double getArgumentAsADouble(BuiltInArgument argument)
throws BuiltInException
BuiltInException
String createInvocationPattern(SWRLBuiltInBridge invokingBridge,
String invokingRuleName,
int invokingBuiltInIndex,
boolean isInConsequent,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
List<BuiltInArgument> copyArguments(List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
Object getArgumentAsAPropertyValue(int argumentNumber,
List<BuiltInArgument> arguments)
throws BuiltInException
BuiltInException
boolean processResultArgument(List<BuiltInArgument> arguments,
int resultArgumentNumber,
Collection<BuiltInArgument> resultArguments)
throws BuiltInException
BuiltInException
boolean processResultArgument(List<BuiltInArgument> arguments,
int resultArgumentNumber,
BuiltInArgument resultArgument)
throws BuiltInException
BuiltInException
boolean processResultArgument(List<BuiltInArgument> arguments,
int resultArgumentNumber,
SWRLLiteralArgumentReference resultArgument)
throws BuiltInException
BuiltInException
boolean processResultArgument(List<BuiltInArgument> arguments,
int resultArgumentNumber,
short resultArgument)
throws BuiltInException
BuiltInException
boolean processResultArgument(List<BuiltInArgument> arguments,
int resultArgumentNumber,
int resultArgument)
throws BuiltInException
BuiltInException
boolean processResultArgument(List<BuiltInArgument> arguments,
int resultArgumentNumber,
long resultArgument)
throws BuiltInException
BuiltInException
boolean processResultArgument(List<BuiltInArgument> arguments,
int resultArgumentNumber,
float resultArgument)
throws BuiltInException
BuiltInException
boolean processResultArgument(List<BuiltInArgument> arguments,
int resultArgumentNumber,
double resultArgument)
throws BuiltInException
BuiltInException
boolean processResultArgument(List<BuiltInArgument> arguments,
int resultArgumentNumber,
byte resultArgument)
throws BuiltInException
BuiltInException
boolean processResultArgument(List<BuiltInArgument> arguments,
int resultArgumentNumber,
String resultArgument)
throws BuiltInException
BuiltInExceptionClassArgument createClassArgument(String classURI)
SWRLIndividualArgumentReference createIndividualArgument(String individualURI)
ObjectPropertyArgument createObjectPropertyArgument(String propertyURI)
DataPropertyArgument createDataPropertyArgument(String propertyURI)
SWRLLiteralArgumentReference createDataValueArgument(String s)
SWRLLiteralArgumentReference createDataValueArgument(boolean b)
SWRLLiteralArgumentReference createDataValueArgument(int i)
SWRLLiteralArgumentReference createDataValueArgument(long l)
SWRLLiteralArgumentReference createDataValueArgument(float f)
SWRLLiteralArgumentReference createDataValueArgument(double d)
SWRLLiteralArgumentReference createDataValueArgument(short s)
SWRLLiteralArgumentReference createDataValueArgument(Byte b)
SWRLLiteralArgumentReference createDataValueArgument(XSDType xsd)
MultiArgument createMultiArgument()
MultiArgument createMultiArgument(List<BuiltInArgument> arguments)
|
Protégé-OWL 3.4.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||