Protégé-OWL 3.4.8

edu.stanford.smi.protegex.owl.swrl.bridge.builtins
Interface SWRLBuiltInLibrary

All Known Implementing Classes:
AbstractSWRLBuiltInLibrary, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl

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 Summary
 boolean areAllArgumentDataValues(List<BuiltInArgument> arguments)
           
 boolean areAllArgumentsBooleans(List<BuiltInArgument> arguments)
           
 boolean areAllArgumentsDoubles(List<BuiltInArgument> arguments)
           
 boolean areAllArgumentsFloats(List<BuiltInArgument> arguments)
           
 boolean areAllArgumentsIntegers(List<BuiltInArgument> arguments)
           
 boolean areAllArgumentsLongs(List<BuiltInArgument> arguments)
           
 boolean areAllArgumentsNumeric(List<BuiltInArgument> arguments)
           
 boolean areAllArgumentsOfAnOrderedType(List<BuiltInArgument> arguments)
           
 boolean areAllArgumentsShorts(List<BuiltInArgument> arguments)
           
 boolean areAllArgumentsStrings(List<BuiltInArgument> arguments)
           
 void checkArgumentNumber(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkForNonVariableArguments(List<BuiltInArgument> arguments, String message)
           
 void checkForUnboundArguments(List<BuiltInArgument> arguments)
           
 void checkForUnboundArguments(List<BuiltInArgument> arguments, String message)
           
 void checkForUnboundArguments(String ruleName, String builtInName, List<BuiltInArgument> arguments)
           
 void checkForUnboundNonFirstArguments(List<BuiltInArgument> arguments)
           
 void checkNumberOfArgumentsAtLeast(int expectingAtLeast, int actual)
           
 void checkNumberOfArgumentsAtMost(int expectingAtMost, int actual)
           
 void checkNumberOfArgumentsEqualTo(int expecting, int actual)
           
 void checkNumberOfArgumentsInRange(int expectingAtLeast, int expectingAtMost, int actual)
           
 void checkThatAllArgumentsAreBound(List<BuiltInArgument> arguments)
           
 void checkThatAllArgumentsAreDataValues(List<BuiltInArgument> arguments)
           
 void checkThatAllArgumentsAreFloats(List<BuiltInArgument> arguments)
           
 void checkThatAllArgumentsAreIntegers(List<BuiltInArgument> arguments)
           
 void checkThatAllArgumentsAreNumeric(List<BuiltInArgument> arguments)
           
 void checkThatAllArgumentsAreOfAnOrderedType(List<BuiltInArgument> arguments)
           
 void checkThatAllArgumentsAreStrings(List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsABoolean(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsAClass(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsAClassPropertyOrIndividual(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsADataProperty(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsADataValue(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsADouble(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsAFloat(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsALong(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsAnIndividual(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsAnInteger(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsAnObjectProperty(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsAProperty(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsAString(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsBound(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsNonNumeric(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsNumeric(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatArgumentIsOfAnOrderedType(int argumentNumber, List<BuiltInArgument> arguments)
           
 void checkThatInAntecedent()
           
 void checkThatInConsequent()
           
 List<BuiltInArgument> copyArguments(List<BuiltInArgument> arguments)
           
 ClassArgument createClassArgument(String classURI)
           
 DataPropertyArgument createDataPropertyArgument(String propertyURI)
           
 SWRLLiteralArgumentReference createDataValueArgument(boolean b)
           
 SWRLLiteralArgumentReference createDataValueArgument(Byte b)
           
 SWRLLiteralArgumentReference createDataValueArgument(double d)
           
 SWRLLiteralArgumentReference createDataValueArgument(float f)
           
 SWRLLiteralArgumentReference createDataValueArgument(int i)
           
 SWRLLiteralArgumentReference createDataValueArgument(long l)
           
 SWRLLiteralArgumentReference createDataValueArgument(short s)
           
 SWRLLiteralArgumentReference createDataValueArgument(String s)
           
 SWRLLiteralArgumentReference createDataValueArgument(XSDType xsd)
           
 SWRLIndividualArgumentReference createIndividualArgument(String individualURI)
           
 String createInvocationPattern(SWRLBuiltInBridge invokingBridge, String invokingRuleName, int invokingBuiltInIndex, boolean isInConsequent, List<BuiltInArgument> arguments)
          Create a string that represents a unique invocation pattern for a built-in for a bridge/rule/built-in/arguments combination.
 MultiArgument createMultiArgument()
           
 MultiArgument createMultiArgument(List<BuiltInArgument> arguments)
           
 ObjectPropertyArgument createObjectPropertyArgument(String propertyURI)
           
 boolean getArgumentAsABoolean(int argumentNumber, List<BuiltInArgument> arguments)
           
 ClassArgument getArgumentAsAClass(int argumentNumber, List<BuiltInArgument> arguments)
           
 String getArgumentAsAClassURI(int argumentNumber, List<BuiltInArgument> arguments)
           
 DataPropertyArgument getArgumentAsADataProperty(int argumentNumber, List<BuiltInArgument> arguments)
           
 DataValue getArgumentAsADataValue(BuiltInArgument argument)
           
 DataValue getArgumentAsADataValue(int argumentNumber, List<BuiltInArgument> arguments)
           
 double getArgumentAsADouble(BuiltInArgument argument)
           
 double getArgumentAsADouble(int argumentNumber, List<BuiltInArgument> arguments)
           
 float getArgumentAsAFloat(BuiltInArgument argument)
           
 float getArgumentAsAFloat(int argumentNumber, List<BuiltInArgument> arguments)
           
 long getArgumentAsALong(int argumentNumber, List<BuiltInArgument> arguments)
           
 SWRLIndividualArgumentReference getArgumentAsAnIndividual(int argumentNumber, List<BuiltInArgument> arguments)
           
 String getArgumentAsAnIndividualURI(int argumentNumber, List<BuiltInArgument> arguments)
           
 int getArgumentAsAnInteger(int argumentNumber, List<BuiltInArgument> arguments)
           
 ObjectPropertyArgument getArgumentAsAnObjectProperty(int argumentNumber, List<BuiltInArgument> arguments)
           
 int getArgumentAsAPositiveInteger(int argumentNumber, List<BuiltInArgument> arguments)
           
 long getArgumentAsAPositiveLong(int argumentNumber, List<BuiltInArgument> arguments)
           
 String getArgumentAsAPropertyURI(int argumentNumber, List<BuiltInArgument> arguments)
           
 Object getArgumentAsAPropertyValue(int argumentNumber, List<BuiltInArgument> arguments)
           
 short getArgumentAsAShort(int argumentNumber, List<BuiltInArgument> arguments)
           
 String getArgumentAsAString(int argumentNumber, List<BuiltInArgument> arguments)
           
 String getArgumentAsAURI(int argumentNumber, List<BuiltInArgument> arguments)
           
 SWRLBuiltInBridge getBuiltInBridge()
           
 int getFirstUnboundArgument(List<BuiltInArgument> arguments)
          Get 0-offset position of first unbound argument; return -1 if no unbound arguments are found.
 int getInvokingBuiltInIndex()
           
 String getInvokingRuleName()
           
 boolean getIsInConsequent()
           
 String getLibraryName()
           
 String getVariableName(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean hasUnboundArguments(List<BuiltInArgument> arguments)
           
 boolean invokeBuiltInMethod(Method method, SWRLBuiltInBridge bridge, String ruleName, String prefix, String builtInMethodName, int builtInIndex, boolean isInConsequent, List<BuiltInArgument> arguments)
           
 void invokeResetMethod(SWRLBuiltInBridge bridge)
           
 boolean isArgumentABoolean(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentAClass(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentAClassPropertyOrIndividual(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentADataProperty(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentADataValue(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentADouble(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentAFloat(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentALong(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentAnIndividual(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentAnInteger(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentAnObjectProperty(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentAProperty(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentAShort(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentAString(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentConvertableToDouble(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentConvertableToFloat(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentConvertableToInteger(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentConvertableToLong(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentConvertableToShort(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentNonNumeric(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentNumeric(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isArgumentOfAnOrderedType(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean isFloatMostPreciseArgument(List<BuiltInArgument> arguments)
           
 boolean isIntegerMostPreciseArgument(List<BuiltInArgument> arguments)
           
 boolean isLongMostPreciseArgument(List<BuiltInArgument> arguments)
           
 boolean isShortMostPreciseArgument(List<BuiltInArgument> arguments)
           
 boolean isUnboundArgument(int argumentNumber, List<BuiltInArgument> arguments)
           
 boolean processResultArgument(List<BuiltInArgument> arguments, int resultArgumentNumber, BuiltInArgument resultArgument)
           
 boolean processResultArgument(List<BuiltInArgument> arguments, int resultArgumentNumber, byte resultArgument)
           
 boolean processResultArgument(List<BuiltInArgument> arguments, int resultArgumentNumber, Collection<BuiltInArgument> resultArguments)
           
 boolean processResultArgument(List<BuiltInArgument> arguments, int resultArgumentNumber, double resultArgument)
           
 boolean processResultArgument(List<BuiltInArgument> arguments, int resultArgumentNumber, float resultArgument)
           
 boolean processResultArgument(List<BuiltInArgument> arguments, int resultArgumentNumber, int resultArgument)
           
 boolean processResultArgument(List<BuiltInArgument> arguments, int resultArgumentNumber, long resultArgument)
           
 boolean processResultArgument(List<BuiltInArgument> arguments, int resultArgumentNumber, short resultArgument)
           
 boolean processResultArgument(List<BuiltInArgument> arguments, int resultArgumentNumber, String resultArgument)
           
 boolean processResultArgument(List<BuiltInArgument> arguments, int resultArgumentNumber, SWRLLiteralArgumentReference resultArgument)
           
 void reset()
           
 

Method Detail

getLibraryName

String getLibraryName()

reset

void reset()
           throws BuiltInException
Throws:
BuiltInException

getBuiltInBridge

SWRLBuiltInBridge getBuiltInBridge()
                                   throws SWRLBuiltInLibraryException
Throws:
SWRLBuiltInLibraryException

getInvokingRuleName

String getInvokingRuleName()
                           throws SWRLBuiltInLibraryException
Throws:
SWRLBuiltInLibraryException

getInvokingBuiltInIndex

int getInvokingBuiltInIndex()
                            throws SWRLBuiltInLibraryException
Throws:
SWRLBuiltInLibraryException

invokeResetMethod

void invokeResetMethod(SWRLBuiltInBridge bridge)
                       throws SWRLBuiltInLibraryException
Throws:
SWRLBuiltInLibraryException

invokeBuiltInMethod

boolean invokeBuiltInMethod(Method method,
                            SWRLBuiltInBridge bridge,
                            String ruleName,
                            String prefix,
                            String builtInMethodName,
                            int builtInIndex,
                            boolean isInConsequent,
                            List<BuiltInArgument> arguments)
                            throws BuiltInException
Throws:
BuiltInException

checkThatInConsequent

void checkThatInConsequent()
                           throws BuiltInException
Throws:
BuiltInException

checkThatInAntecedent

void checkThatInAntecedent()
                           throws BuiltInException
Throws:
BuiltInException

getIsInConsequent

boolean getIsInConsequent()
                          throws SWRLBuiltInLibraryException
Throws:
SWRLBuiltInLibraryException

getVariableName

String getVariableName(int argumentNumber,
                       List<BuiltInArgument> arguments)
                       throws BuiltInException
Throws:
BuiltInException

hasUnboundArguments

boolean hasUnboundArguments(List<BuiltInArgument> arguments)
                            throws BuiltInException
Throws:
BuiltInException

checkThatAllArgumentsAreBound

void checkThatAllArgumentsAreBound(List<BuiltInArgument> arguments)
                                   throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsBound

void checkThatArgumentIsBound(int argumentNumber,
                              List<BuiltInArgument> arguments)
                              throws BuiltInException
Throws:
BuiltInException

isUnboundArgument

boolean isUnboundArgument(int argumentNumber,
                          List<BuiltInArgument> arguments)
                          throws BuiltInException
Throws:
BuiltInException

checkForUnboundArguments

void checkForUnboundArguments(String ruleName,
                              String builtInName,
                              List<BuiltInArgument> arguments)
                              throws BuiltInException
Throws:
BuiltInException

getFirstUnboundArgument

int getFirstUnboundArgument(List<BuiltInArgument> arguments)
                            throws BuiltInException
Get 0-offset position of first unbound argument; return -1 if no unbound arguments are found.

Throws:
BuiltInException

checkForUnboundArguments

void checkForUnboundArguments(List<BuiltInArgument> arguments)
                              throws BuiltInException
Throws:
BuiltInException

checkForUnboundArguments

void checkForUnboundArguments(List<BuiltInArgument> arguments,
                              String message)
                              throws BuiltInException
Throws:
BuiltInException

checkForNonVariableArguments

void checkForNonVariableArguments(List<BuiltInArgument> arguments,
                                  String message)
                                  throws BuiltInException
Throws:
BuiltInException

checkForUnboundNonFirstArguments

void checkForUnboundNonFirstArguments(List<BuiltInArgument> arguments)
                                      throws BuiltInException
Throws:
BuiltInException

checkNumberOfArgumentsEqualTo

void checkNumberOfArgumentsEqualTo(int expecting,
                                   int actual)
                                   throws InvalidBuiltInArgumentNumberException
Throws:
InvalidBuiltInArgumentNumberException

checkNumberOfArgumentsAtLeast

void checkNumberOfArgumentsAtLeast(int expectingAtLeast,
                                   int actual)
                                   throws InvalidBuiltInArgumentNumberException
Throws:
InvalidBuiltInArgumentNumberException

checkNumberOfArgumentsAtMost

void checkNumberOfArgumentsAtMost(int expectingAtMost,
                                  int actual)
                                  throws InvalidBuiltInArgumentNumberException
Throws:
InvalidBuiltInArgumentNumberException

checkNumberOfArgumentsInRange

void checkNumberOfArgumentsInRange(int expectingAtLeast,
                                   int expectingAtMost,
                                   int actual)
                                   throws InvalidBuiltInArgumentNumberException
Throws:
InvalidBuiltInArgumentNumberException

checkArgumentNumber

void checkArgumentNumber(int argumentNumber,
                         List<BuiltInArgument> arguments)
                         throws BuiltInException
Throws:
BuiltInException

getArgumentAsAURI

String getArgumentAsAURI(int argumentNumber,
                         List<BuiltInArgument> arguments)
                         throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsAClassPropertyOrIndividual

void checkThatArgumentIsAClassPropertyOrIndividual(int argumentNumber,
                                                   List<BuiltInArgument> arguments)
                                                   throws BuiltInException
Throws:
BuiltInException

isArgumentAClassPropertyOrIndividual

boolean isArgumentAClassPropertyOrIndividual(int argumentNumber,
                                             List<BuiltInArgument> arguments)
                                             throws BuiltInException
Throws:
BuiltInException

getArgumentAsAClassURI

String getArgumentAsAClassURI(int argumentNumber,
                              List<BuiltInArgument> arguments)
                              throws BuiltInException
Throws:
BuiltInException

getArgumentAsAClass

ClassArgument getArgumentAsAClass(int argumentNumber,
                                  List<BuiltInArgument> arguments)
                                  throws BuiltInException
Throws:
BuiltInException

isArgumentAClass

boolean isArgumentAClass(int argumentNumber,
                         List<BuiltInArgument> arguments)
                         throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsAClass

void checkThatArgumentIsAClass(int argumentNumber,
                               List<BuiltInArgument> arguments)
                               throws BuiltInException
Throws:
BuiltInException

isArgumentAnIndividual

boolean isArgumentAnIndividual(int argumentNumber,
                               List<BuiltInArgument> arguments)
                               throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsAnIndividual

void checkThatArgumentIsAnIndividual(int argumentNumber,
                                     List<BuiltInArgument> arguments)
                                     throws BuiltInException
Throws:
BuiltInException

getArgumentAsAnIndividualURI

String getArgumentAsAnIndividualURI(int argumentNumber,
                                    List<BuiltInArgument> arguments)
                                    throws BuiltInException
Throws:
BuiltInException

getArgumentAsAnIndividual

SWRLIndividualArgumentReference getArgumentAsAnIndividual(int argumentNumber,
                                                          List<BuiltInArgument> arguments)
                                                          throws BuiltInException
Throws:
BuiltInException

isArgumentAProperty

boolean isArgumentAProperty(int argumentNumber,
                            List<BuiltInArgument> arguments)
                            throws BuiltInException
Throws:
BuiltInException

isArgumentAnObjectProperty

boolean isArgumentAnObjectProperty(int argumentNumber,
                                   List<BuiltInArgument> arguments)
                                   throws BuiltInException
Throws:
BuiltInException

isArgumentADataProperty

boolean isArgumentADataProperty(int argumentNumber,
                                List<BuiltInArgument> arguments)
                                throws BuiltInException
Throws:
BuiltInException

getArgumentAsAPropertyURI

String getArgumentAsAPropertyURI(int argumentNumber,
                                 List<BuiltInArgument> arguments)
                                 throws BuiltInException
Throws:
BuiltInException

getArgumentAsAnObjectProperty

ObjectPropertyArgument getArgumentAsAnObjectProperty(int argumentNumber,
                                                     List<BuiltInArgument> arguments)
                                                     throws BuiltInException
Throws:
BuiltInException

getArgumentAsADataProperty

DataPropertyArgument getArgumentAsADataProperty(int argumentNumber,
                                                List<BuiltInArgument> arguments)
                                                throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsAProperty

void checkThatArgumentIsAProperty(int argumentNumber,
                                  List<BuiltInArgument> arguments)
                                  throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsAnObjectProperty

void checkThatArgumentIsAnObjectProperty(int argumentNumber,
                                         List<BuiltInArgument> arguments)
                                         throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsADataProperty

void checkThatArgumentIsADataProperty(int argumentNumber,
                                      List<BuiltInArgument> arguments)
                                      throws BuiltInException
Throws:
BuiltInException

checkThatAllArgumentsAreDataValues

void checkThatAllArgumentsAreDataValues(List<BuiltInArgument> arguments)
                                        throws BuiltInException
Throws:
BuiltInException

areAllArgumentDataValues

boolean areAllArgumentDataValues(List<BuiltInArgument> arguments)
                                 throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsADataValue

void checkThatArgumentIsADataValue(int argumentNumber,
                                   List<BuiltInArgument> arguments)
                                   throws BuiltInException
Throws:
BuiltInException

isArgumentADataValue

boolean isArgumentADataValue(int argumentNumber,
                             List<BuiltInArgument> arguments)
                             throws BuiltInException
Throws:
BuiltInException

getArgumentAsADataValue

DataValue getArgumentAsADataValue(int argumentNumber,
                                  List<BuiltInArgument> arguments)
                                  throws BuiltInException
Throws:
BuiltInException

getArgumentAsADataValue

DataValue getArgumentAsADataValue(BuiltInArgument argument)
                                  throws BuiltInException
Throws:
BuiltInException

areAllArgumentsBooleans

boolean areAllArgumentsBooleans(List<BuiltInArgument> arguments)
                                throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsABoolean

void checkThatArgumentIsABoolean(int argumentNumber,
                                 List<BuiltInArgument> arguments)
                                 throws BuiltInException
Throws:
BuiltInException

isArgumentABoolean

boolean isArgumentABoolean(int argumentNumber,
                           List<BuiltInArgument> arguments)
                           throws BuiltInException
Throws:
BuiltInException

getArgumentAsABoolean

boolean getArgumentAsABoolean(int argumentNumber,
                              List<BuiltInArgument> arguments)
                              throws BuiltInException
Throws:
BuiltInException

checkThatAllArgumentsAreStrings

void checkThatAllArgumentsAreStrings(List<BuiltInArgument> arguments)
                                     throws BuiltInException
Throws:
BuiltInException

isArgumentAString

boolean isArgumentAString(int argumentNumber,
                          List<BuiltInArgument> arguments)
                          throws BuiltInException
Throws:
BuiltInException

getArgumentAsAString

String getArgumentAsAString(int argumentNumber,
                            List<BuiltInArgument> arguments)
                            throws BuiltInException
Throws:
BuiltInException

areAllArgumentsStrings

boolean areAllArgumentsStrings(List<BuiltInArgument> arguments)
                               throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsAString

void checkThatArgumentIsAString(int argumentNumber,
                                List<BuiltInArgument> arguments)
                                throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsOfAnOrderedType

void checkThatArgumentIsOfAnOrderedType(int argumentNumber,
                                        List<BuiltInArgument> arguments)
                                        throws BuiltInException
Throws:
BuiltInException

isArgumentOfAnOrderedType

boolean isArgumentOfAnOrderedType(int argumentNumber,
                                  List<BuiltInArgument> arguments)
                                  throws BuiltInException
Throws:
BuiltInException

areAllArgumentsOfAnOrderedType

boolean areAllArgumentsOfAnOrderedType(List<BuiltInArgument> arguments)
                                       throws BuiltInException
Throws:
BuiltInException

isArgumentNumeric

boolean isArgumentNumeric(int argumentNumber,
                          List<BuiltInArgument> arguments)
                          throws BuiltInException
Throws:
BuiltInException

isArgumentNonNumeric

boolean isArgumentNonNumeric(int argumentNumber,
                             List<BuiltInArgument> arguments)
                             throws BuiltInException
Throws:
BuiltInException

checkThatAllArgumentsAreOfAnOrderedType

void checkThatAllArgumentsAreOfAnOrderedType(List<BuiltInArgument> arguments)
                                             throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsNumeric

void checkThatArgumentIsNumeric(int argumentNumber,
                                List<BuiltInArgument> arguments)
                                throws BuiltInException
Throws:
BuiltInException

checkThatAllArgumentsAreNumeric

void checkThatAllArgumentsAreNumeric(List<BuiltInArgument> arguments)
                                     throws BuiltInException
Throws:
BuiltInException

areAllArgumentsNumeric

boolean areAllArgumentsNumeric(List<BuiltInArgument> arguments)
                               throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsNonNumeric

void checkThatArgumentIsNonNumeric(int argumentNumber,
                                   List<BuiltInArgument> arguments)
                                   throws BuiltInException
Throws:
BuiltInException

areAllArgumentsShorts

boolean areAllArgumentsShorts(List<BuiltInArgument> arguments)
                              throws BuiltInException
Throws:
BuiltInException

isShortMostPreciseArgument

boolean isShortMostPreciseArgument(List<BuiltInArgument> arguments)
                                   throws BuiltInException
Throws:
BuiltInException

isArgumentConvertableToShort

boolean isArgumentConvertableToShort(int argumentNumber,
                                     List<BuiltInArgument> arguments)
                                     throws BuiltInException
Throws:
BuiltInException

isArgumentAShort

boolean isArgumentAShort(int argumentNumber,
                         List<BuiltInArgument> arguments)
                         throws BuiltInException
Throws:
BuiltInException

getArgumentAsAShort

short getArgumentAsAShort(int argumentNumber,
                          List<BuiltInArgument> arguments)
                          throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsALong

void checkThatArgumentIsALong(int argumentNumber,
                              List<BuiltInArgument> arguments)
                              throws BuiltInException
Throws:
BuiltInException

isIntegerMostPreciseArgument

boolean isIntegerMostPreciseArgument(List<BuiltInArgument> arguments)
                                     throws BuiltInException
Throws:
BuiltInException

checkThatAllArgumentsAreIntegers

void checkThatAllArgumentsAreIntegers(List<BuiltInArgument> arguments)
                                      throws BuiltInException
Throws:
BuiltInException

areAllArgumentsIntegers

boolean areAllArgumentsIntegers(List<BuiltInArgument> arguments)
                                throws BuiltInException
Throws:
BuiltInException

isArgumentConvertableToInteger

boolean isArgumentConvertableToInteger(int argumentNumber,
                                       List<BuiltInArgument> arguments)
                                       throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsAnInteger

void checkThatArgumentIsAnInteger(int argumentNumber,
                                  List<BuiltInArgument> arguments)
                                  throws BuiltInException
Throws:
BuiltInException

isArgumentAnInteger

boolean isArgumentAnInteger(int argumentNumber,
                            List<BuiltInArgument> arguments)
                            throws BuiltInException
Throws:
BuiltInException

getArgumentAsAnInteger

int getArgumentAsAnInteger(int argumentNumber,
                           List<BuiltInArgument> arguments)
                           throws BuiltInException
Throws:
BuiltInException

getArgumentAsAPositiveInteger

int getArgumentAsAPositiveInteger(int argumentNumber,
                                  List<BuiltInArgument> arguments)
                                  throws BuiltInException
Throws:
BuiltInException

isLongMostPreciseArgument

boolean isLongMostPreciseArgument(List<BuiltInArgument> arguments)
                                  throws BuiltInException
Throws:
BuiltInException

areAllArgumentsLongs

boolean areAllArgumentsLongs(List<BuiltInArgument> arguments)
                             throws BuiltInException
Throws:
BuiltInException

isArgumentConvertableToLong

boolean isArgumentConvertableToLong(int argumentNumber,
                                    List<BuiltInArgument> arguments)
                                    throws BuiltInException
Throws:
BuiltInException

isArgumentALong

boolean isArgumentALong(int argumentNumber,
                        List<BuiltInArgument> arguments)
                        throws BuiltInException
Throws:
BuiltInException

getArgumentAsALong

long getArgumentAsALong(int argumentNumber,
                        List<BuiltInArgument> arguments)
                        throws BuiltInException
Throws:
BuiltInException

getArgumentAsAPositiveLong

long getArgumentAsAPositiveLong(int argumentNumber,
                                List<BuiltInArgument> arguments)
                                throws BuiltInException
Throws:
BuiltInException

isFloatMostPreciseArgument

boolean isFloatMostPreciseArgument(List<BuiltInArgument> arguments)
                                   throws BuiltInException
Throws:
BuiltInException

checkThatAllArgumentsAreFloats

void checkThatAllArgumentsAreFloats(List<BuiltInArgument> arguments)
                                    throws BuiltInException
Throws:
BuiltInException

areAllArgumentsFloats

boolean areAllArgumentsFloats(List<BuiltInArgument> arguments)
                              throws BuiltInException
Throws:
BuiltInException

isArgumentConvertableToFloat

boolean isArgumentConvertableToFloat(int argumentNumber,
                                     List<BuiltInArgument> arguments)
                                     throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsAFloat

void checkThatArgumentIsAFloat(int argumentNumber,
                               List<BuiltInArgument> arguments)
                               throws BuiltInException
Throws:
BuiltInException

isArgumentAFloat

boolean isArgumentAFloat(int argumentNumber,
                         List<BuiltInArgument> arguments)
                         throws BuiltInException
Throws:
BuiltInException

getArgumentAsAFloat

float getArgumentAsAFloat(int argumentNumber,
                          List<BuiltInArgument> arguments)
                          throws BuiltInException
Throws:
BuiltInException

getArgumentAsAFloat

float getArgumentAsAFloat(BuiltInArgument argument)
                          throws BuiltInException
Throws:
BuiltInException

areAllArgumentsDoubles

boolean areAllArgumentsDoubles(List<BuiltInArgument> arguments)
                               throws BuiltInException
Throws:
BuiltInException

isArgumentConvertableToDouble

boolean isArgumentConvertableToDouble(int argumentNumber,
                                      List<BuiltInArgument> arguments)
                                      throws BuiltInException
Throws:
BuiltInException

checkThatArgumentIsADouble

void checkThatArgumentIsADouble(int argumentNumber,
                                List<BuiltInArgument> arguments)
                                throws BuiltInException
Throws:
BuiltInException

isArgumentADouble

boolean isArgumentADouble(int argumentNumber,
                          List<BuiltInArgument> arguments)
                          throws BuiltInException
Throws:
BuiltInException

getArgumentAsADouble

double getArgumentAsADouble(int argumentNumber,
                            List<BuiltInArgument> arguments)
                            throws BuiltInException
Throws:
BuiltInException

getArgumentAsADouble

double getArgumentAsADouble(BuiltInArgument argument)
                            throws BuiltInException
Throws:
BuiltInException

createInvocationPattern

String createInvocationPattern(SWRLBuiltInBridge invokingBridge,
                               String invokingRuleName,
                               int invokingBuiltInIndex,
                               boolean isInConsequent,
                               List<BuiltInArgument> arguments)
                               throws BuiltInException
Create a string that represents a unique invocation pattern for a built-in for a bridge/rule/built-in/arguments combination.

Throws:
BuiltInException

copyArguments

List<BuiltInArgument> copyArguments(List<BuiltInArgument> arguments)
                                    throws BuiltInException
Throws:
BuiltInException

getArgumentAsAPropertyValue

Object getArgumentAsAPropertyValue(int argumentNumber,
                                   List<BuiltInArgument> arguments)
                                   throws BuiltInException
Throws:
BuiltInException

processResultArgument

boolean processResultArgument(List<BuiltInArgument> arguments,
                              int resultArgumentNumber,
                              Collection<BuiltInArgument> resultArguments)
                              throws BuiltInException
Throws:
BuiltInException

processResultArgument

boolean processResultArgument(List<BuiltInArgument> arguments,
                              int resultArgumentNumber,
                              BuiltInArgument resultArgument)
                              throws BuiltInException
Throws:
BuiltInException

processResultArgument

boolean processResultArgument(List<BuiltInArgument> arguments,
                              int resultArgumentNumber,
                              SWRLLiteralArgumentReference resultArgument)
                              throws BuiltInException
Throws:
BuiltInException

processResultArgument

boolean processResultArgument(List<BuiltInArgument> arguments,
                              int resultArgumentNumber,
                              short resultArgument)
                              throws BuiltInException
Throws:
BuiltInException

processResultArgument

boolean processResultArgument(List<BuiltInArgument> arguments,
                              int resultArgumentNumber,
                              int resultArgument)
                              throws BuiltInException
Throws:
BuiltInException

processResultArgument

boolean processResultArgument(List<BuiltInArgument> arguments,
                              int resultArgumentNumber,
                              long resultArgument)
                              throws BuiltInException
Throws:
BuiltInException

processResultArgument

boolean processResultArgument(List<BuiltInArgument> arguments,
                              int resultArgumentNumber,
                              float resultArgument)
                              throws BuiltInException
Throws:
BuiltInException

processResultArgument

boolean processResultArgument(List<BuiltInArgument> arguments,
                              int resultArgumentNumber,
                              double resultArgument)
                              throws BuiltInException
Throws:
BuiltInException

processResultArgument

boolean processResultArgument(List<BuiltInArgument> arguments,
                              int resultArgumentNumber,
                              byte resultArgument)
                              throws BuiltInException
Throws:
BuiltInException

processResultArgument

boolean processResultArgument(List<BuiltInArgument> arguments,
                              int resultArgumentNumber,
                              String resultArgument)
                              throws BuiltInException
Throws:
BuiltInException

createClassArgument

ClassArgument createClassArgument(String classURI)

createIndividualArgument

SWRLIndividualArgumentReference createIndividualArgument(String individualURI)

createObjectPropertyArgument

ObjectPropertyArgument createObjectPropertyArgument(String propertyURI)

createDataPropertyArgument

DataPropertyArgument createDataPropertyArgument(String propertyURI)

createDataValueArgument

SWRLLiteralArgumentReference createDataValueArgument(String s)

createDataValueArgument

SWRLLiteralArgumentReference createDataValueArgument(boolean b)

createDataValueArgument

SWRLLiteralArgumentReference createDataValueArgument(int i)

createDataValueArgument

SWRLLiteralArgumentReference createDataValueArgument(long l)

createDataValueArgument

SWRLLiteralArgumentReference createDataValueArgument(float f)

createDataValueArgument

SWRLLiteralArgumentReference createDataValueArgument(double d)

createDataValueArgument

SWRLLiteralArgumentReference createDataValueArgument(short s)

createDataValueArgument

SWRLLiteralArgumentReference createDataValueArgument(Byte b)

createDataValueArgument

SWRLLiteralArgumentReference createDataValueArgument(XSDType xsd)

createMultiArgument

MultiArgument createMultiArgument()

createMultiArgument

MultiArgument createMultiArgument(List<BuiltInArgument> arguments)

Protégé-OWL 3.4.8

Submit a bug report or feature request
Copyright (c) 1998-2012 Stanford University.