#ifndef  ENTITY_SDAIAPPROVAL_RELATIONSHIP_H
#define  ENTITY_SDAIAPPROVAL_RELATIONSHIP_H

// This file was generated by exp2cxx,
// 0.8.1.
// You probably don't want to edit it since your modifications
// will be lost if exp2cxx is used to regenerate it.

class SC_SCHEMA_EXPORT SdaiApproval_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _relating_approval = NULL;
        SDAI_Application_instance_ptr _related_approval = NULL;
    public: 
        SdaiApproval_relationship();
        SdaiApproval_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiApproval_relationship( SdaiApproval_relationship & e );
        ~SdaiApproval_relationship();
        int opcode() {
            return 291;
        }
  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );

  const SdaiText   description_() const;
        SdaiText   description_();
        void description_( const SdaiText x );

        SdaiApproval_ptr_c relating_approval_() const;
        SdaiApproval_ptr   relating_approval_();
        void relating_approval_( const SdaiApproval_ptr x );

        SdaiApproval_ptr_c related_approval_() const;
        SdaiApproval_ptr   related_approval_();
        void related_approval_( const SdaiApproval_ptr x );

};

inline SdaiApproval_relationship * create_SdaiApproval_relationship() {
    return new SdaiApproval_relationship;
}

void init_SdaiApproval_relationship(Registry& reg);

namespace ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf {
    extern EntityDescriptor *e_approval_relationship;
    extern AttrDescriptor *a_431name;
    extern AttrDescriptor *a_432description;
    extern AttrDescriptor *a_433relating_approval;
    extern AttrDescriptor *a_434related_approval;
}

#endif
