public abstract class CustomerBOBase
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 String |
ACTIVE_ATTRIBUTE
Constant for the name of attribute "active".
|
static String |
ACTIVE_ROW
Constant for the name of the row that is used to store the values of attribute "active".
|
static String |
ADRESS_ROLE
Constant for the name of role "adress".
|
static String |
ATTENDINGEMPLOYEES_ROLE
Constant for the name of role "attendingEmployees".
|
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 |
TABLE_NAME
Name of the database table that is used to store the data of objects of this class.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CustomerBOBase()
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 |
addToAttendingEmployees(Collection<EmployeeBO> pAttendingEmployees)
Method adds all passed objects to the association "attendingEmployees".
|
void |
addToAttendingEmployees(EmployeeBO pAttendingEmployees)
Method adds the passed EmployeeBO object to the association "attendingEmployees".
|
void |
clearAccounts()
Method removes all objects from the association "accounts".
|
void |
clearAttendingEmployees()
Method removes all objects from the association "attendingEmployees".
|
static List<CustomerBO> |
findAllCustomerBOs()
Method returns all instance of this class including potential subclasses.
|
Set<AccountBO> |
getAccounts()
Method returns the association "accounts".
|
Boolean |
getActive()
Method returns the attribute "active".
|
MyAddressBO |
getAdress()
Method returns the association "adress".
|
Set<EmployeeBO> |
getAttendingEmployees()
Method returns the association "attendingEmployees".
|
com.anaptecs.jeaf.spi.persistence.ClassID |
getClassID()
Method returns the class id of this business object class.
|
void |
removeFromAccounts(AccountBO pAccounts)
Method removes the passed AccountBO object from the association "accounts".
|
void |
removeFromAttendingEmployees(EmployeeBO pAttendingEmployees)
Method removes the passed EmployeeBO object from the association "attendingEmployees".
|
void |
setActive(Boolean pActive)
Method sets the attribute "active".
|
void |
setAdress(MyAddressBO pAdress)
Method sets the association "adress".
|
void |
unsetAdress()
Method unsets the association "adress".
|
public static final com.anaptecs.jeaf.spi.persistence.ClassID CLASS_ID
public static final String TABLE_NAME
public static final String ACTIVE_ROW
public static final String ACTIVE_ATTRIBUTE
public static final String ACCOUNTS_ROLE
public static final String ATTENDINGEMPLOYEES_ROLE
public static final String ADRESS_ROLE
protected CustomerBOBase()
public static List<CustomerBO> findAllCustomerBOs()
List List with all objects of this class. The method never returns null.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 Set<EmployeeBO> getAttendingEmployees()
public void addToAttendingEmployees(EmployeeBO pAttendingEmployees)
pAttendingEmployees - Object that should be added to the association "attendingEmployees". The parameter must
not be null.public void addToAttendingEmployees(Collection<EmployeeBO> pAttendingEmployees)
pAttendingEmployees - Collection with all objects that should be added to the association
"attendingEmployees". The parameter must not be null.public void removeFromAttendingEmployees(EmployeeBO pAttendingEmployees)
pAttendingEmployees - Object that should be removed from the association "attendingEmployees". The parameter
must not be null.public void clearAttendingEmployees()
public Boolean getActive()
public void setActive(Boolean pActive)
pActive - Value to which the attribute "active" should be set.public MyAddressBO getAdress()
public void setAdress(MyAddressBO pAdress)
pAdress - MyAddressBO to which the association "adress" should be set.public final void unsetAdress()
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.