com.ail.core.validator
Class ValidatorCommand

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.command.AbstractCommand
          extended by com.ail.core.command.Command
              extended by com.ail.core.validator.ValidatorCommand
All Implemented Interfaces:
CommandArg, ValidatorArg, java.io.Serializable, java.lang.Cloneable

public class ValidatorCommand
extends Command
implements ValidatorArg

Version:
$Revision: 1.2 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
ValidatorCommand()
           
 
Method Summary
 CommandArg getArgs()
          Get the argument set associated with this command.
 java.lang.String getKeyArg()
          Getter for the keyArg property.
 java.lang.String getValidationSpecArg()
          Getter for the ValidationSpecArg property.
 ValidatorResult getValidatorResultRet()
          Getter for the validatorResultRet property.
 java.lang.Object getValueArg()
          Getter for the valueArg property.
 void setArgs(CommandArg arg)
          Update this Command object's arguments with those taken from the command arg passed in.
 void setKeyArg(java.lang.String keyArg)
          Setter for the keyArg property.
 void setValidationSpecArg(java.lang.String validationSpecArg)
          Setter for the ValidationSpecArg property.
 void setValidatorResultRet(ValidatorResult validatorResultRet)
          Setter for the validatorResultRet property.
 void setValueArg(java.lang.Object valueArg)
          Setter for the valueArg property.
 
Methods inherited from class com.ail.core.command.Command
clone, getAccessor, getCallersCore, getConfiguration, getVersion, invoke, setAccessor, setCallersCore, setConfiguration, setService
 
Methods inherited from class com.ail.core.Type
addAttribute, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ail.core.command.CommandArg
getCallersCore, setCallersCore
 

Constructor Detail

ValidatorCommand

public ValidatorCommand()
Method Detail

setArgs

public void setArgs(CommandArg arg)
Description copied from class: AbstractCommand
Update this Command object's arguments with those taken from the command arg passed in. This is in effect a bulk setter. This interface will be implemented by beans that have many more getters/setters to support their properties. The implementations of this method take 'that', and pull all the relevant properties into this.

Specified by:
setArgs in class AbstractCommand
Parameters:
arg - Source for arguments

getArgs

public CommandArg getArgs()
Description copied from class: AbstractCommand
Get the argument set associated with this command.

Specified by:
getArgs in class AbstractCommand
Returns:
This objects arguments.

getValueArg

public java.lang.Object getValueArg()
Getter for the valueArg property. Value to be validated

Specified by:
getValueArg in interface ValidatorArg
Returns:
@{inheritDoc}

setValueArg

public void setValueArg(java.lang.Object valueArg)
Setter for the valueArg property.

Specified by:
setValueArg in interface ValidatorArg
Parameters:
valueArg - @{inheritDoc}
See Also:
ValidatorArg.getValueArg()

getKeyArg

public java.lang.String getKeyArg()
Getter for the keyArg property. Identifies validation to perform

Specified by:
getKeyArg in interface ValidatorArg
Returns:
@{inheritDoc}

setKeyArg

public void setKeyArg(java.lang.String keyArg)
Setter for the keyArg property.

Specified by:
setKeyArg in interface ValidatorArg
Parameters:
keyArg - @{inheritDoc}
See Also:
ValidatorArg.getKeyArg()

getValidatorResultRet

public ValidatorResult getValidatorResultRet()
Getter for the validatorResultRet property. Results of validation

Specified by:
getValidatorResultRet in interface ValidatorArg
Returns:
@{inheritDoc}

setValidatorResultRet

public void setValidatorResultRet(ValidatorResult validatorResultRet)
Setter for the validatorResultRet property.

Specified by:
setValidatorResultRet in interface ValidatorArg
Parameters:
validatorResultRet - @{inheritDoc}
See Also:
ValidatorArg.getValidatorResultRet()

getValidationSpecArg

public java.lang.String getValidationSpecArg()
Getter for the ValidationSpecArg property. The ValidationSpec includes any details that the service will need in order to perform validations.

Specified by:
getValidationSpecArg in interface ValidatorArg
Returns:
@{inheritDoc}

setValidationSpecArg

public void setValidationSpecArg(java.lang.String validationSpecArg)
Setter for the ValidationSpecArg property.

Specified by:
setValidationSpecArg in interface ValidatorArg
Parameters:
validationSpecArg - @{inheritDoc}
See Also:
ValidatorArg.getValidationSpecArg()