/** * <p>Answer true if this property restriction has the given class as the class to which all * values of the restricted property must belong.</p> * @param cls A class to test * @return True if the given class is the class to which all values must belong * @exception ProfileException If the {@link Profile#ALL_VALUES_FROM()} property is not supported in the current language profile. */ @Override public boolean hasAllValuesFrom( Resource cls ) { return hasPropertyValue( getProfile().ALL_VALUES_FROM(), "ALL_VALUES_FROM", cls ); }
/** * <p>Answer true if this property restriction has the given class as the class to which all * values of the restricted property must belong.</p> * @param cls A class to test * @return True if the given class is the class to which all values must belong * @exception ProfileException If the {@link Profile#ALL_VALUES_FROM()} property is not supported in the current language profile. */ @Override public boolean hasAllValuesFrom( Resource cls ) { return hasPropertyValue( getProfile().ALL_VALUES_FROM(), "ALL_VALUES_FROM", cls ); }