wt.clients.lifecycle.administrator
Class CCriterion
java.lang.Object
wt.clients.util.PersistableItem
wt.clients.lifecycle.administrator.CCriterion
- public class CCriterion
- extends PersistableItem
A client wrapper to handle Criteria.
Constructor Summary |
protected |
CCriterion()
Creates a new CCriterion. |
protected |
CCriterion(Criterion criterion)
Creates a new CCriterion given a Criterion object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
criterion
private Criterion criterion
CCriterion
protected CCriterion()
throws WTException
- Creates a new CCriterion.
- Throws:
WTException
- if the CCriterion cannot be created
CCriterion
protected CCriterion(Criterion criterion)
- Creates a new CCriterion given a Criterion object.
- Parameters:
criterion
- the server Criterion object.
getAssertion
protected String getAssertion()
- Return the assertion of this criterion.
setAssertion
protected void setAssertion(String assertion)
throws WTPropertyVetoException
- Sets the assertion of this criterion.
- Parameters:
assertion
- the assertion
- Throws:
WTPropertyVetoException
- if the assertion cannot be set