/** * <p>Assert that this restriction restricts the property to have all values * be members of the given class. Any existing statements for <code>allValuesFrom</code> * will be removed.</p> * @param cls The class that all values of the property must belong to * @exception ProfileException If the {@link Profile#ALL_VALUES_FROM()} property is not supported in the current language profile. */ @Override public void setAllValuesFrom( Resource cls ) { setPropertyValue( getProfile().ALL_VALUES_FROM(), "ALL_VALUES_FROM", cls ); }
/** * <p>Assert that this restriction restricts the property to have all values * be members of the given class. Any existing statements for <code>allValuesFrom</code> * will be removed.</p> * @param cls The class that all values of the property must belong to * @exception ProfileException If the {@link Profile#ALL_VALUES_FROM()} property is not supported in the current language profile. */ @Override public void setAllValuesFrom( Resource cls ) { setPropertyValue( getProfile().ALL_VALUES_FROM(), "ALL_VALUES_FROM", cls ); }