#ifndef  ENTITY_SDAIPRODUCT_RELATIONSHIP_H
#define  ENTITY_SDAIPRODUCT_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 SdaiProduct_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _id;
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _relating_product = NULL;
        SDAI_Application_instance_ptr _related_product = NULL;
    public: 
        SdaiProduct_relationship();
        SdaiProduct_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiProduct_relationship( SdaiProduct_relationship & e );
        ~SdaiProduct_relationship();
        int opcode() {
            return 1918;
        }
  const SdaiIdentifier   id_() const;
        SdaiIdentifier   id_();
        void id_( const SdaiIdentifier x );

  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );

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

        SdaiProduct_ptr_c relating_product_() const;
        SdaiProduct_ptr   relating_product_();
        void relating_product_( const SdaiProduct_ptr x );

        SdaiProduct_ptr_c related_product_() const;
        SdaiProduct_ptr   related_product_();
        void related_product_( const SdaiProduct_ptr x );

};

inline SdaiProduct_relationship * create_SdaiProduct_relationship() {
    return new SdaiProduct_relationship;
}

void init_SdaiProduct_relationship(Registry& reg);

namespace ap209_multidisciplinary_analysis_and_design_mim_lf {
    extern EntityDescriptor *e_product_relationship;
    extern AttrDescriptor *a_2853id;
    extern AttrDescriptor *a_2854name;
    extern AttrDescriptor *a_2855description;
    extern AttrDescriptor *a_2856relating_product;
    extern AttrDescriptor *a_2857related_product;
}

#endif
