#ifndef  ENTITY_SDAIMESSAGE_H
#define  ENTITY_SDAIMESSAGE_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 : public SDAI_Application_instance {
    protected:
        SDAI_String _id;
        SDAI_String _message_type;
        EntityAggregate_ptr _contains = NULL;          //  of  content_item

        SdaiMessage_definer_select_agg_ptr _defined_by = NULL;    //  OPTIONAL          //  of  message_definer_select

        SDAI_String _purpose;    //  OPTIONAL
    public: 
        SdaiMessage();
        SdaiMessage( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiMessage( SdaiMessage & e );
        ~SdaiMessage();
        int opcode() {
            return 84;
        }
  const SDAI_String   id_() const;
        SDAI_String   id_();
        void id_( const SDAI_String x );

  const SDAI_String   message_type_() const;
        SDAI_String   message_type_();
        void message_type_( const SDAI_String x );

        EntityAggregate_ptr_c contains_() const;
        EntityAggregate_ptr   contains_();
        void contains_( const EntityAggregate_ptr x );

        SdaiMessage_definer_select_agg_ptr_c defined_by_() const;
        SdaiMessage_definer_select_agg_ptr   defined_by_();
        void defined_by_( const SdaiMessage_definer_select_agg_ptr x );

  const SDAI_String   purpose_() const;
        SDAI_String   purpose_();
        void purpose_( const SDAI_String x );

};

inline SdaiMessage * create_SdaiMessage() {
    return new SdaiMessage;
}

void init_SdaiMessage(Registry& reg);

namespace ap239_product_life_cycle_support_arm_lf {
    extern EntityDescriptor *e_message;
    extern AttrDescriptor *a_195id;
    extern AttrDescriptor *a_196message_type;
    extern AttrDescriptor *a_197contains;
    extern AttrDescriptor *a_198defined_by;
    extern AttrDescriptor *a_199purpose;
}

#endif
