#ifndef  ENTITY_SDAIEXTERNAL_SOURCE_RELATIONSHIP_H
#define  ENTITY_SDAIEXTERNAL_SOURCE_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 SdaiExternal_source_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _relating_source = NULL;
        SDAI_Application_instance_ptr _related_source = NULL;
    public: 
        SdaiExternal_source_relationship();
        SdaiExternal_source_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiExternal_source_relationship( SdaiExternal_source_relationship & e );
        ~SdaiExternal_source_relationship();
        int opcode() {
            return 515;
        }
  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );

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

        SdaiExternal_source_ptr_c relating_source_() const;
        SdaiExternal_source_ptr   relating_source_();
        void relating_source_( const SdaiExternal_source_ptr x );

        SdaiExternal_source_ptr_c related_source_() const;
        SdaiExternal_source_ptr   related_source_();
        void related_source_( const SdaiExternal_source_ptr x );

};

inline SdaiExternal_source_relationship * create_SdaiExternal_source_relationship() {
    return new SdaiExternal_source_relationship;
}

void init_SdaiExternal_source_relationship(Registry& reg);

namespace engineering_properties_schema {
    extern EntityDescriptor *e_external_source_relationship;
    extern AttrDescriptor *a_795name;
    extern AttrDescriptor *a_796description;
    extern AttrDescriptor *a_797relating_source;
    extern AttrDescriptor *a_798related_source;
}

#endif
