|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.centrasite.appl.framework.validation.impl.AbstractCondition
public abstract class AbstractCondition
Abstract base class for deriving conditions.
Constructor Summary | |
---|---|
protected |
AbstractCondition(ErrorCode pErrorCode)
Creates a new instance with the given error code. |
Method Summary | |
---|---|
protected void |
error(Constraint.Listener pListener,
Constraint.Context pContext,
java.lang.Object pSource,
ErrorCode pErrorCode,
java.lang.String pErrorMessage,
java.lang.Object... pDetails)
Notifies the listener, that an error has occurred. |
protected void |
error(Constraint.Listener pListener,
Constraint.Context pContext,
java.lang.Object pSource,
java.lang.String pErrorMessage,
java.lang.Object... pDetails)
Notifies the listener, that an error has occurred. |
protected ErrorCode |
getErrorCode()
Returns the conditions error code. |
protected java.lang.String |
getName(java.lang.Object pSource)
Returns the current validatables name. |
protected java.lang.Object |
getValue(java.lang.Object pSource)
Returns the current validatables value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.softwareag.centrasite.appl.framework.validation.Condition |
---|
check |
Constructor Detail |
---|
protected AbstractCondition(ErrorCode pErrorCode)
Method Detail |
---|
protected ErrorCode getErrorCode()
protected void error(Constraint.Listener pListener, Constraint.Context pContext, java.lang.Object pSource, java.lang.String pErrorMessage, java.lang.Object... pDetails) throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
com.softwareag.centrasite.appl.framework.CSAppFrameworkException
protected void error(Constraint.Listener pListener, Constraint.Context pContext, java.lang.Object pSource, ErrorCode pErrorCode, java.lang.String pErrorMessage, java.lang.Object... pDetails) throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
com.softwareag.centrasite.appl.framework.CSAppFrameworkException
protected java.lang.Object getValue(java.lang.Object pSource) throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
com.softwareag.centrasite.appl.framework.CSAppFrameworkException
protected java.lang.String getName(java.lang.Object pSource)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |