edu.stanford.smi.protegex.owl.testing.sanity
Class SubpropertyRangeMustNarrowTest

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.testing.AbstractOWLTest
      extended byedu.stanford.smi.protegex.owl.testing.sanity.SubpropertyRangeMustNarrowTest
All Implemented Interfaces:
OWLTest, RDFPropertyTest

public class SubpropertyRangeMustNarrowTest
extends AbstractOWLTest
implements RDFPropertyTest

Author:
Holger Knublauch

Field Summary
 
Fields inherited from class edu.stanford.smi.protegex.owl.testing.AbstractOWLTest
SANITY_GROUP
 
Constructor Summary
SubpropertyRangeMustNarrowTest()
           
 
Method Summary
static OWLObjectProperty fails(OWLObjectProperty slot)
           
private static boolean isSubClasses(Collection superRange, Collection subRange)
           
 List test(RDFProperty property)
          Performs a check of a given property.
 
Methods inherited from class edu.stanford.smi.protegex.owl.testing.AbstractOWLTest
getDocumentation, getGroup, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.stanford.smi.protegex.owl.testing.OWLTest
getDocumentation, getGroup, getName
 

Constructor Detail

SubpropertyRangeMustNarrowTest

public SubpropertyRangeMustNarrowTest()
Method Detail

fails

public static OWLObjectProperty fails(OWLObjectProperty slot)

isSubClasses

private static boolean isSubClasses(Collection superRange,
                                    Collection subRange)

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