//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, Fnd0AuditDefinition Filename: Fnd0AuditDefinition.hxx Module: Fnd0audit_mgr @BMIDE autogenerated ==================================================================================================*/ #ifndef TEAMCENTER__FND0AUDITDEFINITION__HXX #define TEAMCENTER__FND0AUDITDEFINITION__HXX #include #include #include #include #include #include namespace Teamcenter { class Fnd0AuditDefinition; } namespace Teamcenter { class Fnd0AuditDefinitionImpl; } namespace Teamcenter { class Fnd0AuditDefinitionDelegate; } namespace Teamcenter { class Fnd0AuditDefinitionDispatch; } namespace Teamcenter { class Fnd0AuditDefinitionGenImpl; } namespace Teamcenter { class RootObjectImpl; } class FND0AUDIT_MGR_API Teamcenter::Fnd0AuditDefinition : public ::Teamcenter::POM_object { public: /** * Get the Interface Name * @return - return desc for getInterfaceName */ static const std::string& getInterfaceName(); /// /// Getter for a Boolean Property /// @version Teamcenter 10 /// @param value - Parameter Value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getFnd0AuditPropertyChangeOnly( bool &value, bool &isNull ) const; /// /// Getter for a Tag Property /// @version Teamcenter 10 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getFnd0Condition( tag_t &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Teamcenter 10 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getFnd0Description( std::string &value, bool &isNull ) const; /// /// Getter for a Tag Property /// @version Teamcenter 10 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getFnd0EventType( tag_t &value, bool &isNull ) const; /// /// Getter for a Tag Property /// @version Teamcenter 10 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getFnd0EventTypeMap( tag_t &value, bool &isNull ) const; /// /// Getter for an String Array Property /// @version Teamcenter 10 /// @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 getFnd0Extensions( std::vector< std::string > &values, std::vector< int > &isNull ) const; /// /// Getter for a Boolean Property /// @version Teamcenter 10 /// @param value - Parameter Value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getFnd0IsActive( bool &value, bool &isNull ) const; /// /// Getter for a Tag Property /// @version Teamcenter 10 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getFnd0PrimaryType( tag_t &value, bool &isNull ) const; /// /// Getter for a Boolean Property /// @version Teamcenter 10 /// @param value - Parameter Value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getFnd0TrackOldValues( bool &value, bool &isNull ) const; /// /// Setter for a Boolean Property /// @version Teamcenter 10 /// @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 setFnd0AuditPropertyChangeOnly( bool value, bool isNull=false ); /// /// Setter for a Tag Property /// @version Teamcenter 10 /// @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 setFnd0Condition( const tag_t &value, bool isNull=false ); /// /// Setter for a string Property /// @version Teamcenter 10 /// @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 setFnd0Description( const std::string &value, bool isNull=false ); /// /// Setter for a Tag Property /// @version Teamcenter 10 /// @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 setFnd0EventType( const tag_t &value, bool isNull=false ); /// /// Setter for a Tag Property /// @version Teamcenter 10 /// @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 setFnd0EventTypeMap( const tag_t &value, bool isNull=false ); /// /// Setter for an string Array Property /// @version Teamcenter 10 /// @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 setFnd0Extensions( const std::vector< std::string > &values, const std::vector< int > *isNull=0 ); /// /// Setter for a Boolean Property /// @version Teamcenter 10 /// @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 setFnd0IsActive( bool value, bool isNull=false ); /// /// Setter for a Tag Property /// @version Teamcenter 10 /// @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 setFnd0PrimaryType( const tag_t &value, bool isNull=false ); /// /// Setter for a Boolean Property /// @version Teamcenter 10 /// @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 setFnd0TrackOldValues( bool value, bool isNull=false ); /// /// writeAuditLog for log handler /// @version Teamcenter 10 /// @param primaryObject - Primary Object Tag /// @param secondaryObjectCount - Secondary Object count /// @param secondaryObject - Secondary Object Tags /// @param secondaryQualifiers - Secondary Object Qualifiers if the object is Target or Reference /// @param eventTypeName - Event Type Name /// @param attrCount - Number of attributes /// @param attrNames - Names of the attributes /// @param attrValues - Values of the attributes /// @param errorCode - Error Code /// @param errorMessage - Error Message /// @param primaryAudit - Primary audit tag /// @param secondaryAudit - Vector of secondary audit tags /// @return - 0 if succeessful /// int fnd0writeAuditLog( tag_t primaryObject, int secondaryObjectCount, tag_t *secondaryObject, char **secondaryQualifiers, char *eventTypeName, int attrCount, char **attrNames, char **attrValues, int errorCode, const char *errorMessage, tag_t *primaryAudit, std::vector< tag_t > *secondaryAudit ); protected: // Method to initialize virtual void initialize( ::Teamcenter::RootObjectImpl* impl ); /** * Constructor */ Fnd0AuditDefinition(); /** * Destructor */ virtual ~Fnd0AuditDefinition(); private: // Getter method for the Implementation Object Fnd0AuditDefinitionImpl* getFnd0AuditDefinitionImpl() const; // Setter method for the Implementation Object ::Teamcenter::RootObjectImpl* setFnd0AuditDefinitionImpl( ::Teamcenter::RootObjectImpl* impl ); // Method to set the delete impl boolean void setDeleteImpl( bool del ); // Pointer to the Implementation object Fnd0AuditDefinitionImpl* m_fnd0auditdefinitionImpl; // 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 Fnd0AuditDefinition - desc for Fnd0AuditDefinition parameter */ Fnd0AuditDefinition( const Fnd0AuditDefinition& ); Fnd0AuditDefinition& operator=( const Fnd0AuditDefinition& ); friend class Fnd0AuditDefinitionDelegate; friend class Fnd0AuditDefinitionDispatch; friend class Fnd0AuditDefinitionGenImpl; }; #include #endif // TEAMCENTER__FND0AUDITDEFINITION__HXX