#ifndef  ENTITY_SDAISTATE_DEFINITION_RELATIONSHIP_H
#define  ENTITY_SDAISTATE_DEFINITION_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 SdaiState_definition_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        EntityAggregate_ptr _relating = NULL;          //  of  state_definition

        EntityAggregate_ptr _related = NULL;          //  of  state_definition

    public: 
        SdaiState_definition_relationship();
        SdaiState_definition_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiState_definition_relationship( SdaiState_definition_relationship & e );
        ~SdaiState_definition_relationship();
        int opcode() {
            return 57;
        }
  const SDAI_String   name_() const;
        SDAI_String   name_();
        void name_( const SDAI_String x );

  const SDAI_String   description_() const;
        SDAI_String   description_();
        void description_( const SDAI_String x );

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

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

};

inline SdaiState_definition_relationship * create_SdaiState_definition_relationship() {
    return new SdaiState_definition_relationship;
}

void init_SdaiState_definition_relationship(Registry& reg);

namespace ap239_product_life_cycle_support_arm_lf {
    extern EntityDescriptor *e_state_definition_relationship;
    extern AttrDescriptor *a_135name;
    extern AttrDescriptor *a_136description;
    extern AttrDescriptor *a_137relating;
    extern AttrDescriptor *a_138related;
}

#endif
