#ifndef  ENTITY_SDAICAUSE_OF_EVENT_H
#define  ENTITY_SDAICAUSE_OF_EVENT_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 SdaiCause_of_event : public SdaiRelationship {
     protected:
        SDAI_Application_instance_ptr _caused = NULL;
        SDAI_Application_instance_ptr _causer = NULL;
    public: 
        SdaiCause_of_event();
        SdaiCause_of_event( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiCause_of_event( SdaiCause_of_event & e );
        ~SdaiCause_of_event();
        int opcode() {
            return 34;
        }
        SdaiEvent_ptr_c caused_() const;
        SdaiEvent_ptr   caused_();
        void caused_( const SdaiEvent_ptr x );

        SdaiActivity_ptr_c causer_() const;
        SdaiActivity_ptr   causer_();
        void causer_( const SdaiActivity_ptr x );

};

inline SdaiCause_of_event * create_SdaiCause_of_event() {
    return new SdaiCause_of_event;
}

void init_SdaiCause_of_event(Registry& reg);

namespace lifecycle_integration_schema {
    extern EntityDescriptor *e_cause_of_event;
    extern AttrDescriptor *a_25caused;
    extern AttrDescriptor *a_26causer;
}

#endif
