You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

216 lines
7.6 KiB

//Copyright 2020 Siemens Digital Industries Software
//==================================================
//Copyright $2020.
//Siemens Product Lifecycle Management Software Inc.
//All Rights Reserved.
//==================================================
//Copyright 2020 Siemens Digital Industries Software
/*==================================================================================================
File description:
This file contains the declaration for the Business Object, Bom0AbstractPartBrkdownElemDelegate
Filename: Bom0AbstractPartBrkdownElemDelegate.hxx
Module: Bom0bommanagement
@BMIDE autogenerated
==================================================================================================*/
#ifndef TEAMCENTER__BOM0BOMMANAGEMENT__BOM0ABSTRACTPARTBRKDOWNELEMDELEGATE_HXX
#define TEAMCENTER__BOM0BOMMANAGEMENT__BOM0ABSTRACTPARTBRKDOWNELEMDELEGATE_HXX
#include <common/tc_deprecation_macros.h>
#include <Bom0bommanagement/Bom0AbstractPartBrkdownElem.hxx>
#include <Bom0bommanagement/libbom0bommanagement_exports.h>
namespace Teamcenter
{
namespace Bom0bommanagement
{
class Bom0AbstractPartBrkdownElemDelegate;
}
}
namespace Teamcenter
{
namespace Bom0bommanagement
{
class Bom0AbstractPartBrkdownElemImpl;
}
}
namespace Teamcenter
{
namespace Bom0bommanagement
{
class Bom0AbstractPartBrkdownElem;
}
}
namespace Teamcenter
{
namespace Bom0bommanagement
{
class Bom0AbstractPartBrkdownElemGenImpl;
}
}
namespace Teamcenter_alias = ::Teamcenter;
class BOM0BOMMANAGEMENT_API Teamcenter_alias::Bom0bommanagement::Bom0AbstractPartBrkdownElemDelegate
{
public:
// Method to initialize this Class
static int initializeClass();
// Method to get the Bom0AbstractPartBrkdownElemDelegate instance
static Bom0AbstractPartBrkdownElemDelegate& getInstance();
// Method to create the Bom0AbstractPartBrkdownElemImpl pointer
static Bom0AbstractPartBrkdownElemImpl* createImpl( Bom0AbstractPartBrkdownElem& ifObj );
// Method to delete the Bom0AbstractPartBrkdownElemImpl pointer
static void deleteImpl( Bom0AbstractPartBrkdownElemImpl* impl );
///
/// Getter for Property Display Value
/// @version Teamcenter 11.2.3
/// @param values - Parameter value
/// @return - Status. 0 if successful
///
int getBom0QuantityDisplayableValuesBase(Bom0AbstractPartBrkdownElem &ifObj, std::vector< std::string > &values );
///
/// Setter for a Tag Property
/// @version Teamcenter 11.3
/// @param value - Value to be set for the parameter
/// @param isNull - If true, set the parameter value to null
/// @return - Status. 0 if successful
///
int setBom0ChildPartBase(Bom0AbstractPartBrkdownElem &ifObj, const tag_t &value, bool isNull );
///
/// Setter for a Tag Property
/// @version Teamcenter 11.3
/// @param value - Value to be set for the parameter
/// @param isNull - If true, set the parameter value to null
/// @return - Status. 0 if successful
///
int setBom0ParentPartBase(Bom0AbstractPartBrkdownElem &ifObj, const tag_t &value, bool isNull );
///
/// Setter for a Double Property
/// @version Teamcenter 11.3
/// @param value - Value to be set for the parameter
/// @param isNull - If true, set the parameter value to null
/// @return - Status. 0 if successful
///
int setBom0QuantityBase(Bom0AbstractPartBrkdownElem &ifObj, double value, bool isNull );
///
/// Setter for a Tag Property
/// @version Teamcenter 11.3
/// @param value - Value to be set for the parameter
/// @param isNull - If true, set the parameter value to null
/// @return - Status. 0 if successful
///
int setBom0UOMBase(Bom0AbstractPartBrkdownElem &ifObj, const tag_t &value, bool isNull );
///
/// desc for createPost
/// @version Tc 8
/// @param creInput - Description for the Create Input
/// @return - return desc for createPost
///
int createPostBase(const Bom0AbstractPartBrkdownElem &ifObj, ::Teamcenter::CreateInput *creInput );
///
/// Description for the Finalize Create Input
/// @version Tc 8
/// @param creInput - desc for creInput parameter
/// @return - Return desc for Initialize for Create
///
int finalizeCreateInputBase(const Bom0AbstractPartBrkdownElem &ifObj, ::Teamcenter::CreateInput *creInput );
///
/// This operation is not supported now, there will be no support for issues stemming from uses of this operation.
/// @version Teamcenter 11.2.3
/// @param inputs - A vector of data that contains reference information to the objects to be revised
/// @param bd - A data structure to store objects and other information relevant for set-based operation
/// @return -
///
int fnd0RevisePostBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
///
/// This operation is not supported now, there will be no support for issues stemming from uses of this operation.
/// @version Teamcenter 11.2.2
/// @param inputs - A vector of data that contains reference information to the object to be saved
/// @param bd - A data structure to store objects and other information relevant for set-based operation
/// @return - This operation returns ITK_ok on success. Otherwise, it will return specific error code.
///
int fnd0SaveBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
///
/// This operation is not supported now, there will be no support for issues stemming from uses of this operation.
/// @version Teamcenter 11.2.3
/// @param inputs - A vector of data that contains reference information to the object to be saved
/// @param bd - A data structure to store objects and other information relevant for set-based operation
/// @return -
///
int fnd0SaveAsPostBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
///
/// Generic revisePost operation.
/// @version Teamcenter 10.1
/// @param pReviseInput - Input ReviseInput object.
/// @param vecDeepCopyData - Vector of deep copy data.
/// @return - Returns an integer value.
///
int revisePostBase(const Bom0AbstractPartBrkdownElem &ifObj, ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData );
///
/// Generic saveAsPost operation.
/// @version Teamcenter 8.1
/// @param pSavAsInput - Input argument as SaveAsInput object.
/// @param vecDeepCopyData - vector deepcopy data
/// @return - Return integer value.
///
int saveAsPostBase(const Bom0AbstractPartBrkdownElem &ifObj, ::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData );
///
/// desc for validate for create
/// @version Tc 8
/// @param creInput - desc for creInput parameter
/// @return - ret desc for validate for create
///
int validateCreateInputBase(const Bom0AbstractPartBrkdownElem &ifObj, ::Teamcenter::CreateInput *creInput );
protected:
// Pointer to the instance
static Bom0AbstractPartBrkdownElemDelegate* m_pInstance;
Bom0AbstractPartBrkdownElemDelegate();
virtual ~Bom0AbstractPartBrkdownElemDelegate();
static void setInstance( Bom0AbstractPartBrkdownElemDelegate* instance );
private:
friend class ::Teamcenter::Bom0bommanagement::Bom0AbstractPartBrkdownElemGenImpl;
};
#include <Bom0bommanagement/libbom0bommanagement_undef.h>
#endif // TEAMCENTER__BOM0BOMMANAGEMENT__BOM0ABSTRACTPARTBRKDOWNELEMDELEGATE_HXX