#ifndef  TYPE_SDAIORGANIZATIONAL_PROJECT_ITEM_H
#define  TYPE_SDAIORGANIZATIONAL_PROJECT_ITEM_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.


//////////  SELECT TYPE SdaiOrganizational_project_item
class SC_SCHEMA_EXPORT SdaiOrganizational_project_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   EXECUTED_ACTION    --  sdaiINSTANCE
    //   PRODUCT_CONCEPT    --  sdaiINSTANCE
       SDAI_Application_instance_ptr _app_inst;

  public:
    virtual const TypeDescriptor * AssignEntity (SDAI_Application_instance * se);
    virtual SDAI_Select * NewSelect ();

    virtual BASE_TYPE ValueType() const;


// STEP Part 21
    virtual void STEPwrite_content (ostream& out =std::cout,
                    const char *currSch =0) const;
    virtual void STEPwrite_verbose (ostream& out =std::cout,
                    const char *currSch =0) const;
    virtual Severity STEPread_content (istream& in =cin,
        InstMgrBase * instances =0, const char *utype =0,
        int addFileId =0, const char *currSch =0);
    virtual Severity StrToVal_content (const char *,
        InstMgrBase * instances =0);

// STEP Part 22:  SDAI

// constructors
    SdaiOrganizational_project_item( const SelectTypeDescriptor * =pdm_schema::t_organizational_project_item );
    //  part 1
    SdaiOrganizational_project_item( const SdaiExecuted_action_ptr&,
                                     const SelectTypeDescriptor * =pdm_schema::t_organizational_project_item );
    SdaiOrganizational_project_item( const SdaiProduct_concept_ptr&,
                                     const SelectTypeDescriptor * =pdm_schema::t_organizational_project_item );
    virtual ~SdaiOrganizational_project_item();

    //  part 2
    operator SdaiExecuted_action_ptr();
    operator SdaiProduct_concept_ptr();

    //  part 3
        SdaiProduct_concept_context_ptr_c market_context_() const;
        SdaiProduct_concept_context_ptr   market_context_();
        void market_context_( const SdaiProduct_concept_context_ptr x );

        SdaiAction_method_ptr_c chosen_method_() const;
        SdaiAction_method_ptr   chosen_method_();
        void chosen_method_( const SdaiAction_method_ptr x );

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

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


    //  part 4
    SdaiOrganizational_project_item& operator =( const SdaiExecuted_action_ptr& );
    SdaiOrganizational_project_item& operator =( const SdaiProduct_concept_ptr& );
    // not in SDAI
    SdaiOrganizational_project_item& ShallowCopy ( const SdaiOrganizational_project_item& );

#ifdef COMPILER_DEFINES_OPERATOR_EQ
#else
    SdaiOrganizational_project_item& operator =( SdaiOrganizational_project_item * const & );
    SDAI_Select& operator =( const SDAI_Select& );
#endif

    //  part 5
    Logical IsExecuted_action() const;
    Logical IsProduct_concept() const;

    //  part 6 ... UnderlyingTypeName () implemented in SDAI_Select class ...

    //  part 7 ... NONE    only for complex selects...
};

inline SDAI_Select * create_SdaiOrganizational_project_item () { return new SdaiOrganizational_project_item; }
typedef SdaiOrganizational_project_item * SdaiOrganizational_project_itemH;
typedef SdaiOrganizational_project_item_ptr SdaiOrganizational_project_item_var;


class SdaiOrganizational_project_item_agg : public SelectAggregate {
  protected:
    SelectTypeDescriptor *sel_type;

  public:
    SdaiOrganizational_project_item_agg( SelectTypeDescriptor * =pdm_schema::t_organizational_project_item );
    ~SdaiOrganizational_project_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiOrganizational_project_item( sel_type )); }
};
inline STEPaggregate * create_SdaiOrganizational_project_item_agg () { return new SdaiOrganizational_project_item_agg; }
typedef SdaiOrganizational_project_item_agg_ptr SdaiOrganizational_project_item_agg_var;

/////  END SELECT TYPE organizational_project_item

void init_SdaiOrganizational_project_item(Registry& reg);

#endif
