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.

225 lines
6.6 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, Cpd0DesignSubsetElement
Filename: Cpd0DesignSubsetElement.hxx
Module: cpd0workset
@BMIDE autogenerated
==================================================================================================*/
#ifndef TEAMCENTER__CPD__CPD0DESIGNSUBSETELEMENT__HXX
#define TEAMCENTER__CPD__CPD0DESIGNSUBSETELEMENT__HXX
#include <unidefs.h>
#include <string>
#include <common/tc_deprecation_macros.h>
#include <mdl0modelgeometry/Mdl0PositionedModelElement.hxx>
#include <cpd0workset/libcpd0workset_exports.h>
namespace Teamcenter
{
namespace Cpd
{
class Cpd0DesignSubsetElement;
}
}
namespace Teamcenter
{
namespace Cpd
{
class Cpd0DesignSubsetElementImpl;
}
}
namespace Teamcenter
{
namespace Cpd
{
class Cpd0DesignSubsetElementDelegate;
}
}
namespace Teamcenter
{
namespace Cpd
{
class Cpd0DesignSubsetElementDispatch;
}
}
namespace Teamcenter
{
namespace Cpd
{
class Cpd0DesignSubsetElementGenImpl;
}
}
namespace Teamcenter
{
class RootObjectImpl;
}
class CPD0WORKSET_API Teamcenter::Cpd::Cpd0DesignSubsetElement
: public ::Teamcenter::AppModel::Mdl0PositionedModelElement
{
public:
/**
* Get the Interface Name
* @return - return desc for getInterfaceName
*/
static const std::string& getInterfaceName();
///
/// Getter for a Tag Property
/// @version Teamcenter 11.1
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCpd0ConfiguredSourceObject( tag_t &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 9
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCpd0cs_id( std::string &value, bool &isNull ) const;
///
/// Getter for a Boolean Property
/// @version Teamcenter 11.2
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCpd0IncludeInPartsList( bool &value, bool &isNull ) const;
///
/// Getter for a Tag Property
/// @version Teamcenter 9
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCpd0instance( tag_t &value, bool &isNull ) const;
///
/// Getter for a Boolean Property
/// @version Teamcenter 11.2
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCpd0ReportInWhereUsed( bool &value, bool &isNull ) const;
///
/// Getter for a Tag Property
/// @version Teamcenter 9
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCpd0source_object( tag_t &value, bool &isNull ) const;
///
/// Getter for a Tag Property
/// @version Teamcenter 9
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCpd0workset_revision( tag_t &value, bool &isNull ) const;
///
/// Setter for a string Property
/// @version Teamcenter 9
/// @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 setCpd0cs_id( const std::string &value, bool isNull=false );
///
/// Setter for a Boolean 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 setCpd0IncludeInPartsList( bool value, bool isNull=false );
///
/// Setter for a Boolean 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 setCpd0ReportInWhereUsed( bool value, bool isNull=false );
///
/// Setter for a Tag Property
/// @version Teamcenter 9
/// @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 setCpd0source_object( const tag_t &value, bool isNull=false );
protected:
// Method to initialize
virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
/**
* Constructor
*/
Cpd0DesignSubsetElement();
/**
* Destructor
*/
virtual ~Cpd0DesignSubsetElement();
private:
// Getter method for the Implementation Object
Cpd0DesignSubsetElementImpl* getCpd0DesignSubsetElementImpl() const;
// Setter method for the Implementation Object
::Teamcenter::RootObjectImpl* setCpd0DesignSubsetElementImpl( ::Teamcenter::RootObjectImpl* impl );
// Method to set the delete impl boolean
void setDeleteImpl( bool del );
// Pointer to the Implementation object
Cpd0DesignSubsetElementImpl* m_cpd0designsubsetelementImpl;
// 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 Cpd0DesignSubsetElement - desc for Cpd0DesignSubsetElement parameter
*/
Cpd0DesignSubsetElement( const Cpd0DesignSubsetElement& );
Cpd0DesignSubsetElement& operator=( const Cpd0DesignSubsetElement& );
friend class Cpd0DesignSubsetElementDelegate;
friend class Cpd0DesignSubsetElementDispatch;
friend class Cpd0DesignSubsetElementGenImpl;
};
#include <cpd0workset/libcpd0workset_undef.h>
#endif // TEAMCENTER__CPD__CPD0DESIGNSUBSETELEMENT__HXX