Teamcenter C++ API Reference
2312
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
schmgt
TimeSheetEntry.hxx
Go to the documentation of this file.
1
//Copyright 2022 Siemens Digital Industries Software
2
//==================================================
3
//Copyright $2023.
4
//Siemens Product Lifecycle Management Software Inc.
5
//All Rights Reserved.
6
//==================================================
7
//Copyright 2022 Siemens Digital Industries Software
8
9
/*==================================================================================================
10
File description:
11
This file contains the declaration for the Business Object, TimeSheetEntry
12
Filename: TimeSheetEntry.hxx
13
Module: schmgt
14
@BMIDE autogenerated
15
==================================================================================================*/
16
17
#ifndef TEAMCENTER__TIMESHEETENTRY__HXX
18
#define TEAMCENTER__TIMESHEETENTRY__HXX
19
20
#include <string>
21
#include <unidefs.h>
22
#include <common/tc_deprecation_macros.h>
23
#include <
tccore/WorkspaceObject.hxx
>
24
25
#include <schmgt/libschmgt_exports.h>
26
27
namespace
Teamcenter
28
{
29
class
TimeSheetEntry;
30
}
31
namespace
Teamcenter
32
{
33
class
TimeSheetEntryImpl;
34
}
35
namespace
Teamcenter
36
{
37
class
TimeSheetEntryDelegate;
38
}
39
namespace
Teamcenter
40
{
41
class
TimeSheetEntryDispatch;
42
}
43
namespace
Teamcenter
44
{
45
class
TimeSheetEntryGenImpl;
46
}
47
namespace
Teamcenter
48
{
49
class
RootObjectImpl;
50
}
51
52
class
SCHMGT_API Teamcenter::
TimeSheetEntry
53
:
public
::Teamcenter::WorkspaceObject
54
{
55
public
:
56
61
static
const
std::string&
getInterfaceName
();
62
63
71
int
getBill_code
( std::string &value,
bool
&isNull )
const
;
72
80
int
getBill_sub_code
( std::string &value,
bool
&isNull )
const
;
81
89
int
getBill_type
( std::string &value,
bool
&isNull )
const
;
90
98
int
getBillrate_tag
( tag_t &value,
bool
&isNull )
const
;
99
107
int
getDate
( date_t &value,
bool
&isNull )
const
;
108
116
int
getMinutes
(
int
&value,
bool
&isNull )
const
;
117
125
int
getScheduletask_tag
( tag_t &value,
bool
&isNull )
const
;
126
134
int
getTime_category
( std::string &value,
bool
&isNull )
const
;
135
143
int
getUser_tag
( tag_t &value,
bool
&isNull )
const
;
144
152
int
setBill_code
(
const
std::string &value,
bool
isNull=
false
);
153
161
int
setBill_sub_code
(
const
std::string &value,
bool
isNull=
false
);
162
170
int
setBill_type
(
const
std::string &value,
bool
isNull=
false
);
171
179
int
setBillrate_tag
(
const
tag_t &value,
bool
isNull=
false
);
180
188
int
setDate
(
const
date_t &value,
bool
isNull=
false
);
189
197
int
setMinutes
(
int
value,
bool
isNull=
false
);
198
206
int
setScheduletask_tag
(
const
tag_t &value,
bool
isNull=
false
);
207
215
int
setTime_category
(
const
std::string &value,
bool
isNull=
false
);
216
224
int
setUser_tag
(
const
tag_t &value,
bool
isNull=
false
);
225
protected
:
226
// Method to initialize
227
virtual
void
initialize
( ::Teamcenter::RootObjectImpl* impl );
228
232
TimeSheetEntry
();
233
237
virtual
~TimeSheetEntry
();
238
239
private
:
240
// Getter method for the Implementation Object
241
TimeSheetEntryImpl*
getTimeSheetEntryImpl
()
const
;
242
// Setter method for the Implementation Object
243
::Teamcenter::RootObjectImpl*
setTimeSheetEntryImpl
( ::Teamcenter::RootObjectImpl* impl );
244
245
// Method to set the delete impl boolean
246
void
setDeleteImpl
(
bool
del );
247
248
// Pointer to the Implementation object
249
TimeSheetEntryImpl*
m_timesheetentryImpl
;
250
251
// Flag to indicate if Implementation object needs to be deleted
252
bool
m_deleteImpl
;
253
257
static
std::string
name
;
258
263
TimeSheetEntry
(
const
TimeSheetEntry
& );
264
TimeSheetEntry
&
operator=
(
const
TimeSheetEntry
& );
265
266
friend
class
TimeSheetEntryDelegate;
267
friend
class
TimeSheetEntryGenImpl;
268
};
269
270
#include <schmgt/libschmgt_undef.h>
271
#endif // TEAMCENTER__TIMESHEETENTRY__HXX