#ifndef  ENTITY_SDAIDOCUMENT_PRODUCT_ASSOCIATION_H
#define  ENTITY_SDAIDOCUMENT_PRODUCT_ASSOCIATION_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 SdaiDocument_product_association : public SDAI_Application_instance {
    protected:
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _relating_document = NULL;
        SdaiProduct_or_formation_or_definition _related_product;
    public: 
        SdaiDocument_product_association();
        SdaiDocument_product_association( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiDocument_product_association( SdaiDocument_product_association & e );
        ~SdaiDocument_product_association();
        int opcode() {
            return 86;
        }
  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );

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

        SdaiDocument_ptr_c relating_document_() const;
        SdaiDocument_ptr   relating_document_();
        void relating_document_( const SdaiDocument_ptr x );

        SdaiProduct_or_formation_or_definition_ptr_c related_product_() const;
        SdaiProduct_or_formation_or_definition_ptr   related_product_();
        void related_product_( const SdaiProduct_or_formation_or_definition_ptr x );

};

inline SdaiDocument_product_association * create_SdaiDocument_product_association() {
    return new SdaiDocument_product_association;
}

void init_SdaiDocument_product_association(Registry& reg);

namespace process_planning_schema {
    extern EntityDescriptor *e_document_product_association;
    extern AttrDescriptor *a_143name;
    extern AttrDescriptor *a_144description;
    extern AttrDescriptor *a_145relating_document;
    extern AttrDescriptor *a_146related_product;
}

#endif
