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.

201 lines
5.8 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, CalParmRevision
Filename: CalParmRevision.hxx
Module: ccdm
@BMIDE autogenerated
==================================================================================================*/
#ifndef CCDM__CALPARMREVISION__HXX
#define CCDM__CALPARMREVISION__HXX
#include <string>
#include <unidefs.h>
#include <common/tc_deprecation_macros.h>
#include <rdv/ArchitectureRevision.hxx>
#include <ccdm/libccdm_exports.h>
namespace ccdm
{
class CalParmRevision;
}
namespace ccdm
{
class CalParmRevisionImpl;
}
namespace ccdm
{
class CalParmRevisionDelegate;
}
namespace ccdm
{
class CalParmRevisionDispatch;
}
namespace ccdm
{
class CalParmRevisionGenImpl;
}
namespace Teamcenter
{
class RootObjectImpl;
}
class CCDM_API ccdm::CalParmRevision
: public ::Teamcenter::ArchitectureRevision
{
public:
/**
* Get the Interface Name
* @return - return desc for getInterfaceName
*/
static const std::string& getInterfaceName();
///
/// Getter for a string Property
/// @version Teamcenter 8.1
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getComment( std::string &value, bool &isNull ) const;
///
/// Getter for a Tag Property
/// @version Teamcenter 8.1
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getControlEngineer( tag_t &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 8.1
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getParmDescriptor( std::string &value, bool &isNull ) const;
///
/// Getter for a Tag Property
/// @version Teamcenter 8.1
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getSpecialist( tag_t &value, bool &isNull ) const;
///
/// Getter for a Tag Property
/// @version Teamcenter 8.1
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getUserData( tag_t &value, bool &isNull ) const;
///
/// Setter for a string Property
/// @version Teamcenter 8.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 setComment( const std::string &value, bool isNull=false );
///
/// Setter for a Tag Property
/// @version Teamcenter 8.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 setControlEngineer( const tag_t &value, bool isNull=false );
///
/// Setter for a string Property
/// @version Teamcenter 8.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 setParmDescriptor( const std::string &value, bool isNull=false );
///
/// Setter for a Tag Property
/// @version Teamcenter 8.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 setSpecialist( const tag_t &value, bool isNull=false );
///
/// Setter for a Tag Property
/// @version Teamcenter 8.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 setUserData( const tag_t &value, bool isNull=false );
protected:
// Method to initialize
virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
/**
* Constructor
*/
CalParmRevision();
/**
* Destructor
*/
virtual ~CalParmRevision();
private:
// Getter method for the Implementation Object
CalParmRevisionImpl* getCalParmRevisionImpl() const;
// Setter method for the Implementation Object
::Teamcenter::RootObjectImpl* setCalParmRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
// Method to set the delete impl boolean
void setDeleteImpl( bool del );
// Pointer to the Implementation object
CalParmRevisionImpl* m_calparmrevisionImpl;
// 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 CalParmRevision - desc for CalParmRevision parameter
*/
CalParmRevision( const CalParmRevision& );
CalParmRevision& operator=( const CalParmRevision& );
friend class CalParmRevisionDelegate;
friend class CalParmRevisionDispatch;
friend class CalParmRevisionGenImpl;
};
#include <ccdm/libccdm_undef.h>
#endif // CCDM__CALPARMREVISION__HXX