#ifndef  ENTITY_SDAIORGANIZATION_OR_PERSON_IN_ORGANIZATION_ASSIGNMENT_H
#define  ENTITY_SDAIORGANIZATION_OR_PERSON_IN_ORGANIZATION_ASSIGNMENT_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 SdaiOrganization_or_person_in_organization_assignment : public SDAI_Application_instance {
    protected:
        SdaiOrganization_or_person_in_organization_select _assigned_entity;
        SDAI_String _role;
        SdaiOrganization_or_person_in_organization_item_agg_ptr _items = NULL;          //  of  organization_or_person_in_organization_item

    public: 
        SdaiOrganization_or_person_in_organization_assignment();
        SdaiOrganization_or_person_in_organization_assignment( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiOrganization_or_person_in_organization_assignment( SdaiOrganization_or_person_in_organization_assignment & e );
        ~SdaiOrganization_or_person_in_organization_assignment();
        int opcode() {
            return 40;
        }
        SdaiOrganization_or_person_in_organization_select_ptr_c assigned_entity_() const;
        SdaiOrganization_or_person_in_organization_select_ptr   assigned_entity_();
        void assigned_entity_( const SdaiOrganization_or_person_in_organization_select_ptr x );

  const SDAI_String   role_() const;
        SDAI_String   role_();
        void role_( const SDAI_String x );

        SdaiOrganization_or_person_in_organization_item_agg_ptr_c items_() const;
        SdaiOrganization_or_person_in_organization_item_agg_ptr   items_();
        void items_( const SdaiOrganization_or_person_in_organization_item_agg_ptr x );

};

inline SdaiOrganization_or_person_in_organization_assignment * create_SdaiOrganization_or_person_in_organization_assignment() {
    return new SdaiOrganization_or_person_in_organization_assignment;
}

void init_SdaiOrganization_or_person_in_organization_assignment(Registry& reg);

namespace ap239_product_life_cycle_support_arm_lf {
    extern EntityDescriptor *e_organization_or_person_in_organization_assignment;
    extern AttrDescriptor *a_95assigned_entity;
    extern AttrDescriptor *a_96role;
    extern AttrDescriptor *a_97items;
}

#endif
