com.softwareag.centrasite.appl.framework.validation.impl
Class DefaultConstrained

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.validation.impl.DefaultConstrained
All Implemented Interfaces:
Constrained

public class DefaultConstrained
extends java.lang.Object
implements Constrained

Default implementation of Constrained.


Constructor Summary
DefaultConstrained()
           
 
Method Summary
 boolean hasErrors()
          Returns, whether the object contains errors.
 boolean isReadOnly()
          Returns, whether the object is read-only.
 void setErrors(boolean pErrors)
          Sets, whether the object contains errors.
 void setReadOnly(boolean pReadOnly)
          Sets, whether the object is read-only.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConstrained

public DefaultConstrained()
Method Detail

isReadOnly

public boolean isReadOnly()
Description copied from interface: Constrained
Returns, whether the object is read-only.

Specified by:
isReadOnly in interface Constrained

setReadOnly

public void setReadOnly(boolean pReadOnly)
Description copied from interface: Constrained
Sets, whether the object is read-only.

Specified by:
setReadOnly in interface Constrained

hasErrors

public boolean hasErrors()
Description copied from interface: Constrained
Returns, whether the object contains errors.

Specified by:
hasErrors in interface Constrained

setErrors

public void setErrors(boolean pErrors)
Description copied from interface: Constrained
Sets, whether the object contains errors.

Specified by:
setErrors in interface Constrained