180 Bank(
const std::string & rsName,
const std::string & rsBIC );
273 virtual void postDeleteInBase(
int iDeleteErr, glo::EnDeepMode eDeepMode,
void * pData )
override;
286 void setBIC(
const std::string & rsBIC );
322 int setBankAccount( std::shared_ptr< Person> rBankCustomer,
const std::string & rsIBAN );
379 int getBankAccount( std::shared_ptr< BankAccount > & rRetVal, glo::EnSeekMode eMode );
396 int getBankAccount( std::shared_ptr< BankAccount > & rRetVal,
const std::string & rsIBAN );
416 std::shared_ptr< Person> rBankCustomer );
433 int getBankCustomer( std::shared_ptr< Person > & rRetVal,
const std::string & rsIBAN );
#define transient
Definition GloPersistent.h:174
#define persistent
Definition GloPersistent.h:159
A bank or other money management organization.
Definition Bank.h:90
Bank & operator=(const Bank &)
int getBankAccount(std::shared_ptr< BankAccount > &rRetVal, const std::string &rsIBAN)
GLO_OBJECT(Bank:LegalEntity)
glo::TAllSet< BankAccount > m_AllBankAccounts
Definition Bank.h:150
virtual int preDeleteInBase(glo::EnDeepMode eDeepMode, void *&prData) override
int getBankAccounts(std::vector< std::shared_ptr< BankAccount > > &rRetVal, std::shared_ptr< Person > rBankCustomer)
Bank(const std::string &rsName, const std::string &rsBIC)
virtual void postDeleteInBase(int iDeleteErr, glo::EnDeepMode eDeepMode, void *pData) override
GLO_INDEX(IDXBIC, Bank.m_BIC[11], UNIQUE|UNDEFINED)
void setBIC(const std::string &rsBIC)
int getBankAccount(std::shared_ptr< BankAccount > &rRetVal, glo::EnSeekMode eMode)
int removeBankAccount(const std::string &rsIBAN)
std::string m_BIC
Definition Bank.h:125
std::string getBIC() const
int setBankAccount(Person &rBankCustomer, const std::string &rsIBAN)
Creates a bank account with a passed IBAN for the person passed.
int getBankCustomer(std::shared_ptr< Person > &rRetVal, const std::string &rsIBAN)
int setBankAccount(std::shared_ptr< Person > rBankCustomer, const std::string &rsIBAN)
Creates a bank account with a passed IBAN for the person passed.
A legal entity from which organizations can be derived.
Definition LegalEntity.h:90
An abstract person from which natural and legal persons can be derived.
Definition Person.h:91
Definition GloBasePersistent.h:52