com.carlosbcruz.account.dynamicmodel
Class AccountCheckGroup

java.lang.Object
  extended by com.carlosbcruz.account.dynamicmodel.AccountCheckGroup

public class AccountCheckGroup
extends java.lang.Object

Has all the users check groups.

Author:
Carlos Fernando Bella Cruz - pessoal@carlosbcruz.com

Constructor Summary
AccountCheckGroup()
           
 
Method Summary
 void addCheck(AccountCheck check)
          Add and check to the check group
 AccountCheck getCheck(int position)
          Return check by Position
 java.lang.String getCheckGroupIdentification()
          Returns the check Group Identification.
 int getNumberOfChecks()
          Inform how many check there are.
 void setCheckGroupIdentification(java.lang.String checkGroupIdentification)
          Sets the check Group Identification.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountCheckGroup

public AccountCheckGroup()
Method Detail

getCheckGroupIdentification

public java.lang.String getCheckGroupIdentification()
Returns the check Group Identification.

Returns:
The check group identification

setCheckGroupIdentification

public void setCheckGroupIdentification(java.lang.String checkGroupIdentification)
Sets the check Group Identification.

Parameters:
checkGroupIdentification - The checkGroupIdentification to set

getNumberOfChecks

public int getNumberOfChecks()
Inform how many check there are.

Returns:
The number of check groups

getCheck

public AccountCheck getCheck(int position)
Return check by Position

Parameters:
position - The desired position
Returns:
the Check required

addCheck

public void addCheck(AccountCheck check)
Add and check to the check group

Parameters:
check - The check to be inserted