#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 568;
        }
  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 ap209_multidisciplinary_analysis_and_design_mim_lf {
    extern EntityDescriptor *e_approval_relationship;
    extern AttrDescriptor *a_855name;
    extern AttrDescriptor *a_856description;
    extern AttrDescriptor *a_857relating_approval;
    extern AttrDescriptor *a_858related_approval;
}

#endif
