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.

319 lines
10 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, Cdm0SubmittalRevision
Filename: Cdm0SubmittalRevision.hxx
Module: cdm0contractmanagement
@BMIDE autogenerated
==================================================================================================*/
#ifndef CDM0CONTRACTMANAGEMENT__CDM0SUBMITTALREVISION__HXX
#define CDM0CONTRACTMANAGEMENT__CDM0SUBMITTALREVISION__HXX
#include <string>
#include <unidefs.h>
#include <vector>
#include <common/tc_deprecation_macros.h>
#include <tccore/DocumentRevision.hxx>
#include <cdm0contractmanagement/libcdm0contractmanagement_exports.h>
namespace cdm0contractmanagement
{
class Cdm0SubmittalRevision;
}
namespace cdm0contractmanagement
{
class Cdm0SubmittalRevisionImpl;
}
namespace cdm0contractmanagement
{
class Cdm0SubmittalRevisionDelegate;
}
namespace cdm0contractmanagement
{
class Cdm0SubmittalRevisionDispatch;
}
namespace cdm0contractmanagement
{
class Cdm0SubmittalRevisionGenImpl;
}
namespace Teamcenter
{
class RootObjectImpl;
}
class CDM0CONTRACTMANAGEMENT_API cdm0contractmanagement::Cdm0SubmittalRevision
: public ::Teamcenter::DocumentRevision
{
public:
/**
* Get the Interface Name
* @return - return desc for getInterfaceName
*/
static const std::string& getInterfaceName();
///
/// Getter for a string Property
/// @version Teamcenter 8.3
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCdm0Disposition( std::string &value, bool &isNull ) const;
///
/// Getter for a Date Property
/// @version Teamcenter 8.3
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCdm0DispositionDate( date_t &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 8.3
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCdm0DRLItemType( std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 8.3
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCdm0OfficePriResp( std::string &value, bool &isNull ) const;
///
/// Getter for a Date Property
/// @version Teamcenter 8.3
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCdm0ReceivedDate( date_t &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 8.3
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCdm0ResubmitComments( std::string &value, bool &isNull ) const;
///
/// Getter for a Date Property
/// @version Teamcenter 8.3
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCdm0ResubmitDueDate( date_t &value, bool &isNull ) const;
///
/// Getter for a Boolean Property
/// @version Teamcenter 8.3
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCdm0ResubmitRequired( bool &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 8.3
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCdm0ShippingDocumentName( std::string &value, bool &isNull ) const;
///
/// Getter for a Tag Array Property
/// @version Teamcenter 8.3
/// @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 getCdm0SubmitalHasDataReqItem( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
///
/// Getter for a Date Property
/// @version Teamcenter 8.3
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCdm0SubmitDueDate( date_t &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 8.3
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCdm0SubmittalMaturity( std::string &value, bool &isNull ) const;
///
/// Setter for a string Property
/// @version Teamcenter 8.3
/// @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 setCdm0Disposition( const std::string &value, bool isNull=false );
///
/// Setter for a Date Property
/// @version Teamcenter 8.3
/// @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 setCdm0DispositionDate( const date_t &value, bool isNull=false );
///
/// Setter for a string Property
/// @version Teamcenter 8.3
/// @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 setCdm0DRLItemType( const std::string &value, bool isNull=false );
///
/// Setter for a string Property
/// @version Teamcenter 8.3
/// @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 setCdm0OfficePriResp( const std::string &value, bool isNull=false );
///
/// Setter for a Date Property
/// @version Teamcenter 8.3
/// @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 setCdm0ReceivedDate( const date_t &value, bool isNull=false );
///
/// Setter for a string Property
/// @version Teamcenter 8.3
/// @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 setCdm0ResubmitComments( const std::string &value, bool isNull=false );
///
/// Setter for a Date Property
/// @version Teamcenter 8.3
/// @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 setCdm0ResubmitDueDate( const date_t &value, bool isNull=false );
///
/// Setter for a Boolean Property
/// @version Teamcenter 8.3
/// @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 setCdm0ResubmitRequired( bool value, bool isNull=false );
///
/// Setter for a string Property
/// @version Teamcenter 8.3
/// @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 setCdm0ShippingDocumentName( const std::string &value, bool isNull=false );
///
/// Setter for a Date Property
/// @version Teamcenter 8.3
/// @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 setCdm0SubmitDueDate( const date_t &value, bool isNull=false );
///
/// Setter for a string Property
/// @version Teamcenter 8.3
/// @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 setCdm0SubmittalMaturity( const std::string &value, bool isNull=false );
protected:
// Method to initialize
virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
/**
* Constructor
*/
Cdm0SubmittalRevision();
/**
* Destructor
*/
virtual ~Cdm0SubmittalRevision();
private:
// Getter method for the Implementation Object
Cdm0SubmittalRevisionImpl* getCdm0SubmittalRevisionImpl() const;
// Setter method for the Implementation Object
::Teamcenter::RootObjectImpl* setCdm0SubmittalRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
// Method to set the delete impl boolean
void setDeleteImpl( bool del );
// Pointer to the Implementation object
Cdm0SubmittalRevisionImpl* m_cdm0submittalrevisionImpl;
// 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 Cdm0SubmittalRevision - desc for Cdm0SubmittalRevision parameter
*/
Cdm0SubmittalRevision( const Cdm0SubmittalRevision& );
Cdm0SubmittalRevision& operator=( const Cdm0SubmittalRevision& );
friend class Cdm0SubmittalRevisionDelegate;
friend class Cdm0SubmittalRevisionDispatch;
friend class Cdm0SubmittalRevisionGenImpl;
};
#include <cdm0contractmanagement/libcdm0contractmanagement_undef.h>
#endif // CDM0CONTRACTMANAGEMENT__CDM0SUBMITTALREVISION__HXX