+

Search Tips   |   Advanced Search

 

Instance and class variables

 

The ModifyCheckingAccountCmdImpl class declares the variables used by the methods in the class, including the remote interface of the CheckingAccount entity bean, the variables used to capture operations on the checking account (balances and amounts), and a compensating command.

 

Variables that are used by the ModifyCheckingAccountCmd command

The following code example shows the variables in the ModifyCheckingAccountCmdImpl class:

public class ModifyCheckingAccountCmdImpl extends TargetableCommandImpl implements ModifyCheckingAccountCmd
{
// Variables public float balance; public float amount; public float oldBalance; public CheckingAccount checkingAccount; public ModifyCheckingAccountCompensatorCmd modifyCheckingAccountCompensatorCmd;
...
}



 

Related tasks


Implementing command interfaces

 

Reference topic