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.
180 lines
5.0 KiB
180 lines
5.0 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, Ptn0PartitionLink
|
|
Filename: Ptn0PartitionLink.hxx
|
|
Module: ptn0partition
|
|
@BMIDE autogenerated
|
|
==================================================================================================*/
|
|
|
|
#ifndef TEAMCENTER__PARTITION__PTN0PARTITIONLINK__HXX
|
|
#define TEAMCENTER__PARTITION__PTN0PARTITIONLINK__HXX
|
|
|
|
#include <unidefs.h>
|
|
#include <string>
|
|
#include <common/tc_deprecation_macros.h>
|
|
#include <mdl0model/Mdl0ConditionalArtifact.hxx>
|
|
|
|
#include <ptn0partition/libptn0partition_exports.h>
|
|
|
|
namespace Teamcenter
|
|
{
|
|
namespace Partition
|
|
{
|
|
class Ptn0PartitionLink;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Partition
|
|
{
|
|
class Ptn0PartitionLinkImpl;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Partition
|
|
{
|
|
class Ptn0PartitionLinkDelegate;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Partition
|
|
{
|
|
class Ptn0PartitionLinkDispatch;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Partition
|
|
{
|
|
class Ptn0PartitionLinkGenImpl;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
class RootObjectImpl;
|
|
}
|
|
|
|
class PTN0PARTITION_API Teamcenter::Partition::Ptn0PartitionLink
|
|
: public ::Teamcenter::AppModel::Mdl0ConditionalArtifact
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* Get the Interface Name
|
|
* @return - return desc for getInterfaceName
|
|
*/
|
|
static const std::string& getInterfaceName();
|
|
|
|
|
|
///
|
|
/// 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 getPtn0partition_definition( 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 getPtn0partition_id( std::string &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 getPtn0partition_scheme_type( tag_t &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// 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 setPtn0partition_definition( const tag_t &value, bool isNull=false );
|
|
|
|
///
|
|
/// 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 setPtn0partition_id( const std::string &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 setPtn0partition_scheme_type( const tag_t &value, bool isNull=false );
|
|
protected:
|
|
// Method to initialize
|
|
virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
Ptn0PartitionLink();
|
|
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~Ptn0PartitionLink();
|
|
|
|
private:
|
|
// Getter method for the Implementation Object
|
|
Ptn0PartitionLinkImpl* getPtn0PartitionLinkImpl() const;
|
|
// Setter method for the Implementation Object
|
|
::Teamcenter::RootObjectImpl* setPtn0PartitionLinkImpl( ::Teamcenter::RootObjectImpl* impl );
|
|
|
|
// Method to set the delete impl boolean
|
|
void setDeleteImpl( bool del );
|
|
|
|
// Pointer to the Implementation object
|
|
Ptn0PartitionLinkImpl* m_ptn0partitionlinkImpl;
|
|
|
|
// 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 Ptn0PartitionLink - desc for Ptn0PartitionLink parameter
|
|
*/
|
|
Ptn0PartitionLink( const Ptn0PartitionLink& );
|
|
Ptn0PartitionLink& operator=( const Ptn0PartitionLink& );
|
|
|
|
friend class Ptn0PartitionLinkDelegate;
|
|
friend class Ptn0PartitionLinkDispatch;
|
|
friend class Ptn0PartitionLinkGenImpl;
|
|
};
|
|
|
|
#include <ptn0partition/libptn0partition_undef.h>
|
|
#endif // TEAMCENTER__PARTITION__PTN0PARTITIONLINK__HXX
|