#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 680;
        }
  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 ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf {
    extern EntityDescriptor *e_document_relationship;
    extern AttrDescriptor *a_888name;
    extern AttrDescriptor *a_889description;
    extern AttrDescriptor *a_890relating_document;
    extern AttrDescriptor *a_891related_document;
}

#endif
