com.softwareag.centrasite.appl.framework.validation
Interface Constrained

All Known Subinterfaces:
Control
All Known Implementing Classes:
DefaultConstrained, DefaultControl

public interface Constrained

Interface of an object, which may act as the source for instances of ValidationConstraint and ReadOnlyConstraint.


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.
 

Method Detail

isReadOnly

boolean isReadOnly()
Returns, whether the object is read-only.


setReadOnly

void setReadOnly(boolean pReadOnly)
Sets, whether the object is read-only.


hasErrors

boolean hasErrors()
Returns, whether the object contains errors.


setErrors

void setErrors(boolean pErrors)
Sets, whether the object contains errors.