#ifndef  ENTITY_SDAIDOCUMENT_RELATIONSHIP_H
#define  ENTITY_SDAIDOCUMENT_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 SdaiDocument_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _relating_document = NULL;
        SDAI_Application_instance_ptr _related_document = NULL;
    public: 
        SdaiDocument_relationship();
        SdaiDocument_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiDocument_relationship( SdaiDocument_relationship & e );
        ~SdaiDocument_relationship();
        int opcode() {
            return 1479;
        }
  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 );

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

};

inline SdaiDocument_relationship * create_SdaiDocument_relationship() {
    return new SdaiDocument_relationship;
}

void init_SdaiDocument_relationship(Registry& reg);

namespace ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf {
    extern EntityDescriptor *e_document_relationship;
    extern AttrDescriptor *a_1613name;
    extern AttrDescriptor *a_1614description;
    extern AttrDescriptor *a_1615relating_document;
    extern AttrDescriptor *a_1616related_document;
}

#endif
