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.

219 lines
7.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, Cfg0VariantCriteria
Filename: Cfg0VariantCriteria.hxx
Module: Cfg0configurator
@BMIDE autogenerated
==================================================================================================*/
#ifndef TEAMCENTER__CFG0CONFIGURATOR__CFG0VARIANTCRITERIA__HXX
#define TEAMCENTER__CFG0CONFIGURATOR__CFG0VARIANTCRITERIA__HXX
#include <metaframework/ReviseInput.hxx>
#include <metaframework/DeepCopyData.hxx>
#include <metaframework/BulkInput.hxx>
#include <metaframework/BulkData.hxx>
#include <unidefs.h>
#include <common/tc_deprecation_macros.h>
#include <ps/VariantRule.hxx>
#include <Cfg0configurator/libcfg0configurator_exports.h>
namespace Teamcenter
{
namespace Cfg0configurator
{
class Cfg0VariantCriteria;
}
}
namespace Teamcenter
{
namespace Cfg0configurator
{
class Cfg0VariantCriteriaImpl;
}
}
namespace Teamcenter
{
namespace Cfg0configurator
{
class Cfg0VariantCriteriaDelegate;
}
}
namespace Teamcenter
{
namespace Cfg0configurator
{
class Cfg0VariantCriteriaDispatch;
}
}
namespace Teamcenter
{
namespace Cfg0configurator
{
class Cfg0VariantCriteriaGenImpl;
}
}
namespace Teamcenter
{
class RootObjectImpl;
}
class CFG0CONFIGURATOR_API Teamcenter::Cfg0configurator::Cfg0VariantCriteria
: public ::Teamcenter::VariantRule
{
public:
/**
* Get the Interface Name
* @return - return desc for getInterfaceName
*/
static const std::string& getInterfaceName();
///
/// Finalize Revise Input Descriptor
/// @version Teamcenter 11.6
/// @param pReviseInput - Revise input
/// @param vecDeepCopyData - Deep Copy Data Vector
/// @return - Failure Code
///
int finalizeReviseInput( ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData );
///
/// This operation is not supported now, there will be no support for issues stemming from uses of this operation.
/// @version Teamcenter 11.6
/// @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 -
///
static int fnd0FinalizeReviseInput( 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.6
/// @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 -
///
static int fnd0Revise( 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.6
/// @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 -
///
static int fnd0RevisePost( 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.6
/// @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 -
///
static int fnd0SetPropertiesFromReviseInput( 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.6
/// @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 -
///
static int fnd0ValidateReviseInput( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
///
/// Cfg0VariantCriteria Revise Operation
/// @version Teamcenter 11.6
/// @param pReviseInput - Revise Input
/// @param vecDeepCopyData - Deep Copy Data Vactor
/// @param newObject - New Object tag
/// @return - Failure Code
///
int revise( ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData, tag_t *newObject );
///
/// Reivse post operation
/// @version Teamcenter 11.6
/// @param pReviseInput - Revise Input Descriptor
/// @param vecDeepCopyData - Deep Copy Data Vector
/// @return - Failure Code
///
int revisePost( ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData );
///
/// Set properties from revise input.
/// @version Teamcenter 11.6
/// @param pReviseInput - Revise Input Descriptor
/// @return - Failure code
///
int setPropertiesFromReviseInput( ::Teamcenter::ReviseInput *pReviseInput );
///
/// Validate Revise Input Descriptor
/// @version Teamcenter 11.6
/// @param pReviseInput - Revise Input Descriptor
/// @param vecDeepCopyData - Deep Copy Data Vector
/// @return - Failure Code
///
int validateReviseInput( ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData );
protected:
// Method to initialize
virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
/**
* Constructor
*/
Cfg0VariantCriteria();
/**
* Destructor
*/
virtual ~Cfg0VariantCriteria();
private:
// Getter method for the Implementation Object
Cfg0VariantCriteriaImpl* getCfg0VariantCriteriaImpl() const;
// Setter method for the Implementation Object
::Teamcenter::RootObjectImpl* setCfg0VariantCriteriaImpl( ::Teamcenter::RootObjectImpl* impl );
// Method to set the delete impl boolean
void setDeleteImpl( bool del );
// Pointer to the Implementation object
Cfg0VariantCriteriaImpl* m_cfg0variantcriteriaImpl;
// 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 Cfg0VariantCriteria - desc for Cfg0VariantCriteria parameter
*/
Cfg0VariantCriteria( const Cfg0VariantCriteria& );
Cfg0VariantCriteria& operator=( const Cfg0VariantCriteria& );
friend class Cfg0VariantCriteriaDelegate;
friend class Cfg0VariantCriteriaDispatch;
friend class Cfg0VariantCriteriaGenImpl;
};
#include <Cfg0configurator/libcfg0configurator_undef.h>
#endif // TEAMCENTER__CFG0CONFIGURATOR__CFG0VARIANTCRITERIA__HXX