Teamcenter C++ API Reference  2312
Item.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, Item
12  Filename: Item.hxx
13  Module: tccore
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__ITEM__HXX
18 #define TEAMCENTER__ITEM__HXX
19 
20 #include <vector>
21 #include <unidefs.h>
22 #include <string>
23 #include <common/tc_deprecation_macros.h>
25 
26 #include <tccore/libtccore_exports.h>
27 
28 namespace Teamcenter
29 {
30  class Item;
31 }
32 namespace Teamcenter
33 {
34  class ItemImpl;
35 }
36 namespace Teamcenter
37 {
38  class ItemDelegate;
39 }
40 namespace Teamcenter
41 {
42  class ItemDispatch;
43 }
44 namespace Teamcenter
45 {
46  class ItemGenImpl;
47 }
48 namespace Teamcenter
49 {
50  class RootObjectImpl;
51 }
52 
53 class TCCORE_API Teamcenter::Item
55 {
56 public:
57 
62  static const std::string& getInterfaceName();
63 
64 
72  int getBom_view_tags( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
73 
81  int getConfiguration_object_tag( tag_t &value, bool &isNull ) const;
82 
90  int getCurrent_id_context( std::string &value, bool &isNull ) const;
91 
99  int getFnd0Configurator( tag_t &value, bool &isNull ) const;
100 
108  int getFnd0OriginalLocationCode( std::string &value, bool &isNull ) const;
109 
117  int getFnd0PartIdentifier( std::string &value, bool &isNull ) const;
118 
126  int getFnd0PosBiasedVariantAvail( bool &value, bool &isNull ) const;
127 
135  int getFnd0StructureAuditLogs( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
136 
144  int getFnd0VariantNamespace( std::string &value, bool &isNull ) const;
145 
153  int getGlobal_alt_list( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
154 
162  int getHas_variant_module( bool &value, bool &isNull ) const;
163 
171  int getIs_configuration_item( bool &value, bool &isNull ) const;
172 
180  int getIs_vi( bool &value, bool &isNull ) const;
181 
189  int getItem_id( std::string &value, bool &isNull ) const;
190 
198  int getPreferred_global_alt( tag_t &value, bool &isNull ) const;
199 
207  int getUom_tag( tag_t &value, bool &isNull ) const;
208 
216  int setBom_view_tags( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
217 
225  int setConfiguration_object_tag( const tag_t &value, bool isNull=false );
226 
234  int setFnd0OriginalLocationCode( const std::string &value, bool isNull=false );
235 
243  int setGlobal_alt_list( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
244 
252  int setHas_variant_module( bool value, bool isNull=false );
253 
261  int setIs_configuration_item( bool value, bool isNull=false );
262 
270  int setIs_vi( bool value, bool isNull=false );
271 
279  int setItem_id( const std::string &value, bool isNull=false );
280 
288  int setPreferred_global_alt( const tag_t &value, bool isNull=false );
289 
297  int setRevision_list( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
298 
306  int setUom_tag( const tag_t &value, bool isNull=false );
307 
314  int isLatestRevisionMature( bool *result );
315 protected:
316  // Method to initialize
317  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
318 
322  Item();
323 
327  virtual ~Item();
328 
329 private:
330  // Getter method for the Implementation Object
331  ItemImpl* getItemImpl() const;
332  // Setter method for the Implementation Object
333  ::Teamcenter::RootObjectImpl* setItemImpl( ::Teamcenter::RootObjectImpl* impl );
334 
335  // Method to set the delete impl boolean
336  void setDeleteImpl( bool del );
337 
338  // Pointer to the Implementation object
339  ItemImpl* m_itemImpl;
340 
341  // Flag to indicate if Implementation object needs to be deleted
343 
347  static std::string name;
348 
353  Item( const Item& );
354  Item& operator=( const Item& );
355 
356  friend class ItemDelegate;
357  friend class ItemGenImpl;
358  friend class ItemImpl;
359 };
360 
361 #include <tccore/libtccore_undef.h>
362 #endif // TEAMCENTER__ITEM__HXX