Teamcenter C++ API Reference  2312
Awb0Element.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, Awb0Element
12  Filename: Awb0Element.hxx
13  Module: awb0occmgmt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__AWB0ELEMENT__HXX
18 #define TEAMCENTER__AWB0ELEMENT__HXX
19 
20 #include <awb0occmgmt/IToken.hxx>
21 #include <unidefs.h>
22 #include <string>
23 #include <vector>
24 #include <common/tc_deprecation_macros.h>
26 
27 #include <awb0occmgmt/libawb0occmgmt_exports.h>
28 
29 namespace Teamcenter
30 {
31  class Awb0Element;
32 }
33 namespace Teamcenter
34 {
35  class Awb0ElementImpl;
36 }
37 namespace Teamcenter
38 {
39  class Awb0ElementDelegate;
40 }
41 namespace Teamcenter
42 {
43  class Awb0ElementDispatch;
44 }
45 namespace Teamcenter
46 {
47  class Awb0ElementGenImpl;
48 }
49 namespace Teamcenter
50 {
51  class RootObjectImpl;
52 }
53 
54 class AWB0OCCMGMT_API Teamcenter::Awb0Element
56 {
57 public:
58 
63  static const std::string& getInterfaceName();
64 
65 
73  int getAwb0Archetype( tag_t &value, bool &isNull ) const;
74 
82  int getAwb0BreadcrumbAncestor( tag_t &value, bool &isNull ) const;
83 
91  int getAwb0CsidPath( std::string &value, bool &isNull ) const;
92 
100  int getAwb0DisplayedName( std::string &value, bool &isNull ) const;
101 
108  int getAwb0DisplayedNameDisplayableValues( std::vector< std::string > &values );
109 
117  int getAwb0is_modifiable( bool &value, bool &isNull ) const;
118 
127  TC_DEPRECATED_WITH_DEPRECATION_INFO("ActiveWorkspace3.2","Teamcenter::Awb0Element::getAwb0IsStructModifiable","This operation is deprecated Active Workspace 3.2 onwards.")
128  int getAwb0IsStructModifiable( bool &value, bool &isNull ) const;
129 
137  int getAwb0NumberOfChildren( int &value, bool &isNull ) const;
138 
146  int getAwb0Parent( tag_t &value, bool &isNull ) const;
147 
155  int getAwb0ServiceAdapter( std::string &value, bool &isNull ) const;
156 
164  int getAwb0UnderlyingObject( tag_t &value, bool &isNull ) const;
165 
173  int setAwb0DisplayedName( const std::string &value, bool isNull=false );
174 
182  int setAwb0Parent( const tag_t &value, bool isNull=false );
183 
190  int awb0getToken( ::Teamcenter::OccMgmt::IToken **token );
191 
201  int awb0initalize( tag_t parent, int nChildren, const ::Teamcenter::OccMgmt::IToken *token, const char *identifier );
202 
208  int awb0save( );
209 
215  int awb0setChildCountStale( );
216 
223  int awb0CanCBOSBeCreated( bool *verdict );
224 
231  int awb0CanChildBeAdded( bool *verdict );
232 
239  int awb0CanEffectivityBeApplied( bool *verdict );
240 
247  int awb0CanEffectivityBeAppliedOrRemoved( bool *verdict );
248 
255  int awb0CanEffectivityBeViewed( bool *verdict );
256 
263  int awb0CanSelectionBeRemoved( bool *verdict );
264 
271  int awb0CanSelectionBeReplaced( bool *verdict );
272 
279  int awb0CanSiblingBeAdded( bool *verdict );
280 
287  int awb0CanSWCBeCreatedInProductContext( bool *verdict );
288 
295  int awb0CanSWCBeDuplicatedInProductContext( bool *verdict );
296 
303  int awb0CanSWCBeSavedInProductContext( bool *verdict );
304 protected:
305  // Method to initialize
306  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
307 
311  Awb0Element();
312 
316  virtual ~Awb0Element();
317 
318 private:
319  // Getter method for the Implementation Object
320  Awb0ElementImpl* getAwb0ElementImpl() const;
321  // Setter method for the Implementation Object
322  ::Teamcenter::RootObjectImpl* setAwb0ElementImpl( ::Teamcenter::RootObjectImpl* impl );
323 
324  // Method to set the delete impl boolean
325  void setDeleteImpl( bool del );
326 
327  // Pointer to the Implementation object
328  Awb0ElementImpl* m_awb0elementImpl;
329 
330  // Flag to indicate if Implementation object needs to be deleted
332 
336  static std::string name;
337 
342  Awb0Element( const Awb0Element& );
343  Awb0Element& operator=( const Awb0Element& );
344 
345  friend class Awb0ElementDelegate;
346  friend class Awb0ElementGenImpl;
347 };
348 
349 #include <awb0occmgmt/libawb0occmgmt_undef.h>
350 #endif // TEAMCENTER__AWB0ELEMENT__HXX