wt.clients.lifecycle.administrator
Class CCriterion

java.lang.Object
  extended bywt.clients.util.PersistableItem
      extended bywt.clients.lifecycle.administrator.CCriterion

public class CCriterion
extends PersistableItem

A client wrapper to handle Criteria.


Field Summary
private  Criterion criterion
           
 
Fields inherited from class wt.clients.util.PersistableItem
 
Constructor Summary
protected CCriterion()
          Creates a new CCriterion.
protected CCriterion(Criterion criterion)
          Creates a new CCriterion given a Criterion object.
 
Method Summary
protected  String getAssertion()
          Return the assertion of this criterion.
protected  void setAssertion(String assertion)
          Sets the assertion of this criterion.
 
Methods inherited from class wt.clients.util.PersistableItem
isCreated, isModified, refresh, save, setCreated, setModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

criterion

private Criterion criterion
Constructor Detail

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.
Method Detail

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