com.clarkparsia.pellet.rules.builtins
Class ComparisonTesters
java.lang.Object
com.clarkparsia.pellet.rules.builtins.ComparisonTesters
public class ComparisonTesters
- extends java.lang.Object
Title: Comparison Testers
Description: Implementations for each of the SWRL comparison tests.
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
- Author:
- Ron Alford
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
equal
public static final Tester equal
greaterThan
public static final Tester greaterThan
greaterThanOrEqual
public static final Tester greaterThanOrEqual
lessThan
public static final Tester lessThan
lessThanOrEqual
public static final Tester lessThanOrEqual
notEqual
public static final Tester notEqual
ComparisonTesters
public ComparisonTesters()
expectedIfEquals
public static Literal expectedIfEquals(Literal expected,
Literal result)
- If the first argument is null, return the second.
Else, return the literal if its value equals the string.
Otherwise return null.
Copyright © 2004 Evren Sirin. All Rights Reserved.