com.ail.coretest.service
Class TestCommand

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.coretest.service.TestCommand
All Implemented Interfaces:
CommandArg, TestArg, java.io.Serializable, java.lang.Cloneable

public class TestCommand
extends Command
implements TestArg

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
TestCommand()
           
 
Method Summary
 CommandArg getArgs()
          Get the argument set associated with this command.
 Attribute getDetailAttribute()
           
 boolean getPostConditionFlag()
          Fetch the value of the postconditionflag argument.
 boolean getPreConditionFlag()
          Fetch the value of the preconditionflag argument.
 int getR()
          Fetch the value of the r argument.
 Version getVersionArgRet()
          Fetch the value of the version argument.
 int getX()
          Fetch the value of the x argument.
 int getY()
          Fetch the value of the y argument.
 void setArgs(CommandArg arg)
          Update this Command object's arguments with those taken from the command arg passed in.
 void setDetailAttribute(Attribute attribute)
           
 void setPostConditionFlag(boolean postconditionflag)
          Set the value of the postconditionflag argument.
 void setPreConditionFlag(boolean preconditionflag)
          Set the value of the preconditionflag argument.
 void setR(int r)
          Set the value of the r argument.
 void setVersionArgRet(Version versionArgRet)
          Set the value of the version argument.
 void setX(int x)
          Set the value of the x argument.
 void setY(int y)
          Set the value of the y argument.
 
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

TestCommand

public TestCommand()
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.

getX

public int getX()
Fetch the value of the x argument. First value for adder

Specified by:
getX in interface TestArg
Returns:
value of x
See Also:
setX(int)

setX

public void setX(int x)
Set the value of the x argument. First value for adder

Specified by:
setX in interface TestArg
Parameters:
x - New value for x argument.
See Also:
getX()

getY

public int getY()
Fetch the value of the y argument. Second value for adder

Specified by:
getY in interface TestArg
Returns:
value of y
See Also:
setY(int)

setY

public void setY(int y)
Set the value of the y argument. Second value for adder

Specified by:
setY in interface TestArg
Parameters:
y - New value for y argument.
See Also:
getY()

getR

public int getR()
Fetch the value of the r argument. Result from addition

Specified by:
getR in interface TestArg
Returns:
value of r
See Also:
setR(int)

setR

public void setR(int r)
Set the value of the r argument. Result from addition

Specified by:
setR in interface TestArg
Parameters:
r - New value for r argument.
See Also:
getR()

getPreConditionFlag

public boolean getPreConditionFlag()
Fetch the value of the preconditionflag argument. Flag set by the pre condition service to show that it has been run.

Specified by:
getPreConditionFlag in interface TestArg
Returns:
value of preconditionflag
See Also:
setPreConditionFlag(boolean)

setPreConditionFlag

public void setPreConditionFlag(boolean preconditionflag)
Set the value of the preconditionflag argument. Flag set by the pre condition service to show that it has been run.

Specified by:
setPreConditionFlag in interface TestArg
Parameters:
preconditionflag - New value for preconditionflag argument.
See Also:
getPreConditionFlag()

getPostConditionFlag

public boolean getPostConditionFlag()
Fetch the value of the postconditionflag argument. Flag set by the pre-condition service to show that it has been run.

Specified by:
getPostConditionFlag in interface TestArg
Returns:
value of postconditionflag
See Also:
setPostConditionFlag(boolean)

setPostConditionFlag

public void setPostConditionFlag(boolean postconditionflag)
Set the value of the postconditionflag argument. Flag set by the pre-condition service to show that it has been run.

Specified by:
setPostConditionFlag in interface TestArg
Parameters:
postconditionflag - New value for postconditionflag argument.
See Also:
getPostConditionFlag()

getDetailAttribute

public Attribute getDetailAttribute()
Specified by:
getDetailAttribute in interface TestArg

setDetailAttribute

public void setDetailAttribute(Attribute attribute)
Specified by:
setDetailAttribute in interface TestArg

getVersionArgRet

public Version getVersionArgRet()
Description copied from interface: TestArg
Fetch the value of the version argument.

Specified by:
getVersionArgRet in interface TestArg
Returns:
value of version
See Also:
#setVersion

setVersionArgRet

public void setVersionArgRet(Version versionArgRet)
Description copied from interface: TestArg
Set the value of the version argument.

Specified by:
setVersionArgRet in interface TestArg
Parameters:
versionArgRet - New value for version argument.
See Also:
#getVersion