public abstract class EmployeeBOBase
extends com.anaptecs.jeaf.spi.persistence.PersistentObject
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTENDEDCUSTOMERS_ROLE
Constant for the name of role "attendedCustomers".
|
static String |
BANK_ROLE
Constant for the name of role "bank".
|
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 |
EMPLOYEES_ROLE
Constant for the name of role "employees".
|
static String |
PERSON_ROLE
Constant for the name of role "person".
|
static String |
RESPONSIBILITY_ROLE
Constant for the name of role "responsibility".
|
static String |
SUPERIOR_ROLE
Constant for the name of role "superior".
|
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 |
EmployeeBOBase()
Initialize object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToAttendedCustomers(Collection<CustomerBO> pAttendedCustomers)
Method adds all passed objects to the association "attendedCustomers".
|
void |
addToAttendedCustomers(CustomerBO pAttendedCustomers)
Method adds the passed CustomerBO object to the association "attendedCustomers".
|
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 |
clearAttendedCustomers()
Method removes all objects from the association "attendedCustomers".
|
void |
clearEmployees()
Method removes all objects from the association "employees".
|
static List<EmployeeBO> |
findAllEmployeeBOs()
Method returns all instance of this class including potential subclasses.
|
Set<CustomerBO> |
getAttendedCustomers()
Method returns the association "attendedCustomers".
|
BankBO |
getBank()
Method returns the association "bank".
|
com.anaptecs.jeaf.spi.persistence.ClassID |
getClassID()
Method returns the class id of this business object class.
|
Set<EmployeeBO> |
getEmployees()
Method returns the association "employees".
|
MyPersonBO |
getPerson()
Method returns the association "person".
|
ResponsibilityTypeBO |
getResponsibility()
Method returns the association "responsibility".
|
EmployeeBO |
getSuperior()
Method returns the association "superior".
|
void |
removeFromAttendedCustomers(CustomerBO pAttendedCustomers)
Method removes the passed CustomerBO object from the association "attendedCustomers".
|
void |
removeFromEmployees(EmployeeBO pEmployees)
Method removes the passed EmployeeBO object from the association "employees".
|
void |
setBank(BankBO pBank)
Method sets the association "bank".
|
void |
setPerson(MyPersonBO pPerson)
Method sets the association "person".
|
void |
setResponsibility(ResponsibilityTypeBO pResponsibility)
Method sets the association "responsibility".
|
void |
setSuperior(EmployeeBO pSuperior)
Method sets the association "superior".
|
void |
unsetBank()
Method unsets the association "bank".
|
void |
unsetPerson()
Method unsets the association "person".
|
void |
unsetResponsibility()
Method unsets the association "responsibility".
|
void |
unsetSuperior()
Method unsets the association "superior".
|
public static final com.anaptecs.jeaf.spi.persistence.ClassID CLASS_ID
public static final String TABLE_NAME
public static final String BANK_ROLE
public static final String PERSON_ROLE
public static final String ATTENDEDCUSTOMERS_ROLE
public static final String SUPERIOR_ROLE
public static final String EMPLOYEES_ROLE
public static final String RESPONSIBILITY_ROLE
protected EmployeeBOBase()
public static List<EmployeeBO> findAllEmployeeBOs()
List List with all objects of this class. The method never returns null.public BankBO getBank()
public void setBank(BankBO pBank)
pBank - BankBO to which the association "bank" should be set.public final void unsetBank()
public MyPersonBO getPerson()
public void setPerson(MyPersonBO pPerson)
pPerson - MyPersonBO to which the association "person" should be set.public final void unsetPerson()
public Set<CustomerBO> getAttendedCustomers()
public void addToAttendedCustomers(CustomerBO pAttendedCustomers)
pAttendedCustomers - Object that should be added to the association "attendedCustomers". The parameter must
not be null.public void addToAttendedCustomers(Collection<CustomerBO> pAttendedCustomers)
pAttendedCustomers - Collection with all objects that should be added to the association "attendedCustomers".
The parameter must not be null.public void removeFromAttendedCustomers(CustomerBO pAttendedCustomers)
pAttendedCustomers - Object that should be removed from the association "attendedCustomers". The parameter
must not be null.public void clearAttendedCustomers()
public EmployeeBO getSuperior()
public void setSuperior(EmployeeBO pSuperior)
pSuperior - EmployeeBO to which the association "superior" should be set.public final void unsetSuperior()
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 ResponsibilityTypeBO getResponsibility()
public void setResponsibility(ResponsibilityTypeBO pResponsibility)
pResponsibility - ResponsibilityTypeBO to which the association "responsibility" should be set.public final void unsetResponsibility()
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.