#ifndef  ENTITY_SDAIFILE_RELATIONSHIP_H
#define  ENTITY_SDAIFILE_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 SdaiFile_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _relation_type;
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _relating_document_file = NULL;
        SDAI_Application_instance_ptr _related_document_file = NULL;
    public: 
        SdaiFile_relationship();
        SdaiFile_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiFile_relationship( SdaiFile_relationship & e );
        ~SdaiFile_relationship();
        int opcode() {
            return 230;
        }
  const SDAI_String   relation_type_() const;
        SDAI_String   relation_type_();
        void relation_type_( const SDAI_String x );

  const SDAI_String   description_() const;
        SDAI_String   description_();
        void description_( const SDAI_String x );

        SdaiFile_ptr_c relating_document_file_() const;
        SdaiFile_ptr   relating_document_file_();
        void relating_document_file_( const SdaiFile_ptr x );

        SdaiFile_ptr_c related_document_file_() const;
        SdaiFile_ptr   related_document_file_();
        void related_document_file_( const SdaiFile_ptr x );

};

inline SdaiFile_relationship * create_SdaiFile_relationship() {
    return new SdaiFile_relationship;
}

void init_SdaiFile_relationship(Registry& reg);

namespace ap239_product_life_cycle_support_arm_lf {
    extern EntityDescriptor *e_file_relationship;
    extern AttrDescriptor *a_506relation_type;
    extern AttrDescriptor *a_507description;
    extern AttrDescriptor *a_508relating_document_file;
    extern AttrDescriptor *a_509related_document_file;
}

#endif
