/** * <p>Add a literal to the enumeration that defines the permissible values of this class.</p> * @param lit A literal to add to the enumeration * @exception ProfileException If the {@link Profile#ONE_OF()} property is not supported in the current language profile. */ @Override public void addOneOf( Literal lit ) { addListPropertyValue( getProfile().ONE_OF(), "ONE_OF", lit ); }
/** * <p>Answer a list of literals that defines the extension of this datarange.</p> * @return A list of literals that is the permissible values * @exception ProfileException If the {@link Profile#ONE_OF()} property is not supported in the current language profile. */ @Override public RDFList getOneOf() { return objectAs( getProfile().ONE_OF(), "ONE_OF", RDFList.class ); }
/** * <p>Assert that this data range is exactly the enumeration of the given individuals. Any existing * statements for <code>oneOf</code> will be removed.</p> * @param en A list of literals that defines the permissible values for this datarange * @exception ProfileException If the {@link Profile#ONE_OF()} property is not supported in the current language profile. */ @Override public void setOneOf( RDFList en ) { setPropertyValue( getProfile().ONE_OF(), "ONE_OF", en ); }
/** * <p>Answer a list of literals that defines the extension of this datarange.</p> * @return A list of literals that is the permissible values * @exception ProfileException If the {@link Profile#ONE_OF()} property is not supported in the current language profile. */ @Override public RDFList getOneOf() { return objectAs( getProfile().ONE_OF(), "ONE_OF", RDFList.class ); }
/** * <p>Add a literal to the enumeration that defines the permissible values of this class.</p> * @param lit A literal to add to the enumeration * @exception ProfileException If the {@link Profile#ONE_OF()} property is not supported in the current language profile. */ @Override public void addOneOf( Literal lit ) { addListPropertyValue( getProfile().ONE_OF(), "ONE_OF", lit ); }
/** * <p>Assert that this data range is exactly the enumeration of the given individuals. Any existing * statements for <code>oneOf</code> will be removed.</p> * @param en A list of literals that defines the permissible values for this datarange * @exception ProfileException If the {@link Profile#ONE_OF()} property is not supported in the current language profile. */ @Override public void setOneOf( RDFList en ) { setPropertyValue( getProfile().ONE_OF(), "ONE_OF", en ); }