#ifndef  ENTITY_SDAIEVENT_OCCURRENCE_RELATIONSHIP_H
#define  ENTITY_SDAIEVENT_OCCURRENCE_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 SdaiEvent_occurrence_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _relating_event = NULL;
        SDAI_Application_instance_ptr _related_event = NULL;
    public: 
        SdaiEvent_occurrence_relationship();
        SdaiEvent_occurrence_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiEvent_occurrence_relationship( SdaiEvent_occurrence_relationship & e );
        ~SdaiEvent_occurrence_relationship();
        int opcode() {
            return 95;
        }
  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );

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

        SdaiEvent_occurrence_ptr_c relating_event_() const;
        SdaiEvent_occurrence_ptr   relating_event_();
        void relating_event_( const SdaiEvent_occurrence_ptr x );

        SdaiEvent_occurrence_ptr_c related_event_() const;
        SdaiEvent_occurrence_ptr   related_event_();
        void related_event_( const SdaiEvent_occurrence_ptr x );

};

inline SdaiEvent_occurrence_relationship * create_SdaiEvent_occurrence_relationship() {
    return new SdaiEvent_occurrence_relationship;
}

void init_SdaiEvent_occurrence_relationship(Registry& reg);

namespace ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf {
    extern EntityDescriptor *e_event_occurrence_relationship;
    extern AttrDescriptor *a_142name;
    extern AttrDescriptor *a_143description;
    extern AttrDescriptor *a_144relating_event;
    extern AttrDescriptor *a_145related_event;
}

#endif
