Teamcenter C++ API Reference  2312
RevisionNameRule.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, RevisionNameRule
12  Filename: RevisionNameRule.hxx
13  Module: property
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__REVISIONNAMERULE__HXX
18 #define TEAMCENTER__REVISIONNAMERULE__HXX
19 
20 #include <string>
21 #include <common/tc_deprecation_macros.h>
22 #include <tccore/BusinessRule.hxx>
23 
24 #include <property/libproperty_exports.h>
25 
26 namespace Teamcenter
27 {
28  class RevisionNameRule;
29 }
30 namespace Teamcenter
31 {
32  class RevisionNameRuleImpl;
33 }
34 namespace Teamcenter
35 {
36  class RevisionNameRuleDelegate;
37 }
38 namespace Teamcenter
39 {
40  class RevisionNameRuleDispatch;
41 }
42 namespace Teamcenter
43 {
44  class RevisionNameRuleGenImpl;
45 }
46 namespace Teamcenter
47 {
48  class RootObjectImpl;
49 }
50 
51 class PROPERTY_API Teamcenter::RevisionNameRule
53 {
54 public:
55 
60  static const std::string& getInterfaceName();
61 
62 
70  int getExclude_skip_letters( bool &value, bool &isNull ) const;
71 
79  int getInit_rev_desc( std::string &value, bool &isNull ) const;
80 
88  int getInit_rev_start( std::string &value, bool &isNull ) const;
89 
97  int getInit_rev_type( int &value, bool &isNull ) const;
98 
106  int getRule_name( std::string &value, bool &isNull ) const;
107 
115  int getSec_rev_desc( std::string &value, bool &isNull ) const;
116 
124  int getSec_rev_start( std::string &value, bool &isNull ) const;
125 
133  int getSec_rev_type( int &value, bool &isNull ) const;
134 
142  int getSuppl_rev_desc( std::string &value, bool &isNull ) const;
143 
151  int getSuppl_rev_format( int &value, bool &isNull ) const;
152 
160  int setExclude_skip_letters( bool value, bool isNull=false );
161 
169  int setInit_rev_desc( const std::string &value, bool isNull=false );
170 
178  int setInit_rev_start( const std::string &value, bool isNull=false );
179 
187  int setInit_rev_type( int value, bool isNull=false );
188 
196  int setRule_name( const std::string &value, bool isNull=false );
197 
205  int setSec_rev_desc( const std::string &value, bool isNull=false );
206 
214  int setSec_rev_start( const std::string &value, bool isNull=false );
215 
223  int setSec_rev_type( int value, bool isNull=false );
224 
232  int setSuppl_rev_desc( const std::string &value, bool isNull=false );
233 
241  int setSuppl_rev_format( int value, bool isNull=false );
242 protected:
243  // Method to initialize
244  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
245 
250 
254  virtual ~RevisionNameRule();
255 
256 private:
257  // Getter method for the Implementation Object
258  RevisionNameRuleImpl* getRevisionNameRuleImpl() const;
259  // Setter method for the Implementation Object
260  ::Teamcenter::RootObjectImpl* setRevisionNameRuleImpl( ::Teamcenter::RootObjectImpl* impl );
261 
262  // Method to set the delete impl boolean
263  void setDeleteImpl( bool del );
264 
265  // Pointer to the Implementation object
266  RevisionNameRuleImpl* m_revisionnameruleImpl;
267 
268  // Flag to indicate if Implementation object needs to be deleted
270 
274  static std::string name;
275 
282 
283  friend class RevisionNameRuleDelegate;
284  friend class RevisionNameRuleGenImpl;
285 };
286 
287 #include <property/libproperty_undef.h>
288 #endif // TEAMCENTER__REVISIONNAMERULE__HXX