#ifndef  ENTITY_SDAIPRODUCT_DEFINITION_RELATIONSHIP_H
#define  ENTITY_SDAIPRODUCT_DEFINITION_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_definition_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _id;
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        SdaiProduct_definition_or_reference _relating_product_definition;
        SdaiProduct_definition_or_reference _related_product_definition;
    public: 
        SdaiProduct_definition_relationship();
        SdaiProduct_definition_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiProduct_definition_relationship( SdaiProduct_definition_relationship & e );
        ~SdaiProduct_definition_relationship();
        int opcode() {
            return 383;
        }
  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_definition_or_reference_ptr_c relating_product_definition_() const;
        SdaiProduct_definition_or_reference_ptr   relating_product_definition_();
        void relating_product_definition_( const SdaiProduct_definition_or_reference_ptr x );

        SdaiProduct_definition_or_reference_ptr_c related_product_definition_() const;
        SdaiProduct_definition_or_reference_ptr   related_product_definition_();
        void related_product_definition_( const SdaiProduct_definition_or_reference_ptr x );

};

inline SdaiProduct_definition_relationship * create_SdaiProduct_definition_relationship() {
    return new SdaiProduct_definition_relationship;
}

void init_SdaiProduct_definition_relationship(Registry& reg);

namespace ap209_multidisciplinary_analysis_and_design_mim_lf {
    extern EntityDescriptor *e_product_definition_relationship;
    extern AttrDescriptor *a_575id;
    extern AttrDescriptor *a_576name;
    extern AttrDescriptor *a_577description;
    extern AttrDescriptor *a_578relating_product_definition;
    extern AttrDescriptor *a_579related_product_definition;
}

#endif
