#ifndef  ENTITY_SDAIACTION_RESOURCE_RELATIONSHIP_H
#define  ENTITY_SDAIACTION_RESOURCE_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 SdaiAction_resource_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _relating_resource = NULL;
        SDAI_Application_instance_ptr _related_resource = NULL;
    public: 
        SdaiAction_resource_relationship();
        SdaiAction_resource_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiAction_resource_relationship( SdaiAction_resource_relationship & e );
        ~SdaiAction_resource_relationship();
        int opcode() {
            return 411;
        }
  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );

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

        SdaiAction_resource_ptr_c relating_resource_() const;
        SdaiAction_resource_ptr   relating_resource_();
        void relating_resource_( const SdaiAction_resource_ptr x );

        SdaiAction_resource_ptr_c related_resource_() const;
        SdaiAction_resource_ptr   related_resource_();
        void related_resource_( const SdaiAction_resource_ptr x );

};

inline SdaiAction_resource_relationship * create_SdaiAction_resource_relationship() {
    return new SdaiAction_resource_relationship;
}

void init_SdaiAction_resource_relationship(Registry& reg);

namespace integrated_cnc_schema {
    extern EntityDescriptor *e_action_resource_relationship;
    extern AttrDescriptor *a_501name;
    extern AttrDescriptor *a_502description;
    extern AttrDescriptor *a_503relating_resource;
    extern AttrDescriptor *a_504related_resource;
}

#endif
