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.

352 lines
11 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, CPTechnicalBriefRevision
Filename: CPTechnicalBriefRevision.hxx
Module: pkgart
@BMIDE autogenerated
==================================================================================================*/
#ifndef TEAMCENTER__PKGART__CPTECHNICALBRIEFREVISION__HXX
#define TEAMCENTER__PKGART__CPTECHNICALBRIEFREVISION__HXX
#include <vector>
#include <unidefs.h>
#include <string>
#include <common/tc_deprecation_macros.h>
#include <cp/CPBriefRevision.hxx>
#include <pkgart/libpkgart_exports.h>
namespace Teamcenter
{
namespace PKGART
{
class CPTechnicalBriefRevision;
}
}
namespace Teamcenter
{
namespace PKGART
{
class CPTechnicalBriefRevisionImpl;
}
}
namespace Teamcenter
{
namespace PKGART
{
class CPTechnicalBriefRevisionDelegate;
}
}
namespace Teamcenter
{
namespace PKGART
{
class CPTechnicalBriefRevisionDispatch;
}
}
namespace Teamcenter
{
namespace PKGART
{
class CPTechnicalBriefRevisionGenImpl;
}
}
namespace Teamcenter
{
class RootObjectImpl;
}
class PKGART_API Teamcenter::PKGART::CPTechnicalBriefRevision
: public ::Teamcenter::CPBriefRevision
{
public:
/**
* Get the Interface Name
* @return - return desc for getInterfaceName
*/
static const std::string& getInterfaceName();
///
/// Getter for an Integer Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCase_count( int &value, bool &isNull ) const;
///
/// Getter for a Tag Array Property
/// @version Teamcenter 8.1
/// @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 getCP_marketing_briefs( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
///
/// Getter for a Double Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getDepth( double &value, bool &isNull ) const;
///
/// Getter for a Tag Property
/// @version Tc 8
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getDimension_unit( tag_t &value, bool &isNull ) const;
///
/// Getter for a Double Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getGross_weight( double &value, bool &isNull ) const;
///
/// Getter for a Double Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getHeight( double &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Tc 8
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getManufacturing_process( std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Tc 8
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getPacking_instructions( std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Tc 8
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getPrinting_technique( std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Tc 8
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getSubstrate( std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Tc 8
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getTests_to_perform( std::string &value, bool &isNull ) const;
///
/// Getter for a Tag Property
/// @version Tc 8
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getWeight_unit( tag_t &value, bool &isNull ) const;
///
/// Getter for a Double Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getWidth( double &value, bool &isNull ) const;
///
/// Setter for an Integer Property
/// @version Tc 8
/// @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 setCase_count( int value, bool isNull=false );
///
/// Setter for a Double Property
/// @version Tc 8
/// @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 setDepth( double value, bool isNull=false );
///
/// Setter for a Tag Property
/// @version Tc 8
/// @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 setDimension_unit( const tag_t &value, bool isNull=false );
///
/// Setter for a Double Property
/// @version Tc 8
/// @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 setGross_weight( double value, bool isNull=false );
///
/// Setter for a Double Property
/// @version Tc 8
/// @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 setHeight( double value, bool isNull=false );
///
/// Setter for a string Property
/// @version Tc 8
/// @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 setManufacturing_process( const std::string &value, bool isNull=false );
///
/// Setter for a string Property
/// @version Tc 8
/// @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 setPacking_instructions( const std::string &value, bool isNull=false );
///
/// Setter for a string Property
/// @version Tc 8
/// @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 setPrinting_technique( const std::string &value, bool isNull=false );
///
/// Setter for a string Property
/// @version Tc 8
/// @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 setSubstrate( const std::string &value, bool isNull=false );
///
/// Setter for a string Property
/// @version Tc 8
/// @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 setTests_to_perform( const std::string &value, bool isNull=false );
///
/// Setter for a Tag Property
/// @version Tc 8
/// @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 setWeight_unit( const tag_t &value, bool isNull=false );
///
/// Setter for a Double Property
/// @version Tc 8
/// @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 setWidth( double value, bool isNull=false );
protected:
// Method to initialize
virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
/**
* Constructor
*/
CPTechnicalBriefRevision();
/**
* Destructor
*/
virtual ~CPTechnicalBriefRevision();
private:
// Getter method for the Implementation Object
CPTechnicalBriefRevisionImpl* getCPTechnicalBriefRevisionImpl() const;
// Setter method for the Implementation Object
::Teamcenter::RootObjectImpl* setCPTechnicalBriefRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
// Method to set the delete impl boolean
void setDeleteImpl( bool del );
// Pointer to the Implementation object
CPTechnicalBriefRevisionImpl* m_cptechnicalbriefrevisionImpl;
// 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 CPTechnicalBriefRevision - desc for CPTechnicalBriefRevision parameter
*/
CPTechnicalBriefRevision( const CPTechnicalBriefRevision& );
CPTechnicalBriefRevision& operator=( const CPTechnicalBriefRevision& );
friend class CPTechnicalBriefRevisionDelegate;
friend class CPTechnicalBriefRevisionDispatch;
friend class CPTechnicalBriefRevisionGenImpl;
};
#include <pkgart/libpkgart_undef.h>
#endif // TEAMCENTER__PKGART__CPTECHNICALBRIEFREVISION__HXX