edu.stanford.smi.protegex.owl.testing.sanity
Class SubpropertyDomainMustNarrowTest
java.lang.Object
edu.stanford.smi.protegex.owl.testing.AbstractOWLTest
edu.stanford.smi.protegex.owl.testing.sanity.SubpropertyDomainMustNarrowTest
- All Implemented Interfaces:
- OWLTest, RDFPropertyTest
- public class SubpropertyDomainMustNarrowTest
- extends AbstractOWLTest
- implements RDFPropertyTest
- Author:
- Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubpropertyDomainMustNarrowTest
public SubpropertyDomainMustNarrowTest()
fails
public static OWLObjectProperty fails(OWLObjectProperty objectProperty)
isSubClasses
private static boolean isSubClasses(Collection superDomain,
Collection subDomain)
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