edu.stanford.smi.protegex.owl.testing.owldl
Class TransitivePropertiesCannotBeFunctionalOWLDLTest
java.lang.Object
edu.stanford.smi.protegex.owl.testing.AbstractOWLTest
edu.stanford.smi.protegex.owl.testing.owldl.TransitivePropertiesCannotBeFunctionalOWLDLTest
- All Implemented Interfaces:
- OWLDLTest, OWLTest, RDFPropertyTest, RepairableOWLTest
- public class TransitivePropertiesCannotBeFunctionalOWLDLTest
- extends AbstractOWLTest
- implements OWLDLTest, RDFPropertyTest, RepairableOWLTest
- Author:
- Holger Knublauch
Fields inherited from interface edu.stanford.smi.protegex.owl.testing.OWLDLTest |
GROUP |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransitivePropertiesCannotBeFunctionalOWLDLTest
public TransitivePropertiesCannotBeFunctionalOWLDLTest()
fails
public static boolean fails(RDFProperty property)
isFunctional
private static boolean isFunctional(edu.stanford.smi.protege.model.Slot slot,
Set reached)
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(RDFProperty property)
- Description copied from interface:
RDFPropertyTest
- Performs a check of a given property.
- Specified by:
test
in interface RDFPropertyTest
- Parameters:
property
- the RDFProperty to check
- Returns:
- a list of OWLTestResult objects