BankAndCustomer
Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Freundbeziehungen Makrodefinitionen Seiten
Bank.h
gehe zur Dokumentation dieser Datei
1// ****************************************************************************
2// Created by GlobalObjects source code generator version 1.0.9
3// Creation date: 2024.06.16 - 21:51:20
4// Database: "BankAndCustomer"
5// ****************************************************************************
6//-----------------------------------------------------------------------------
7//@@gloIncludeGuardBEGIN
8#ifndef INC_BANK_H
9#define INC_BANK_H
10//@@gloIncludeGuardEND
11//-----------------------------------------------------------------------------
12//@@gloFileDescriptionBEGIN
78//@@gloFileDescriptionEND
79//-----------------------------------------------------------------------------
80//@@gloForwardsBEGIN
81namespace glo
82{
83 class Base;
84}
85//@@gloForwardsEND
86
87//@@gloSuperClassIncludesBEGIN
88#include "LegalEntity.h"
89//@@gloSuperClassIncludesEND
90
91//@@gloReferencesIncludesBEGIN
92//@@gloReferencesIncludesEnd
93
94//-----------------------------------------------------------------------------
95//@@gloNamespaceNamesBEGIN
96//@@gloNamespaceNamesEND
97//-----------------------------------------------------------------------------
98//@@gloClassDeclarationBEGIN
99// Glo-BaseVersion:1742566122
113class Bank : public LegalEntity
114//@@gloClassDeclarationEND
115{
116 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
117 //@@gloBeforeKeywordPersistentBEGIN
119 //@@gloBeforeKeywordPersistentEND
120 private persistent:
121 //@@gloBehindKeywordPersistentBEGIN
123 //@@gloBehindKeywordPersistentEND
124 //-------------------------------------------------------------------------
126 //-------------------------------------------------------------------------
136 GLO_INDEX( IDXBIC, Bank.m_BIC[11], UNIQUE | UNDEFINED );
137 //-------------------------------------------------------------------------
138 private:
139 //-------------------------------------------------------------------------
154 std::string m_BIC; // TableName:Bank FieldPos:1 TypeInfo:11
155 //-------------------------------------------------------------------------
156 //@@gloBeforeKeywordTransientBEGIN
158 //@@gloBeforeKeywordTransientEND
159 private transient:
160 //@@gloBehindKeywordTransientBEGIN
162 //@@gloBehindKeywordTransientEND
163 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
164
165 private:
166 //-------------------------------------------------------------------------
182 //-------------------------------------------------------------------------
183
184 public:
185 //============== Constructors, destructor
186 //-------------------------------------------------------------------------
197 //-------------------------------------------------------------------------
211 Bank( const std::string & rsName, const std::string & rsBIC );
212 //-------------------------------------------------------------------------
223 //-------------------------------------------------------------------------
224
225 private:
226 //============== Copy-Konstruktor
227 //-------------------------------------------------------------------------
237 Bank( const Bank & );
238 //-------------------------------------------------------------------------
239
240 public:
241 //============== Methoden
242 //-------------------------------------------------------------------------
255 //-----------------------------------------------------------------------
279 virtual int preDeleteInBase( glo::EnDeepMode eDeepMode, void *& prData ) override;
280 //-----------------------------------------------------------------------
308 virtual void postDeleteInBase( int iDeleteErr, glo::EnDeepMode eDeepMode, void * pData ) override;
309 //-----------------------------------------------------------------------
321 void setBIC( const std::string & rsBIC );
322 //-----------------------------------------------------------------------
334 std::string getBIC() const;
335 //-----------------------------------------------------------------------
337
356 int setBankAccount( Person & rBankCustomer, const std::string & rsIBAN );
357 int setBankAccount( std::shared_ptr< Person> rBankCustomer, const std::string & rsIBAN );
359 //-----------------------------------------------------------------------
377 int removeBankAccount( const std::string & rsIBAN );
378 //-----------------------------------------------------------------------
414 int getBankAccount( std::shared_ptr< BankAccount > & rRetVal, glo::EnSeekMode eMode );
415 //-----------------------------------------------------------------------
431 int getBankAccount( std::shared_ptr< BankAccount > & rRetVal, const std::string & rsIBAN );
432 //-----------------------------------------------------------------------
450 int getBankAccounts( std::vector< std::shared_ptr< BankAccount > > & rRetVal,
451 std::shared_ptr< Person> rBankCustomer );
452 //-----------------------------------------------------------------------
468 int getBankCustomer( std::shared_ptr< Person > & rRetVal, const std::string & rsIBAN );
469 //-----------------------------------------------------------------------
470
471 private:
472 //============== Operatoren
473 //-------------------------------------------------------------------------
483 Bank & operator= ( const Bank & );
484 //-------------------------------------------------------------------------
485};
486//-----------------------------------------------------------------------------
487//@@gloNamespaceCurlyBracketsBEGIN
488//@@gloNamespaceCurlyBracketsEND
489//-----------------------------------------------------------------------------
490#endif
#define transient
Definition GloPersistent.h:184
#define persistent
Definition GloPersistent.h:169
Bank & operator=(const Bank &)
int getBankAccount(std::shared_ptr< BankAccount > &rRetVal, const std::string &rsIBAN)
GLO_OBJECT(Bank:LegalEntity)
Bank(const Bank &)
glo::TAllSet< BankAccount > m_AllBankAccounts
Definition Bank.h:181
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)
int initBankAccounts()
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:154
std::string getBIC() const
int setBankAccount(Person &rBankCustomer, const std::string &rsIBAN)
Erstellt ein Bankkonto mit übergebener IBAN für die übergebene Person.
int getBankCustomer(std::shared_ptr< Person > &rRetVal, const std::string &rsIBAN)
int setBankAccount(std::shared_ptr< Person > rBankCustomer, const std::string &rsIBAN)
Erstellt ein Bankkonto mit übergebener IBAN für die übergebene Person.
Definition GloBasePersistent.h:60