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.

183 lines
5.1 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, DerivedObj
Filename: DerivedObj.hxx
Module: docmgt
@BMIDE autogenerated
==================================================================================================*/
#ifndef TEAMCENTER__DERIVEDOBJ__HXX
#define TEAMCENTER__DERIVEDOBJ__HXX
#include <string>
#include <unidefs.h>
#include <common/tc_deprecation_macros.h>
#include <tccore/POM_object.hxx>
#include <docmgt/libdocmgt_exports.h>
namespace Teamcenter
{
class DerivedObj;
}
namespace Teamcenter
{
class DerivedObjImpl;
}
namespace Teamcenter
{
class DerivedObjDelegate;
}
namespace Teamcenter
{
class DerivedObjDispatch;
}
namespace Teamcenter
{
class DerivedObjGenImpl;
}
namespace Teamcenter
{
class RootObjectImpl;
}
class DOCMGT_API Teamcenter::DerivedObj
: public ::Teamcenter::POM_object
{
public:
/**
* Get the Interface Name
* @return - return desc for getInterfaceName
*/
static const std::string& getInterfaceName();
///
/// 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 getDefining_irdc( 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 getDer_dataset_type_name( tag_t &value, bool &isNull ) const;
///
/// Getter for a Boolean Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getDer_required( bool &value, bool &isNull ) const;
///
/// Getter for a Tag Property
/// @version Teamcenter 8.1
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getItem_revision_relation( tag_t &value, bool &isNull ) const;
///
/// 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 setDefining_irdc( 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 setDer_dataset_type_name( const tag_t &value, bool isNull=false );
///
/// Setter for a Boolean 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 setDer_required( bool value, bool isNull=false );
///
/// Setter for a Tag Property
/// @version Teamcenter 8.1
/// @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 setItem_revision_relation( const tag_t &value, bool isNull=false );
protected:
// Method to initialize
virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
/**
* Constructor
*/
DerivedObj();
/**
* Destructor
*/
virtual ~DerivedObj();
private:
// Getter method for the Implementation Object
DerivedObjImpl* getDerivedObjImpl() const;
// Setter method for the Implementation Object
::Teamcenter::RootObjectImpl* setDerivedObjImpl( ::Teamcenter::RootObjectImpl* impl );
// Method to set the delete impl boolean
void setDeleteImpl( bool del );
// Pointer to the Implementation object
DerivedObjImpl* m_derivedobjImpl;
// 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 DerivedObj - desc for DerivedObj parameter
*/
DerivedObj( const DerivedObj& );
DerivedObj& operator=( const DerivedObj& );
friend class DerivedObjDelegate;
friend class DerivedObjDispatch;
friend class DerivedObjGenImpl;
};
#include <docmgt/libdocmgt_undef.h>
#endif // TEAMCENTER__DERIVEDOBJ__HXX