Teamcenter C++ API Reference  2312
ItemRevision.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, ItemRevision
12  Filename: ItemRevision.hxx
13  Module: tccore
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__ITEMREVISION__HXX
18 #define TEAMCENTER__ITEMREVISION__HXX
19 
20 #include <unidefs.h>
25 #include <string>
26 #include <vector>
27 #include <common/tc_deprecation_macros.h>
29 
30 #include <tccore/libtccore_exports.h>
31 
32 namespace Teamcenter
33 {
34  class ItemRevision;
35 }
36 namespace Teamcenter
37 {
38  class ItemRevisionImpl;
39 }
40 namespace Teamcenter
41 {
42  class ItemRevisionDelegate;
43 }
44 namespace Teamcenter
45 {
46  class ItemRevisionDispatch;
47 }
48 namespace Teamcenter
49 {
50  class ItemRevisionGenImpl;
51 }
52 namespace Teamcenter
53 {
54  class RootObjectImpl;
55 }
56 
57 class TCCORE_API Teamcenter::ItemRevision
59 {
60 public:
61 
66  static const std::string& getInterfaceName();
67 
68 
76  int getDeclared_options( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
77 
85  int getFms_tickets( std::vector< std::string > &values, std::vector< int > &isNull ) const;
86 
94  int getFnd0ConfiguredDrawings( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
95 
103  int getFnd0CurrentLocationCode( std::string &value, bool &isNull ) const;
104 
112  int getFnd0Drawings( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
113 
121  int getFnd0IRDCUsed( std::string &value, bool &isNull ) const;
122 
130  int getFnd0StructureAuditLogs( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
131 
139  int getGde_bvr_list( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
140 
148  int getHas_variant_module( bool &value, bool &isNull ) const;
149 
157  int getIs_IRDC( bool &value, bool &isNull ) const;
158 
166  int getItem_revision_id( std::string &value, bool &isNull ) const;
167 
175  int getItems_tag( tag_t &value, bool &isNull ) const;
176 
184  int getPs_children( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
185 
193  int getPs_parents( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
194 
202  int getRevision_list( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
203 
211  int getSequence_anchor( tag_t &value, bool &isNull ) const;
212 
220  int getSequence_id( int &value, bool &isNull ) const;
221 
229  int getSequence_limit( int &value, bool &isNull ) const;
230 
238  int getStructure_revisions( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
239 
247  int getUsed_options( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
248 
256  int getVariant_expression_block( tag_t &value, bool &isNull ) const;
257 
265  int setDeclared_options( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
266 
274  int setFnd0CurrentLocationCode( const std::string &value, bool isNull=false );
275 
283  int setGde_bvr_list( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
284 
292  int setHas_variant_module( bool value, bool isNull=false );
293 
301  int setItem_revision_id( const std::string &value, bool isNull=false );
302 
310  int setItems_tag( const tag_t &value, bool isNull=false );
311 
319  int setSequence_anchor( const tag_t &value, bool isNull=false );
320 
328  int setSequence_id( int value, bool isNull=false );
329 
337  int setSequence_limit( int value, bool isNull=false );
338 
346  int setStructure_revisions( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
347 
355  int setUsed_options( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
356 
364  int setVariant_expression_block( const tag_t &value, bool isNull=false );
365 
377  int checkUniqueItems( tag_t otherSide, tag_t relation, bool isPrimary, int targetCount, int otherSideCount, bool *result );
378 
386  int finalizeReviseInput( ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData );
387 
395  static int fnd0FinalizeReviseInput( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
396 
404  int fnd0IsParticipant( const std::string &participantTypeName, bool *output );
405 
413  static int fnd0Revise( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
414 
422  static int fnd0RevisePost( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
423 
431  int fnd0ReviseShadowObject( ::Teamcenter::ReviseInput *pReviseInput, tag_t *newShObjTag );
432 
440  static int fnd0SetPropertiesFromReviseInput( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
441 
449  static int fnd0ValidateReviseInput( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
450 
459  int revise( ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData, tag_t *newObjTag );
460 
468  int revisePost( ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData );
469 
477 
485  int validateReviseInput( ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData );
486 protected:
487  // Method to initialize
488  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
489 
493  ItemRevision();
494 
498  virtual ~ItemRevision();
499 
500 private:
501  // Getter method for the Implementation Object
502  ItemRevisionImpl* getItemRevisionImpl() const;
503  // Setter method for the Implementation Object
504  ::Teamcenter::RootObjectImpl* setItemRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
505 
506  // Method to set the delete impl boolean
507  void setDeleteImpl( bool del );
508 
509  // Pointer to the Implementation object
510  ItemRevisionImpl* m_itemrevisionImpl;
511 
512  // Flag to indicate if Implementation object needs to be deleted
514 
518  static std::string name;
519 
524  ItemRevision( const ItemRevision& );
526 
527  friend class ItemRevisionDelegate;
528  friend class ItemRevisionGenImpl;
529  friend class ItemRevisionImpl;
530 };
531 
532 #include <tccore/libtccore_undef.h>
533 #endif // TEAMCENTER__ITEMREVISION__HXX