public abstract class BankBOBase
extends com.anaptecs.jeaf.spi.persistence.PersistentObject
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCOUNTS_ROLE
Constant for the name of role "accounts".
|
static com.anaptecs.jeaf.spi.persistence.ClassID |
CLASS_ID
The class id is a unique id within the domain model of an application for every business object class.
|
static String |
CODE_ATTRIBUTE
Constant for the name of attribute "code".
|
static String |
CODE_ROW
Constant for the name of the row that is used to store the values of attribute "code".
|
static String |
EMPLOYEES_ROLE
Constant for the name of role "employees".
|
static short |
MUTUAL_SAVINGS |
static String |
NAME_ATTRIBUTE
Constant for the name of attribute "name".
|
static String |
NAME_ROW
Constant for the name of the row that is used to store the values of attribute "name".
|
static short |
PRIVATE_BANK |
static String |
TABLE_NAME
Name of the database table that is used to store the data of objects of this class.
|
static String |
TYPE_ATTRIBUTE
Constant for the name of attribute "type".
|
static String |
TYPE_ROW
Constant for the name of the row that is used to store the values of attribute "type".
|
| Modifier | Constructor and Description |
|---|---|
protected |
BankBOBase()
Initialize object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToAccounts(AccountBO pAccounts)
Method adds the passed AccountBO object to the association "accounts".
|
void |
addToAccounts(Collection<AccountBO> pAccounts)
Method adds all passed objects to the association "accounts".
|
void |
addToEmployees(Collection<EmployeeBO> pEmployees)
Method adds all passed objects to the association "employees".
|
void |
addToEmployees(EmployeeBO pEmployees)
Method adds the passed EmployeeBO object to the association "employees".
|
void |
clearAccounts()
Method removes all objects from the association "accounts".
|
void |
clearEmployees()
Method removes all objects from the association "employees".
|
static List<BankBO> |
findAllBankBOs()
Method returns all instance of this class including potential subclasses.
|
Set<AccountBO> |
getAccounts()
Method returns the association "accounts".
|
com.anaptecs.jeaf.spi.persistence.ClassID |
getClassID()
Method returns the class id of this business object class.
|
Long |
getCode()
Method returns the attribute "code".
|
Set<EmployeeBO> |
getEmployees()
Method returns the association "employees".
|
String |
getName()
Method returns the attribute "name".
|
Short |
getType()
Method returns the attribute "type".
|
void |
removeFromAccounts(AccountBO pAccounts)
Method removes the passed AccountBO object from the association "accounts".
|
void |
removeFromEmployees(EmployeeBO pEmployees)
Method removes the passed EmployeeBO object from the association "employees".
|
void |
setCode(Long pCode)
Method sets the attribute "code".
|
void |
setName(String pName)
Method sets the attribute "name".
|
void |
setType(Short pType)
Method sets the attribute "type".
|
public static final com.anaptecs.jeaf.spi.persistence.ClassID CLASS_ID
public static final String TABLE_NAME
public static final String NAME_ROW
public static final String NAME_ATTRIBUTE
public static final String CODE_ROW
public static final String CODE_ATTRIBUTE
public static final String TYPE_ROW
public static final String TYPE_ATTRIBUTE
public static final String EMPLOYEES_ROLE
public static final String ACCOUNTS_ROLE
public static short MUTUAL_SAVINGS
public static short PRIVATE_BANK
protected BankBOBase()
public static List<BankBO> findAllBankBOs()
List List with all objects of this class. The method never returns null.public Set<EmployeeBO> getEmployees()
public void addToEmployees(EmployeeBO pEmployees)
pEmployees - Object that should be added to the association "employees". The parameter must not be null.public void addToEmployees(Collection<EmployeeBO> pEmployees)
pEmployees - Collection with all objects that should be added to the association "employees". The parameter
must not be null.public void removeFromEmployees(EmployeeBO pEmployees)
pEmployees - Object that should be removed from the association "employees". The parameter must not be null.public void clearEmployees()
public Set<AccountBO> getAccounts()
public void addToAccounts(AccountBO pAccounts)
pAccounts - Object that should be added to the association "accounts". The parameter must not be null.public void addToAccounts(Collection<AccountBO> pAccounts)
pAccounts - Collection with all objects that should be added to the association "accounts". The parameter must
not be null.public void removeFromAccounts(AccountBO pAccounts)
pAccounts - Object that should be removed from the association "accounts". The parameter must not be null.public void clearAccounts()
public String getName()
public void setName(String pName)
pName - Value to which the attribute "name" should be set.public Long getCode()
public void setCode(Long pCode)
pCode - Value to which the attribute "code" should be set.public Short getType()
public void setType(Short pType)
pType - Value to which the attribute "type" should be set.public com.anaptecs.jeaf.spi.persistence.ClassID getClassID()
getClassID in class com.anaptecs.jeaf.spi.persistence.PersistentObjectClassID Class ID of this business object. The method never returns null.Copyright © 2021. All rights reserved.