edu.stanford.smi.protegex.owl.swrl.bridge.builtins.swrlb
Class SWRLBuiltInLibraryImpl
java.lang.Object
edu.stanford.smi.protegex.owl.swrl.bridge.builtins.AbstractSWRLBuiltInLibrary
edu.stanford.smi.protegex.owl.swrl.bridge.builtins.swrlb.SWRLBuiltInLibraryImpl
- All Implemented Interfaces:
- SWRLBuiltInLibrary
public class SWRLBuiltInLibraryImpl
- extends AbstractSWRLBuiltInLibrary
Implementations library for the core SWRL built-in methods. These built-ins are defined here and are documented here.
See here for documentation on defining SWRL built-in libraries.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SWRLBuiltInLibraryImpl
public SWRLBuiltInLibraryImpl()
reset
public void reset()
- Specified by:
reset in interface SWRLBuiltInLibrary- Specified by:
reset in class AbstractSWRLBuiltInLibrary
greaterThan
public boolean greaterThan(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
lessThan
public boolean lessThan(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
equal
public boolean equal(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
notEqual
public boolean notEqual(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
lessThanOrEqual
public boolean lessThanOrEqual(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
greaterThanOrEqual
public boolean greaterThanOrEqual(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
add
public boolean add(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
subtract
public boolean subtract(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
multiply
public boolean multiply(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
divide
public boolean divide(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
integerDivide
public boolean integerDivide(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
mod
public boolean mod(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
pow
public boolean pow(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
unaryPlus
public boolean unaryPlus(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
unaryMinus
public boolean unaryMinus(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
abs
public boolean abs(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
ceiling
public boolean ceiling(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
floor
public boolean floor(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
round
public boolean round(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
roundHalfToEven
public boolean roundHalfToEven(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
sin
public boolean sin(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
cos
public boolean cos(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
tan
public boolean tan(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
booleanNot
public boolean booleanNot(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
stringEqualIgnoreCase
public boolean stringEqualIgnoreCase(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
stringConcat
public boolean stringConcat(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
substring
public boolean substring(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
stringLength
public boolean stringLength(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
upperCase
public boolean upperCase(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
lowerCase
public boolean lowerCase(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
contains
public boolean contains(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
containsIgnoreCase
public boolean containsIgnoreCase(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
startsWith
public boolean startsWith(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
endsWith
public boolean endsWith(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
translate
public boolean translate(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
substringAfter
public boolean substringAfter(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
substringBefore
public boolean substringBefore(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
matches
public boolean matches(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
replace
public boolean replace(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
normalizeSpace
public boolean normalizeSpace(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
tokenize
public boolean tokenize(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
yearMonthDuration
public boolean yearMonthDuration(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
dayTimeDuration
public boolean dayTimeDuration(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
dateTime
public boolean dateTime(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
date
public boolean date(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
time
public boolean time(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
addYearMonthDurations
public boolean addYearMonthDurations(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
subtractYearMonthDurations
public boolean subtractYearMonthDurations(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
multiplyYearMonthDuration
public boolean multiplyYearMonthDuration(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
divideYearMonthDurations
public boolean divideYearMonthDurations(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
addDayTimeDurations
public boolean addDayTimeDurations(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
subtractDayTimeDurations
public boolean subtractDayTimeDurations(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
multiplyDayTimeDurations
public boolean multiplyDayTimeDurations(List<