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.

155 lines
4.7 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, Mat1SubstanceDelegate
Filename: Mat1SubstanceDelegate.hxx
Module: mat1materialmgmt
@BMIDE autogenerated
==================================================================================================*/
#ifndef MATERIALMGMT__MAT1SUBSTANCEDELEGATE_HXX
#define MATERIALMGMT__MAT1SUBSTANCEDELEGATE_HXX
#include <common/tc_deprecation_macros.h>
#include <mat1materialmgmt/Mat1Substance.hxx>
#include <mat1materialmgmt/libmat1materialmgmt_exports.h>
namespace materialmgmt
{
class Mat1SubstanceDelegate;
}
namespace materialmgmt
{
class Mat1SubstanceImpl;
}
namespace materialmgmt
{
class Mat1Substance;
}
namespace materialmgmt
{
class Mat1SubstanceGenImpl;
}
namespace materialmgmt_alias = ::materialmgmt;
class MAT1MATERIALMGMT_API materialmgmt_alias::Mat1SubstanceDelegate
{
public:
// Method to initialize this Class
static int initializeClass();
// Method to get the Mat1SubstanceDelegate instance
static Mat1SubstanceDelegate& getInstance();
// Method to create the Mat1SubstanceImpl pointer
static Mat1SubstanceImpl* createImpl( Mat1Substance& ifObj );
// Method to delete the Mat1SubstanceImpl pointer
static void deleteImpl( Mat1SubstanceImpl* impl );
///
/// Setter for a string Property
/// @version Teamcenter 10.1
/// @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 setMat1external_identifierBase(Mat1Substance &ifObj, const std::string &value, bool isNull );
///
/// Setter for a Boolean Property
/// @version Teamcenter 10.1
/// @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 setMat1IsInActiveBase(Mat1Substance &ifObj, bool value, bool isNull );
///
/// Setter for a string Property
/// @version Teamcenter 10.1
/// @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 setMat1unique_identifierBase(Mat1Substance &ifObj, const std::string &value, bool isNull );
///
/// desc for createPost
/// @version Tc 8
/// @param creInput - Description for the Create Input
/// @return - return desc for createPost
///
int createPostBase(const Mat1Substance &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 Mat1Substance &ifObj, ::Teamcenter::CreateInput *creInput );
///
/// 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 Mat1Substance &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 Mat1Substance &ifObj, ::Teamcenter::CreateInput *creInput );
///
/// validate saveas input
/// @version Teamcenter 9
/// @param pSavAsInput - desc
/// @param vecDeepCopyData - desc
/// @return - returns an int
///
int validateSaveAsInputBase(const Mat1Substance &ifObj, ::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData );
protected:
// Pointer to the instance
static Mat1SubstanceDelegate* m_pInstance;
Mat1SubstanceDelegate();
virtual ~Mat1SubstanceDelegate();
static void setInstance( Mat1SubstanceDelegate* instance );
private:
friend class ::materialmgmt::Mat1SubstanceGenImpl;
};
#include <mat1materialmgmt/libmat1materialmgmt_undef.h>
#endif // MATERIALMGMT__MAT1SUBSTANCEDELEGATE_HXX