#ifndef  ENTITY_SDAIMESSAGE_RELATIONSHIP_H
#define  ENTITY_SDAIMESSAGE_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 SdaiMessage_relationship : public SDAI_Application_instance {
    protected:
        SDAI_Application_instance_ptr _relating = NULL;
        SDAI_Application_instance_ptr _related = NULL;
        SDAI_String _relation_type;
    public: 
        SdaiMessage_relationship();
        SdaiMessage_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiMessage_relationship( SdaiMessage_relationship & e );
        ~SdaiMessage_relationship();
        int opcode() {
            return 150;
        }
        SdaiMessage_ptr_c relating_() const;
        SdaiMessage_ptr   relating_();
        void relating_( const SdaiMessage_ptr x );

        SdaiMessage_ptr_c related_() const;
        SdaiMessage_ptr   related_();
        void related_( const SdaiMessage_ptr x );

  const SDAI_String   relation_type_() const;
        SDAI_String   relation_type_();
        void relation_type_( const SDAI_String x );

};

inline SdaiMessage_relationship * create_SdaiMessage_relationship() {
    return new SdaiMessage_relationship;
}

void init_SdaiMessage_relationship(Registry& reg);

namespace ap239_product_life_cycle_support_arm_lf {
    extern EntityDescriptor *e_message_relationship;
    extern AttrDescriptor *a_340relating;
    extern AttrDescriptor *a_341related;
    extern AttrDescriptor *a_342relation_type;
}

#endif
