#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
        SDAI_Application_instance_ptr _relating_product_definition = NULL;
        SDAI_Application_instance_ptr _related_product_definition = NULL;
    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 198;
        }
  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_ptr_c relating_product_definition_() const;
        SdaiProduct_definition_ptr   relating_product_definition_();
        void relating_product_definition_( const SdaiProduct_definition_ptr x );

        SdaiProduct_definition_ptr_c related_product_definition_() const;
        SdaiProduct_definition_ptr   related_product_definition_();
        void related_product_definition_( const SdaiProduct_definition_ptr x );

};

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

void init_SdaiProduct_definition_relationship(Registry& reg);

namespace integrated_cnc_schema {
    extern EntityDescriptor *e_product_definition_relationship;
    extern AttrDescriptor *a_290id;
    extern AttrDescriptor *a_291name;
    extern AttrDescriptor *a_292description;
    extern AttrDescriptor *a_293relating_product_definition;
    extern AttrDescriptor *a_294related_product_definition;
}

#endif
