BankAndCustomer
Loading...
Searching...
No Matches
NaturalPerson.h
Go to the documentation of this file.
1// ****************************************************************************
2// Created by GlobalObjects source code generator version 1.0.9
3// Creation date: 2024.05.27 - 11:59:19
4// Database: "GloExamples"
5// ****************************************************************************
6//-----------------------------------------------------------------------------
7//@@gloIncludeGuardBEGIN
8#ifndef INC_NATURALPERSON_H
9#define INC_NATURALPERSON_H
10//@@gloIncludeGuardEND
11//-----------------------------------------------------------------------------
12//@@gloFileDescriptionBEGIN
53//@@gloFileDescriptionEND
54//-----------------------------------------------------------------------------
55//@@gloForwardsBEGIN
56namespace glo
57{
58 class Base;
59}
60//@@gloForwardsEND
61
62//@@gloSuperClassIncludesBEGIN
63#include "Person.h"
64//@@gloSuperClassIncludesEND
65
66//@@gloReferencesIncludesBEGIN
67//@@gloReferencesIncludesEnd
68
69//-----------------------------------------------------------------------------
70//@@gloNamespaceNamesBEGIN
71//@@gloNamespaceNamesEND
72//-----------------------------------------------------------------------------
73//@@gloClassDeclarationBEGIN
74// Glo-BaseVersion:1718706516
88class NaturalPerson : public Person
89//@@gloClassDeclarationEND
90{
91 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
92 //@@gloBeforeKeywordPersistentBEGIN
94 //@@gloBeforeKeywordPersistentEND
95 private persistent:
96 //@@gloBehindKeywordPersistentBEGIN
98 //@@gloBehindKeywordPersistentEND
99 //-------------------------------------------------------------------------
101 //-------------------------------------------------------------------------
111 GLO_INDEX( IDXFullName, Person.m_Name[255] & NaturalPerson.m_Surname[255], USE_DELIMITER | DEU-2 & AUT & DNK & EST & FIN & FRA & ISL & NOR & SWE );
112 //-------------------------------------------------------------------------
113 private:
114 //-------------------------------------------------------------------------
124 std::string m_Surname; // TableName:NaturalPerson FieldPos:1
125 //-------------------------------------------------------------------------
126 //@@gloBeforeKeywordTransientBEGIN
128 //@@gloBeforeKeywordTransientEND
129 private transient:
130 //@@gloBehindKeywordTransientBEGIN
132 //@@gloBehindKeywordTransientEND
133 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
134
135 public:
136 //============== Constructors, destructor
137 //-------------------------------------------------------------------------
148 //-------------------------------------------------------------------------
162 NaturalPerson( const std::string & rsName, const std::string & rsSurname );
163 //-------------------------------------------------------------------------
174 //-------------------------------------------------------------------------
175
176 private:
177 //============== Copy-Konstruktor
178 //-------------------------------------------------------------------------
189 //-------------------------------------------------------------------------
190
191 public:
192 //-----------------------------------------------------------------------
204 void setSurname( const std::string & rsSurname );
205 //-----------------------------------------------------------------------
217 std::string getSurname() const;
218
219 private:
220 //============== Operatoren
221 //-------------------------------------------------------------------------
231 Bank & operator= ( const Bank & );
232 //-------------------------------------------------------------------------
233};
234//-----------------------------------------------------------------------------
235//@@gloNamespaceCurlyBracketsBEGIN
236//@@gloNamespaceCurlyBracketsEND
237//-----------------------------------------------------------------------------
238#endif
#define transient
Definition GloPersistent.h:174
#define persistent
Definition GloPersistent.h:159
Header for Person
A bank or other money management organization.
Definition Bank.h:90
A natural person.
Definition NaturalPerson.h:90
GLO_INDEX(IDXFullName, Person.m_Name[255] &NaturalPerson.m_Surname[255], USE_DELIMITER|DEU-2 &AUT &DNK &EST &FIN &FRA &ISL &NOR &SWE)
Bank & operator=(const Bank &)
NaturalPerson(const std::string &rsName, const std::string &rsSurname)
void setSurname(const std::string &rsSurname)
GLO_OBJECT(NaturalPerson:Person)
NaturalPerson(const NaturalPerson &)
std::string m_Surname
The first name(s) of the natural person.
Definition NaturalPerson.h:124
std::string getSurname() const
An abstract person from which natural and legal persons can be derived.
Definition Person.h:91
std::string m_Name
Definition Person.h:122
Definition GloBasePersistent.h:52