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.
171 lines
5.3 KiB
171 lines
5.3 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, Rlz0M2MSubsetRealization
|
|
Filename: Rlz0M2MSubsetRealization.hxx
|
|
Module: rlz0realization
|
|
@BMIDE autogenerated
|
|
==================================================================================================*/
|
|
|
|
#ifndef TEAMCENTER__REALIZATION__RLZ0M2MSUBSETREALIZATION__HXX
|
|
#define TEAMCENTER__REALIZATION__RLZ0M2MSUBSETREALIZATION__HXX
|
|
|
|
#include <vector>
|
|
#include <unidefs.h>
|
|
#include <common/tc_deprecation_macros.h>
|
|
#include <rlz0realization/Rlz0ModelRealization.hxx>
|
|
|
|
#include <rlz0realization/librlz0realization_exports.h>
|
|
|
|
namespace Teamcenter
|
|
{
|
|
namespace Realization
|
|
{
|
|
class Rlz0M2MSubsetRealization;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Realization
|
|
{
|
|
class Rlz0M2MSubsetRealizationImpl;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Realization
|
|
{
|
|
class Rlz0M2MSubsetRealizationDelegate;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Realization
|
|
{
|
|
class Rlz0M2MSubsetRealizationDispatch;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Realization
|
|
{
|
|
class Rlz0M2MSubsetRealizationGenImpl;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
class RootObjectImpl;
|
|
}
|
|
|
|
class RLZ0REALIZATION_API Teamcenter::Realization::Rlz0M2MSubsetRealization
|
|
: public ::Teamcenter::Realization::Rlz0ModelRealization
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* Get the Interface Name
|
|
* @return - return desc for getInterfaceName
|
|
*/
|
|
static const std::string& getInterfaceName();
|
|
|
|
|
|
///
|
|
/// Getter for a Tag Property
|
|
/// @version Teamcenter 11.1
|
|
/// @param value - Parameter value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getRlz0RealizationContainer( tag_t &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Getter for a Tag Property
|
|
/// @version Teamcenter 11.1
|
|
/// @param value - Parameter value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getRlz0SearchCriteria( tag_t &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Setter for a Tag Property
|
|
/// @version Teamcenter 11.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 setRlz0RealizationContainer( const tag_t &value, bool isNull=false );
|
|
|
|
///
|
|
/// Setter for a Tag Property
|
|
/// @version Teamcenter 11.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 setRlz0SearchCriteria( const tag_t &value, bool isNull=false );
|
|
|
|
///
|
|
/// This operation is to perform action comparisons on custom model to model realized or updated data. This operation also allows to attach an extension as pre and post action where users can write their own ITK implementation.
|
|
/// @version Teamcenter 11.1
|
|
/// @param sourceObjectsList - List of objects from source model.
|
|
/// @param targetObjectsList - List of objects from target model.
|
|
/// @return - Error code will be thrown if the operation is not completed successfully, on success will return zero.
|
|
///
|
|
int rlz0M2MRealizationExtnOperation( const std::vector< tag_t > *sourceObjectsList, std::vector< tag_t > *targetObjectsList );
|
|
protected:
|
|
// Method to initialize
|
|
virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
Rlz0M2MSubsetRealization();
|
|
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~Rlz0M2MSubsetRealization();
|
|
|
|
private:
|
|
// Getter method for the Implementation Object
|
|
Rlz0M2MSubsetRealizationImpl* getRlz0M2MSubsetRealizationImpl() const;
|
|
// Setter method for the Implementation Object
|
|
::Teamcenter::RootObjectImpl* setRlz0M2MSubsetRealizationImpl( ::Teamcenter::RootObjectImpl* impl );
|
|
|
|
// Method to set the delete impl boolean
|
|
void setDeleteImpl( bool del );
|
|
|
|
// Pointer to the Implementation object
|
|
Rlz0M2MSubsetRealizationImpl* m_rlz0m2msubsetrealizationImpl;
|
|
|
|
// Flag to indicate if Implementation object needs to be deleted
|
|
bool m_deleteImpl;
|
|
|
|
/**
|
|
* Name of the Business Object
|
|
*/
|
|
static std::string name;
|
|
|
|
/**
|
|
* Private default constructor. We do not want this class instantiated without the business object passed in.
|
|
* @param Rlz0M2MSubsetRealization - desc for Rlz0M2MSubsetRealization parameter
|
|
*/
|
|
Rlz0M2MSubsetRealization( const Rlz0M2MSubsetRealization& );
|
|
Rlz0M2MSubsetRealization& operator=( const Rlz0M2MSubsetRealization& );
|
|
|
|
friend class Rlz0M2MSubsetRealizationDelegate;
|
|
friend class Rlz0M2MSubsetRealizationDispatch;
|
|
friend class Rlz0M2MSubsetRealizationGenImpl;
|
|
};
|
|
|
|
#include <rlz0realization/librlz0realization_undef.h>
|
|
#endif // TEAMCENTER__REALIZATION__RLZ0M2MSUBSETREALIZATION__HXX
|