com.ail.coretest.service
Class TestArgImp

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.command.CommandArgImp
          extended by com.ail.coretest.service.TestArgImp
All Implemented Interfaces:
CommandArg, TestArg, java.io.Serializable, java.lang.Cloneable

public class TestArgImp
extends CommandArgImp
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
TestArgImp()
          Default constructor
TestArgImp(int x, int y)
          Argument priming constructor.
 
Method Summary
 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 setDetailAttribute(Attribute detailAttribute)
           
 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.CommandArgImp
getCallersCore, setCallersCore
 
Methods inherited from class com.ail.core.Type
addAttribute, clone, 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

TestArgImp

public TestArgImp()
Default constructor


TestArgImp

public TestArgImp(int x,
                  int y)
Argument priming constructor.

Parameters:
x - Value for X argument.
y - Value for Y argument.
Method Detail

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 detailAttribute)
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