edu.stanford.smi.protegex.owl.testing.constraints
Class SPARQLAssertTest
java.lang.Object
edu.stanford.smi.protegex.owl.testing.AbstractOWLTest
edu.stanford.smi.protegex.owl.testing.constraints.SPARQLAssertTest
- All Implemented Interfaces:
- OWLTest, RDFSClassTest, RepairableOWLTest
- public class SPARQLAssertTest
- extends AbstractOWLTest
- implements RDFSClassTest, RepairableOWLTest
- Author:
- Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
URI
public static final String URI
- See Also:
- Constant Field Values
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
EMPTY_PROPERTY_URI
public static final String EMPTY_PROPERTY_URI
- See Also:
- Constant Field Values
NOT_EMPTY_PROPERTY_URI
public static final String NOT_EMPTY_PROPERTY_URI
- See Also:
- Constant Field Values
SPARQLAssertTest
public SPARQLAssertTest()
repair
public boolean repair(OWLTestResult testResult)
- Description copied from interface:
RepairableOWLTest
- Attempts to repair the cause of a given OWLTestResult.
- Specified by:
repair
in interface RepairableOWLTest
- Parameters:
testResult
- the OWLTestResult encapsulating the error
- Returns:
- true if the repair was successful
test
public List test(RDFSClass aClass)
- Description copied from interface:
RDFSClassTest
- Performs a check of a given RDFSClass.
- Specified by:
test
in interface RDFSClassTest
- Parameters:
aClass
- the RDFSClass to check
- Returns:
- a list of OWLTestResult objects
test
private void test(RDFSClass aClass,
RDFProperty assertProperty,
boolean expected,
String expectedString,
String iconName,
List results)