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
61//@@gloFileDescriptionEND
62//-----------------------------------------------------------------------------
63//@@gloForwardsBEGIN
64namespace glo
65{
66 class Base;
67}
68//@@gloForwardsEND
69
70//@@gloSuperClassIncludesBEGIN
71#include "Person.h"
72//@@gloSuperClassIncludesEND
73
74//@@gloReferencesIncludesBEGIN
75//@@gloReferencesIncludesEnd
76
77//-----------------------------------------------------------------------------
78//@@gloNamespaceNamesBEGIN
79//@@gloNamespaceNamesEND
80//-----------------------------------------------------------------------------
81//@@gloClassDeclarationBEGIN
82// Glo-BaseVersion:1730810247
96class NaturalPerson : public Person
97//@@gloClassDeclarationEND
98{
99 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
100 //@@gloBeforeKeywordPersistentBEGIN
102 //@@gloBeforeKeywordPersistentEND
103 private persistent:
104 //@@gloBehindKeywordPersistentBEGIN
106 //@@gloBehindKeywordPersistentEND
107 //-------------------------------------------------------------------------
109 //-------------------------------------------------------------------------
119 GLO_INDEX( IDXFullName, Person.m_Name[255] & NaturalPerson.m_Surname[255], USE_DELIMITER | DEU-2 & AUT & DNK & EST & FIN & FRA & ISL & NOR & SWE );
120 //-------------------------------------------------------------------------
121 private:
122 //-------------------------------------------------------------------------
132 std::string m_Surname; // TableName:NaturalPerson FieldPos:1
133 //-------------------------------------------------------------------------
134 //@@gloBeforeKeywordTransientBEGIN
136 //@@gloBeforeKeywordTransientEND
137 private transient:
138 //@@gloBehindKeywordTransientBEGIN
140 //@@gloBehindKeywordTransientEND
141 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
142
143 public:
144 //============== Constructors, destructor
145 //-------------------------------------------------------------------------
156 //-------------------------------------------------------------------------
170 NaturalPerson( const std::string & rsName, const std::string & rsSurname );
171 //-------------------------------------------------------------------------
182 //-------------------------------------------------------------------------
183
184 private:
185 //============== Copy-Konstruktor
186 //-------------------------------------------------------------------------
197 //-------------------------------------------------------------------------
198
199 public:
200 //-----------------------------------------------------------------------
212 void setSurname( const std::string & rsSurname );
213 //-----------------------------------------------------------------------
225 std::string getSurname() const;
226
227 private:
228 //============== Operatoren
229 //-------------------------------------------------------------------------
239 Bank & operator= ( const Bank & );
240 //-------------------------------------------------------------------------
241};
242//-----------------------------------------------------------------------------
243//@@gloNamespaceCurlyBracketsBEGIN
244//@@gloNamespaceCurlyBracketsEND
245//-----------------------------------------------------------------------------
246#endif
#define transient
Definition GloPersistent.h:181
#define persistent
Definition GloPersistent.h:166
Header for Person
A bank or other money management organization.
Definition Bank.h:98
A natural person.
Definition NaturalPerson.h:98
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:132
std::string getSurname() const
An abstract person from which natural and legal persons can be derived.
Definition Person.h:99
std::string m_Name
Definition Person.h:130
Definition GloBasePersistent.h:60