/** * <p>Answer true if this class is disjoint with the given class.</p> * @param cls A class to test * @return True if the this class is disjoint with the the given class. * @exception ProfileException If the {@link Profile#DISJOINT_WITH()} property is not supported in the current language profile. */ @Override public boolean isDisjointWith( Resource cls ) { return hasPropertyValue( getProfile().DISJOINT_WITH(), "DISJOINT_WITH", cls ); }
/** * <p>Answer true if the given class is equivalent to this class.</p> * @param cls A class to test for * @return True if the given property is equivalent to this class. * @exception ProfileException If the {@link Profile#EQUIVALENT_CLASS()} property is not supported in the current language profile. */ @Override public boolean hasEquivalentClass( Resource cls ) { return hasPropertyValue( getProfile().EQUIVALENT_CLASS(), "EQUIVALENT_CLASS", cls ); }
/** * <p>Answer true if this class is disjoint with the given class.</p> * @param cls A class to test * @return True if the this class is disjoint with the the given class. * @exception ProfileException If the {@link Profile#DISJOINT_WITH()} property is not supported in the current language profile. */ @Override public boolean isDisjointWith( Resource cls ) { return hasPropertyValue( getProfile().DISJOINT_WITH(), "DISJOINT_WITH", cls ); }
/** * <p>Answer true if the given class is equivalent to this class.</p> * @param cls A class to test for * @return True if the given property is equivalent to this class. * @exception ProfileException If the {@link Profile#EQUIVALENT_CLASS()} property is not supported in the current language profile. */ @Override public boolean hasEquivalentClass( Resource cls ) { return hasPropertyValue( getProfile().EQUIVALENT_CLASS(), "EQUIVALENT_CLASS", cls ); }
if (!direct) { return hasPropertyValue( getProfile().SUB_CLASS_OF(), "SUB_CLASS_OF", cls ); return hasPropertyValue( ReasonerVocabulary.directSubClassOf, "direct sub-class", cls );
if (!direct) { return hasPropertyValue( getProfile().SUB_CLASS_OF(), "SUB_CLASS_OF", cls ); return hasPropertyValue( ReasonerVocabulary.directSubClassOf, "direct sub-class", cls );