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.
298 lines
10 KiB
298 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, Cdm0ContractRevisionDelegate
|
|
Filename: Cdm0ContractRevisionDelegate.hxx
|
|
Module: cdm0contractmanagement
|
|
@BMIDE autogenerated
|
|
==================================================================================================*/
|
|
|
|
#ifndef CDM0CONTRACTMANAGEMENT__CDM0CONTRACTREVISIONDELEGATE_HXX
|
|
#define CDM0CONTRACTMANAGEMENT__CDM0CONTRACTREVISIONDELEGATE_HXX
|
|
|
|
#include <common/tc_deprecation_macros.h>
|
|
#include <cdm0contractmanagement/Cdm0ContractRevision.hxx>
|
|
|
|
#include <cdm0contractmanagement/libcdm0contractmanagement_exports.h>
|
|
|
|
namespace cdm0contractmanagement
|
|
{
|
|
class Cdm0ContractRevisionDelegate;
|
|
}
|
|
namespace cdm0contractmanagement
|
|
{
|
|
class Cdm0ContractRevisionImpl;
|
|
}
|
|
namespace cdm0contractmanagement
|
|
{
|
|
class Cdm0ContractRevision;
|
|
}
|
|
namespace cdm0contractmanagement
|
|
{
|
|
class Cdm0ContractRevisionGenImpl;
|
|
}
|
|
|
|
namespace cdm0contractmanagement_alias = ::cdm0contractmanagement;
|
|
|
|
|
|
class CDM0CONTRACTMANAGEMENT_API cdm0contractmanagement_alias::Cdm0ContractRevisionDelegate
|
|
{
|
|
public:
|
|
// Method to initialize this Class
|
|
static int initializeClass();
|
|
|
|
// Method to get the Cdm0ContractRevisionDelegate instance
|
|
static Cdm0ContractRevisionDelegate& getInstance();
|
|
|
|
// Method to create the Cdm0ContractRevisionImpl pointer
|
|
static Cdm0ContractRevisionImpl* createImpl( Cdm0ContractRevision& ifObj );
|
|
|
|
// Method to delete the Cdm0ContractRevisionImpl pointer
|
|
static void deleteImpl( Cdm0ContractRevisionImpl* impl );
|
|
|
|
|
|
///
|
|
/// 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 getCdm0CommentsBase(const Cdm0ContractRevision &ifObj, std::string &value, bool &isNull ) const;
|
|
|
|
|
|
///
|
|
/// Getter for a Double 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 getCdm0ContractCostBase(const Cdm0ContractRevision &ifObj, double &value, bool &isNull ) const;
|
|
|
|
|
|
///
|
|
/// Getter for a Double 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 getCdm0ContractCostDeltaBase(const Cdm0ContractRevision &ifObj, double &value, bool &isNull ) const;
|
|
|
|
|
|
///
|
|
/// Getter for a Tag 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 getCdm0ContractEventSchBase(const Cdm0ContractRevision &ifObj, tag_t &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 getCdm0ContractHasCorespondceBase(const Cdm0ContractRevision &ifObj, std::vector< tag_t > &values, std::vector< int > &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 getCdm0ContractPricingModelBase(const Cdm0ContractRevision &ifObj, 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 getCdm0ContractScheduleTasksBase(const Cdm0ContractRevision &ifObj, 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 getCdm0EffectiveDateBase(const Cdm0ContractRevision &ifObj, 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 getCdm0OfficePrimaryRespBase(const Cdm0ContractRevision &ifObj, std::string &value, bool &isNull ) const;
|
|
|
|
|
|
///
|
|
/// Getter for a Double 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 getCdm0PeriodOfPerformanceBase(const Cdm0ContractRevision &ifObj, double &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 getCdm0RecurringCostBase(const Cdm0ContractRevision &ifObj, bool &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 getCdm0SOWAffectedBase(const Cdm0ContractRevision &ifObj, bool &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 setCdm0CommentsBase(Cdm0ContractRevision &ifObj, const std::string &value, bool isNull );
|
|
|
|
|
|
///
|
|
/// Setter for a Double 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 setCdm0ContractCostBase(Cdm0ContractRevision &ifObj, double value, bool isNull );
|
|
|
|
|
|
///
|
|
/// Setter for a Double 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 setCdm0ContractCostDeltaBase(Cdm0ContractRevision &ifObj, double value, bool isNull );
|
|
|
|
|
|
///
|
|
/// Setter for a Tag 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 setCdm0ContractEventSchBase(Cdm0ContractRevision &ifObj, const tag_t &value, bool isNull );
|
|
|
|
|
|
///
|
|
/// 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 setCdm0ContractPricingModelBase(Cdm0ContractRevision &ifObj, const std::string &value, bool isNull );
|
|
|
|
|
|
///
|
|
/// 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 setCdm0EffectiveDateBase(Cdm0ContractRevision &ifObj, const date_t &value, bool isNull );
|
|
|
|
|
|
///
|
|
/// 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 setCdm0OfficePrimaryRespBase(Cdm0ContractRevision &ifObj, const std::string &value, bool isNull );
|
|
|
|
|
|
///
|
|
/// Setter for a Double 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 setCdm0PeriodOfPerformanceBase(Cdm0ContractRevision &ifObj, double value, bool isNull );
|
|
|
|
|
|
///
|
|
/// 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 setCdm0RecurringCostBase(Cdm0ContractRevision &ifObj, bool value, bool isNull );
|
|
|
|
|
|
///
|
|
/// 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 setCdm0SOWAffectedBase(Cdm0ContractRevision &ifObj, bool value, bool isNull );
|
|
|
|
|
|
|
|
protected:
|
|
// Pointer to the instance
|
|
static Cdm0ContractRevisionDelegate* m_pInstance;
|
|
|
|
Cdm0ContractRevisionDelegate();
|
|
virtual ~Cdm0ContractRevisionDelegate();
|
|
static void setInstance( Cdm0ContractRevisionDelegate* instance );
|
|
|
|
|
|
private:
|
|
friend class ::cdm0contractmanagement::Cdm0ContractRevisionGenImpl;
|
|
|
|
};
|
|
|
|
#include <cdm0contractmanagement/libcdm0contractmanagement_undef.h>
|
|
#endif // CDM0CONTRACTMANAGEMENT__CDM0CONTRACTREVISIONDELEGATE_HXX
|