#ifndef  ENTITY_SDAISTATE_OBSERVED_RELATIONSHIP_H
#define  ENTITY_SDAISTATE_OBSERVED_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_observed_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        EntityAggregate_ptr _relating_state_observed = NULL;          //  of  state_observed

        EntityAggregate_ptr _related_state_observed = NULL;          //  of  state_observed

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

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

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

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

};

inline SdaiState_observed_relationship * create_SdaiState_observed_relationship() {
    return new SdaiState_observed_relationship;
}

void init_SdaiState_observed_relationship(Registry& reg);

namespace engineering_properties_schema {
    extern EntityDescriptor *e_state_observed_relationship;
    extern AttrDescriptor *a_620name;
    extern AttrDescriptor *a_621description;
    extern AttrDescriptor *a_622relating_state_observed;
    extern AttrDescriptor *a_623related_state_observed;
}

#endif
