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.

218 lines
6.9 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, Mdl0SearchDefDelegate
Filename: Mdl0SearchDefDelegate.hxx
Module: mdl0model
@BMIDE autogenerated
==================================================================================================*/
#ifndef TEAMCENTER__APPMODEL__MDL0SEARCHDEFDELEGATE_HXX
#define TEAMCENTER__APPMODEL__MDL0SEARCHDEFDELEGATE_HXX
#include <common/tc_deprecation_macros.h>
#include <mdl0model/Mdl0SearchDef.hxx>
#include <mdl0model/libmdl0model_exports.h>
namespace Teamcenter
{
namespace AppModel
{
class Mdl0SearchDefDelegate;
}
}
namespace Teamcenter
{
namespace AppModel
{
class Mdl0SearchDefImpl;
}
}
namespace Teamcenter
{
namespace AppModel
{
class Mdl0SearchDef;
}
}
namespace Teamcenter
{
namespace AppModel
{
class Mdl0SearchDefGenImpl;
}
}
namespace Teamcenter_alias = ::Teamcenter;
class MDL0MODEL_API Teamcenter_alias::AppModel::Mdl0SearchDefDelegate
{
public:
// Method to initialize this Class
static int initializeClass();
// Method to get the Mdl0SearchDefDelegate instance
static Mdl0SearchDefDelegate& getInstance();
// Method to create the Mdl0SearchDefImpl pointer
static Mdl0SearchDefImpl* createImpl( Mdl0SearchDef& ifObj );
// Method to delete the Mdl0SearchDefImpl pointer
static void deleteImpl( Mdl0SearchDefImpl* impl );
///
/// Getter for a Boolean Property
/// @version Teamcenter 9
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getMdl0_tso_flagBase(const Mdl0SearchDef &ifObj, bool &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 11.3
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getMdl0ReturnTypeBase(const Mdl0SearchDef &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 11.3
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getMdl0RootTypeBase(const Mdl0SearchDef &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for an Integer Property
/// @version Teamcenter 9
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getMdl0searchtypeBase(const Mdl0SearchDef &ifObj, int &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 11.3
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getMdl0TraversalKeyBase(const Mdl0SearchDef &ifObj, std::string &value, bool &isNull ) const;
///
/// Setter for a Boolean Property
/// @version Teamcenter 9
/// @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 setMdl0_tso_flagBase(Mdl0SearchDef &ifObj, bool value, bool isNull );
///
/// Setter for a string 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 setMdl0ReturnTypeBase(Mdl0SearchDef &ifObj, const std::string &value, bool isNull );
///
/// Setter for a string 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 setMdl0RootTypeBase(Mdl0SearchDef &ifObj, const std::string &value, bool isNull );
///
/// Setter for a string 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 setMdl0TraversalKeyBase(Mdl0SearchDef &ifObj, const std::string &value, bool isNull );
///
/// This is the getter for retrieving the recipe/permanent ID if its been created (and cached on the instance). Every Business Object should implement this operation.
/// @version Teamcenter 11.1
/// @param uid - Recipe/permanent ID
/// @param isFirstTime - If Session Recovery Uid is yet to be set or does the object need to be serialized again?
/// @return - Failure code
///
int fnd0AskSRUidBase(const Mdl0SearchDef &ifObj, std::string *uid, bool *isFirstTime ) const;
///
/// Generates permanent ID/recipe. Every Business Object should implement this operation.
/// @version Teamcenter 11.1
/// @param recipe - Permanent ID/recipe
/// @return - Failure code.
///
int fnd0GenerateRecipeBase(const Mdl0SearchDef &ifObj, std::string *recipe );
///
/// If Business Object supports recoverable ID. Every Business Object should implement this operation.
/// @version Teamcenter 11.1
/// @param isPersistedRecipe - isPersistedRecipe param should be set to true if the recipe is limited to the user session and should be serialized to the database
/// @param isRecoverableIDSupported - Returning true indicates support for recoverability/permanent IDs
/// @return - Failure code.
///
int fnd0IsRecoverableBase(const Mdl0SearchDef &ifObj, bool *isPersistedRecipe, bool *isRecoverableIDSupported ) const;
///
/// This is the setter for the recipe/permanent ID when it is created (to be cached on the instance). Every Business Object should implement this operation.
/// @version Teamcenter 11.1
/// @param uid - Rrecipe/permanent ID
/// @return - Failure code.
///
int fnd0SetSRUidBase(const Mdl0SearchDef &ifObj, const std::string *uid );
protected:
// Pointer to the instance
static Mdl0SearchDefDelegate* m_pInstance;
Mdl0SearchDefDelegate();
virtual ~Mdl0SearchDefDelegate();
static void setInstance( Mdl0SearchDefDelegate* instance );
private:
friend class ::Teamcenter::AppModel::Mdl0SearchDefGenImpl;
};
#include <mdl0model/libmdl0model_undef.h>
#endif // TEAMCENTER__APPMODEL__MDL0SEARCHDEFDELEGATE_HXX