#ifndef  ENTITY_SDAIAPPLICATION_CONTEXT_RELATIONSHIP_H
#define  ENTITY_SDAIAPPLICATION_CONTEXT_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 SdaiApplication_context_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _relating_context = NULL;
        SDAI_Application_instance_ptr _related_context = NULL;
    public: 
        SdaiApplication_context_relationship();
        SdaiApplication_context_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiApplication_context_relationship( SdaiApplication_context_relationship & e );
        ~SdaiApplication_context_relationship();
        int opcode() {
            return 302;
        }
  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );

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

        SdaiApplication_context_ptr_c relating_context_() const;
        SdaiApplication_context_ptr   relating_context_();
        void relating_context_( const SdaiApplication_context_ptr x );

        SdaiApplication_context_ptr_c related_context_() const;
        SdaiApplication_context_ptr   related_context_();
        void related_context_( const SdaiApplication_context_ptr x );

};

inline SdaiApplication_context_relationship * create_SdaiApplication_context_relationship() {
    return new SdaiApplication_context_relationship;
}

void init_SdaiApplication_context_relationship(Registry& reg);

namespace engineering_properties_schema {
    extern EntityDescriptor *e_application_context_relationship;
    extern AttrDescriptor *a_482name;
    extern AttrDescriptor *a_483description;
    extern AttrDescriptor *a_484relating_context;
    extern AttrDescriptor *a_485related_context;
}

#endif
