Method Summary |
|
public void | addOneOf(Resource res) Add an individual to the enumeration that defines the class extension of this class.
Parameters: res - An individual to add to the enumeration exception: OntProfileException - If the Profile.ONE_OF property is not supported in the current language profile. |
public void | addOneOf(Iterator individuals) Add each individual from the given iteratation to the
enumeration that defines the class extension of this class.
Parameters: individuals - An iterator over individuals exception: OntProfileException - If the Profile.ONE_OF property is not supported in the current language profile. |
public RDFList | getOneOf() Answer a list of individuals that defines the extension of this class.
A list of individuals that is the class extension exception: OntProfileException - If the Profile.ONE_OF property is not supported in the current language profile. |
public boolean | hasOneOf(Resource res) Answer true if the given individual is one of the enumerated individuals in the class extension
of this class.
Parameters: res - An individual to test True if the given individual is in the class extension for this class. exception: OntProfileException - If the Profile.ONE_OF property is not supported in the current language profile. |
public ExtendedIterator | listOneOf() Answer an iterator over all of the individuals that are declared to be the class extension for
this class. |
public void | removeOneOf(Resource res) Remove the statement that this enumeration includes res among its members. |
public void | setOneOf(RDFList en) Assert that this class is exactly the enumeration of the given individuals. |