#ifndef  ENTITY_SDAIPERSON_TYPE_DEFINITION_RELATIONSHIP_H
#define  ENTITY_SDAIPERSON_TYPE_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 SdaiPerson_type_definition_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _id;
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _relating_person_type_definition = NULL;
        SDAI_Application_instance_ptr _related_person_type_definition = NULL;
    public: 
        SdaiPerson_type_definition_relationship();
        SdaiPerson_type_definition_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiPerson_type_definition_relationship( SdaiPerson_type_definition_relationship & e );
        ~SdaiPerson_type_definition_relationship();
        int opcode() {
            return 597;
        }
  const SdaiIdentifier   id_() const;
        SdaiIdentifier   id_();
        void id_( const SdaiIdentifier x );

  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );

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

        SdaiPerson_type_definition_ptr_c relating_person_type_definition_() const;
        SdaiPerson_type_definition_ptr   relating_person_type_definition_();
        void relating_person_type_definition_( const SdaiPerson_type_definition_ptr x );

        SdaiPerson_type_definition_ptr_c related_person_type_definition_() const;
        SdaiPerson_type_definition_ptr   related_person_type_definition_();
        void related_person_type_definition_( const SdaiPerson_type_definition_ptr x );

};

inline SdaiPerson_type_definition_relationship * create_SdaiPerson_type_definition_relationship() {
    return new SdaiPerson_type_definition_relationship;
}

void init_SdaiPerson_type_definition_relationship(Registry& reg);

namespace engineering_properties_schema {
    extern EntityDescriptor *e_person_type_definition_relationship;
    extern AttrDescriptor *a_953id;
    extern AttrDescriptor *a_954name;
    extern AttrDescriptor *a_955description;
    extern AttrDescriptor *a_956relating_person_type_definition;
    extern AttrDescriptor *a_957related_person_type_definition;
}

#endif
