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

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.validation.impl.AbstractDynamicErrorCode
All Implemented Interfaces:
ErrorCode, DynamicErrorCode

public abstract class AbstractDynamicErrorCode
extends java.lang.Object
implements DynamicErrorCode

Default implementation of DynamicErrorCode: The "info" parameter is parsed as a string of error code specifications. In other words, the task of the method DynamicErrorCode.getErrorCode(Context, Object) is to select either of the specified codes.


Constructor Summary
AbstractDynamicErrorCode()
           
 
Method Summary
protected  java.lang.String[] getErrorCodes()
          Returns the set of possible error codes.
 void setInfo(java.lang.String pErrorCodes)
          Sets the set of specified error codes.
 
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.impl.DynamicErrorCode
getErrorCode
 

Constructor Detail

AbstractDynamicErrorCode

public AbstractDynamicErrorCode()
Method Detail

getErrorCodes

protected java.lang.String[] getErrorCodes()
Returns the set of possible error codes.


setInfo

public void setInfo(java.lang.String pErrorCodes)
Sets the set of specified error codes.

Parameters:
pErrorCodes - The possible error codes as a comma separated list.