Method Summary |
|
public void | addOperand(Resource cls) Add a class the operands of this boolean expression.
Parameters: cls - A class that will be added to the operands of this Boolean expression exception: OntProfileException - If the operand property is not supported in the current language profile. |
public void | addOperands(Iterator classes) Add all of the classes from the given iterator to the operands of this boolean expression.
Parameters: classes - A iterator over classes that will be added to the operands of this Boolean expression exception: OntProfileException - If the operand property is not supported in the current language profile. |
public RDFList | getOperands() Answer the list of operands for this Boolean class expression.
A list of the operands of this expression. exception: OntProfileException - If the operand property is not supported in the current language profile. |
public boolean | hasOperand(Resource cls) Answer true if this Boolean class expression has the given class as an operand.
Parameters: cls - A class to test True if the given class is an operand to this expression. exception: OntProfileException - If the operand property is not supported in the current language profile. |
public ExtendedIterator | listOperands() Answer an iterator over all of the clases that are the operands of this
Boolean class expression. |
public Property | operator() |
public void | removeOperand(Resource res) |
public void | setOperands(RDFList operands) Assert that the operands for this boolean class expression are the classes
in the given list. |