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.

139 lines
4.0 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, Mat1MaterialRevision
Filename: Mat1MaterialRevision.hxx
Module: mat1materialmgmt
@BMIDE autogenerated
==================================================================================================*/
#ifndef MATERIALMGMT__MAT1MATERIALREVISION__HXX
#define MATERIALMGMT__MAT1MATERIALREVISION__HXX
#include <string>
#include <vector>
#include <unidefs.h>
#include <common/tc_deprecation_macros.h>
#include <tccore/ItemRevision.hxx>
#include <mat1materialmgmt/libmat1materialmgmt_exports.h>
namespace materialmgmt
{
class Mat1MaterialRevision;
}
namespace materialmgmt
{
class Mat1MaterialRevisionImpl;
}
namespace materialmgmt
{
class Mat1MaterialRevisionDelegate;
}
namespace materialmgmt
{
class Mat1MaterialRevisionDispatch;
}
namespace materialmgmt
{
class Mat1MaterialRevisionGenImpl;
}
namespace Teamcenter
{
class RootObjectImpl;
}
class MAT1MATERIALMGMT_API materialmgmt::Mat1MaterialRevision
: public ::Teamcenter::ItemRevision
{
public:
/**
* Get the Interface Name
* @return - return desc for getInterfaceName
*/
static const std::string& getInterfaceName();
///
/// Getter for a string Property
/// @version Teamcenter 10
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getMat1substance_details( std::string &value, bool &isNull ) const;
///
/// Getter for a Tag Array Property
/// @version Teamcenter 10
/// @param values - Parameter value
/// @param isNull - Returns true for an array element if the parameter value at that location is null
/// @return - Status. 0 if successful
///
int getMat1substances( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
///
/// Setter for a Tag Property
/// @version Teamcenter 11.2
/// @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 setMat1ExtendsMaterial( const tag_t &value, bool isNull=false );
protected:
// Method to initialize
virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
/**
* Constructor
*/
Mat1MaterialRevision();
/**
* Destructor
*/
virtual ~Mat1MaterialRevision();
private:
// Getter method for the Implementation Object
Mat1MaterialRevisionImpl* getMat1MaterialRevisionImpl() const;
// Setter method for the Implementation Object
::Teamcenter::RootObjectImpl* setMat1MaterialRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
// Method to set the delete impl boolean
void setDeleteImpl( bool del );
// Pointer to the Implementation object
Mat1MaterialRevisionImpl* m_mat1materialrevisionImpl;
// 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 Mat1MaterialRevision - desc for Mat1MaterialRevision parameter
*/
Mat1MaterialRevision( const Mat1MaterialRevision& );
Mat1MaterialRevision& operator=( const Mat1MaterialRevision& );
friend class Mat1MaterialRevisionDelegate;
friend class Mat1MaterialRevisionDispatch;
friend class Mat1MaterialRevisionGenImpl;
};
#include <mat1materialmgmt/libmat1materialmgmt_undef.h>
#endif // MATERIALMGMT__MAT1MATERIALREVISION__HXX