//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, Ptn0SubsetDefaults Filename: Ptn0SubsetDefaults.hxx Module: ptn0partition @BMIDE autogenerated ==================================================================================================*/ #ifndef TEAMCENTER__PARTITION__PTN0SUBSETDEFAULTS__HXX #define TEAMCENTER__PARTITION__PTN0SUBSETDEFAULTS__HXX #include #include #include #include #include namespace Teamcenter { namespace Partition { class Ptn0SubsetDefaults; } } namespace Teamcenter { namespace Partition { class Ptn0SubsetDefaultsImpl; } } namespace Teamcenter { namespace Partition { class Ptn0SubsetDefaultsDelegate; } } namespace Teamcenter { namespace Partition { class Ptn0SubsetDefaultsDispatch; } } namespace Teamcenter { namespace Partition { class Ptn0SubsetDefaultsGenImpl; } } namespace Teamcenter { class RootObjectImpl; } class PTN0PARTITION_API Teamcenter::Partition::Ptn0SubsetDefaults : public ::Teamcenter::AppModel::Mdl0SubsetDefaults { public: /** * Get the Interface Name * @return - return desc for getInterfaceName */ static const std::string& getInterfaceName(); /// /// Getter for a Tag Array Property /// @version Teamcenter 9 /// @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 getPtn0partition_definitions( std::vector< tag_t > &values, std::vector< int > &isNull ) const; /// /// Getter for an String Array Property /// @version Teamcenter 9 /// @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 getPtn0partition_ids( std::vector< std::string > &values, std::vector< int > &isNull ) const; /// /// Getter for a Tag Array Property /// @version Teamcenter 9 /// @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 getPtn0partition_scheme_types( std::vector< tag_t > &values, std::vector< int > &isNull ) const; /// /// Getter for a Tag Array Property /// @version Teamcenter 9 /// @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 getPtn0tgt_partitions( std::vector< tag_t > &values, std::vector< int > &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 getPtn0viewed_partition_scheme( 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 getPtn0viewed_ptn_scheme_type( tag_t &value, bool &isNull ) const; /// /// Setter for a Tag Array Property /// @version Teamcenter 9 /// @param values - Values to be set for the parameter /// @param isNull - If array element is true, set the parameter value at that location as null /// @return - Status. 0 if successful /// int setPtn0partition_definitions( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 ); /// /// Setter for an string Array Property /// @version Teamcenter 9 /// @param values - Values to be set for the parameter /// @param isNull - If array element is true, set the parameter value at that location as null /// @return - Status. 0 if successful /// int setPtn0partition_ids( const std::vector< std::string > &values, const std::vector< int > *isNull=0 ); /// /// Setter for a Tag Array Property /// @version Teamcenter 9 /// @param values - Values to be set for the parameter /// @param isNull - If array element is true, set the parameter value at that location as null /// @return - Status. 0 if successful /// int setPtn0partition_scheme_types( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 ); /// /// Setter for a Tag Array Property /// @version Teamcenter 9 /// @param values - Values to be set for the parameter /// @param isNull - If array element is true, set the parameter value at that location as null /// @return - Status. 0 if successful /// int setPtn0tgt_partitions( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 ); /// /// 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 setPtn0viewed_partition_scheme( const tag_t &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 setPtn0viewed_ptn_scheme_type( const tag_t &value, bool isNull=false ); protected: // Method to initialize virtual void initialize( ::Teamcenter::RootObjectImpl* impl ); /** * Constructor */ Ptn0SubsetDefaults(); /** * Destructor */ virtual ~Ptn0SubsetDefaults(); private: // Getter method for the Implementation Object Ptn0SubsetDefaultsImpl* getPtn0SubsetDefaultsImpl() const; // Setter method for the Implementation Object ::Teamcenter::RootObjectImpl* setPtn0SubsetDefaultsImpl( ::Teamcenter::RootObjectImpl* impl ); // Method to set the delete impl boolean void setDeleteImpl( bool del ); // Pointer to the Implementation object Ptn0SubsetDefaultsImpl* m_ptn0subsetdefaultsImpl; // 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 Ptn0SubsetDefaults - desc for Ptn0SubsetDefaults parameter */ Ptn0SubsetDefaults( const Ptn0SubsetDefaults& ); Ptn0SubsetDefaults& operator=( const Ptn0SubsetDefaults& ); friend class Ptn0SubsetDefaultsDelegate; friend class Ptn0SubsetDefaultsDispatch; friend class Ptn0SubsetDefaultsGenImpl; }; #include #endif // TEAMCENTER__PARTITION__PTN0SUBSETDEFAULTS__HXX