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.

206 lines
5.9 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, Cfg0AbsRule
Filename: Cfg0AbsRule.hxx
Module: Cfg0configurator
@BMIDE autogenerated
==================================================================================================*/
#ifndef TEAMCENTER__CFG0CONFIGURATOR__CFG0ABSRULE__HXX
#define TEAMCENTER__CFG0CONFIGURATOR__CFG0ABSRULE__HXX
#include <string>
#include <common/tc_deprecation_macros.h>
#include <Cfg0configurator/Cfg0AbsModelScopedWSO.hxx>
#include <Cfg0configurator/libcfg0configurator_exports.h>
namespace Teamcenter
{
namespace Cfg0configurator
{
class Cfg0AbsRule;
}
}
namespace Teamcenter
{
namespace Cfg0configurator
{
class Cfg0AbsRuleImpl;
}
}
namespace Teamcenter
{
namespace Cfg0configurator
{
class Cfg0AbsRuleDelegate;
}
}
namespace Teamcenter
{
namespace Cfg0configurator
{
class Cfg0AbsRuleDispatch;
}
}
namespace Teamcenter
{
namespace Cfg0configurator
{
class Cfg0AbsRuleGenImpl;
}
}
namespace Teamcenter
{
class RootObjectImpl;
}
class CFG0CONFIGURATOR_API Teamcenter::Cfg0configurator::Cfg0AbsRule
: public ::Teamcenter::Cfg0configurator::Cfg0AbsModelScopedWSO
{
public:
/**
* Get the Interface Name
* @return - return desc for getInterfaceName
*/
static const std::string& getInterfaceName();
///
/// Getter for a string Property
/// @version Teamcenter 10.1.2
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCfg0ApplicabilityCondition( std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 10.1.2
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCfg0AsText( std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 12.2
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCfg0ExpFormat( std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 12.2
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCfg0ExpScript( std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 10.1.7
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCfg0SubjectCondition( std::string &value, bool &isNull ) const;
///
/// Setter for a string Property
/// @version Teamcenter 10.1.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 setCfg0ApplicabilityCondition( const std::string &value, bool isNull=false );
///
/// Setter for a string Property
/// @version Teamcenter 12.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 setCfg0ExpFormat( const std::string &value, bool isNull=false );
///
/// Setter for a string Property
/// @version Teamcenter 12.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 setCfg0ExpScript( const std::string &value, bool isNull=false );
///
/// Setter for a string Property
/// @version Teamcenter 10.1.7
/// @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 setCfg0SubjectCondition( const std::string &value, bool isNull=false );
protected:
// Method to initialize
virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
/**
* Constructor
*/
Cfg0AbsRule();
/**
* Destructor
*/
virtual ~Cfg0AbsRule();
private:
// Getter method for the Implementation Object
Cfg0AbsRuleImpl* getCfg0AbsRuleImpl() const;
// Setter method for the Implementation Object
::Teamcenter::RootObjectImpl* setCfg0AbsRuleImpl( ::Teamcenter::RootObjectImpl* impl );
// Method to set the delete impl boolean
void setDeleteImpl( bool del );
// Pointer to the Implementation object
Cfg0AbsRuleImpl* m_cfg0absruleImpl;
// 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 Cfg0AbsRule - desc for Cfg0AbsRule parameter
*/
Cfg0AbsRule( const Cfg0AbsRule& );
Cfg0AbsRule& operator=( const Cfg0AbsRule& );
friend class Cfg0AbsRuleDelegate;
friend class Cfg0AbsRuleDispatch;
friend class Cfg0AbsRuleGenImpl;
};
#include <Cfg0configurator/libcfg0configurator_undef.h>
#endif // TEAMCENTER__CFG0CONFIGURATOR__CFG0ABSRULE__HXX