#ifndef  ENTITY_SDAIEXTERNALLY_DEFINED_ITEM_RELATIONSHIP_H
#define  ENTITY_SDAIEXTERNALLY_DEFINED_ITEM_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 SdaiExternally_defined_item_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _relating_item = NULL;
        SDAI_Application_instance_ptr _related_item = NULL;
    public: 
        SdaiExternally_defined_item_relationship();
        SdaiExternally_defined_item_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiExternally_defined_item_relationship( SdaiExternally_defined_item_relationship & e );
        ~SdaiExternally_defined_item_relationship();
        int opcode() {
            return 695;
        }
  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );

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

        SdaiExternally_defined_item_ptr_c relating_item_() const;
        SdaiExternally_defined_item_ptr   relating_item_();
        void relating_item_( const SdaiExternally_defined_item_ptr x );

        SdaiExternally_defined_item_ptr_c related_item_() const;
        SdaiExternally_defined_item_ptr   related_item_();
        void related_item_( const SdaiExternally_defined_item_ptr x );

};

inline SdaiExternally_defined_item_relationship * create_SdaiExternally_defined_item_relationship() {
    return new SdaiExternally_defined_item_relationship;
}

void init_SdaiExternally_defined_item_relationship(Registry& reg);

namespace automotive_design {
    extern EntityDescriptor *e_externally_defined_item_relationship;
    extern AttrDescriptor *a_984name;
    extern AttrDescriptor *a_985description;
    extern AttrDescriptor *a_986relating_item;
    extern AttrDescriptor *a_987related_item;
}

#endif
