#ifndef  TYPE_SDAICERTIFICATION_ITEM_H
#define  TYPE_SDAICERTIFICATION_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 SdaiCertification_item
class SC_SCHEMA_EXPORT SdaiCertification_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ACTIVITY    --  sdaiINSTANCE
    //   ACTIVITY_METHOD    --  sdaiINSTANCE
    //   APPLIED_ACTIVITY_METHOD_ASSIGNMENT    --  sdaiINSTANCE
    //   BREAKDOWN    --  sdaiINSTANCE
    //   DOCUMENT    --  sdaiINSTANCE
    //   DOCUMENT_VERSION    --  sdaiINSTANCE
    //   INTERFACE_CONNECTION    --  sdaiINSTANCE
    //   INTERFACE_CONNECTOR_VERSION    --  sdaiINSTANCE
    //   INTERFACE_DEFINITION_CONNECTION    --  sdaiINSTANCE
    //   INTERFACE_SPECIFICATION_VERSION    --  sdaiINSTANCE
    //   PART    --  sdaiINSTANCE
    //   PART_VERSION    --  sdaiINSTANCE
    //   PRODUCT_AS_INDIVIDUAL    --  sdaiINSTANCE
    //   PRODUCT_AS_PLANNED    --  sdaiINSTANCE
    //   PRODUCT_AS_REALIZED    --  sdaiINSTANCE
    //   PRODUCT_CONFIGURATION    --  sdaiINSTANCE
    //   PRODUCT_GROUP    --  sdaiINSTANCE
    //   PRODUCT_GROUP_RELATIONSHIP    --  sdaiINSTANCE
    //   PRODUCT_VERSION_RELATIONSHIP    --  sdaiINSTANCE
    //   PROJECT    --  sdaiINSTANCE
    //   QUALIFICATION_ASSIGNMENT    --  sdaiINSTANCE
    //   RESOURCE_ITEM    --  sdaiINSTANCE
    //   TASK_ELEMENT    --  sdaiINSTANCE
    //   TASK_METHOD    --  sdaiINSTANCE
    //   TASK_METHOD_VERSION    --  sdaiINSTANCE
    //   TASK_OBJECTIVE    --  sdaiINSTANCE
    //   VIEW_DEFINITION_RELATIONSHIP    --  sdaiINSTANCE
    //   WORK_OUTPUT    --  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
    SdaiCertification_item( const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    //  part 1
    SdaiCertification_item( const SdaiActivity_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiActivity_method_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiApplied_activity_method_assignment_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiBreakdown_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiDocument_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiDocument_version_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiInterface_connection_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiInterface_connector_version_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiInterface_definition_connection_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiInterface_specification_version_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiPart_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiPart_version_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiProduct_as_individual_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiProduct_as_planned_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiProduct_as_realized_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiProduct_configuration_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiProduct_group_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiProduct_group_relationship_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiProduct_version_relationship_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiProject_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiQualification_assignment_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiResource_item_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiTask_element_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiTask_method_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiTask_method_version_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiTask_objective_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiView_definition_relationship_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    SdaiCertification_item( const SdaiWork_output_ptr&,
                            const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    virtual ~SdaiCertification_item();

    //  part 2
    operator SdaiActivity_ptr();
    operator SdaiActivity_method_ptr();
    operator SdaiApplied_activity_method_assignment_ptr();
    operator SdaiBreakdown_ptr();
    operator SdaiDocument_ptr();
    operator SdaiDocument_version_ptr();
    operator SdaiInterface_connection_ptr();
    operator SdaiInterface_connector_version_ptr();
    operator SdaiInterface_definition_connection_ptr();
    operator SdaiInterface_specification_version_ptr();
    operator SdaiPart_ptr();
    operator SdaiPart_version_ptr();
    operator SdaiProduct_as_individual_ptr();
    operator SdaiProduct_as_planned_ptr();
    operator SdaiProduct_as_realized_ptr();
    operator SdaiProduct_configuration_ptr();
    operator SdaiProduct_group_ptr();
    operator SdaiProduct_group_relationship_ptr();
    operator SdaiProduct_version_relationship_ptr();
    operator SdaiProject_ptr();
    operator SdaiQualification_assignment_ptr();
    operator SdaiResource_item_ptr();
    operator SdaiTask_element_ptr();
    operator SdaiTask_method_ptr();
    operator SdaiTask_method_version_ptr();
    operator SdaiTask_objective_ptr();
    operator SdaiView_definition_relationship_ptr();
    operator SdaiWork_output_ptr();

    //  part 3
        SdaiWork_output_item_ptr_c output_item_() const;
        SdaiWork_output_item_ptr   output_item_();
        void output_item_( const SdaiWork_output_item_ptr x );

        SdaiValue_with_unit_ptr_c quantity_() const;
        SdaiValue_with_unit_ptr   quantity_();
        void quantity_( const SdaiValue_with_unit_ptr x );

        SdaiProduct_view_definition_ptr_c related_view_() const;
        SdaiProduct_view_definition_ptr   related_view_();
        void related_view_( const SdaiProduct_view_definition_ptr x );

        SdaiProduct_view_definition_ptr_c relating_view_() const;
        SdaiProduct_view_definition_ptr   relating_view_();
        void relating_view_( const SdaiProduct_view_definition_ptr x );

        SdaiTask_method_ptr_c of_task_method_() const;
        SdaiTask_method_ptr   of_task_method_();
        void of_task_method_( const SdaiTask_method_ptr x );

        SdaiTask_element_ptr_c content_() const;
        SdaiTask_element_ptr   content_();
        void content_( const SdaiTask_element_ptr x );

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

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

        SdaiResource_item_select_agg_ptr_c resource_items_() const;
        SdaiResource_item_select_agg_ptr   resource_items_();
        void resource_items_( const SdaiResource_item_select_agg_ptr x );

        SdaiQualifications_select_ptr_c received_by_() const;
        SdaiQualifications_select_ptr   received_by_();
        void received_by_( const SdaiQualifications_select_ptr x );

        SdaiQualification_type_ptr_c assigned_qualification_type_() const;
        SdaiQualification_type_ptr   assigned_qualification_type_();
        void assigned_qualification_type_( const SdaiQualification_type_ptr x );

        SdaiDate_or_date_time_select_ptr_c actual_end_date_() const;
        SdaiDate_or_date_time_select_ptr   actual_end_date_();
        void actual_end_date_( const SdaiDate_or_date_time_select_ptr x );

        SdaiDate_or_date_time_select_ptr_c actual_start_date_() const;
        SdaiDate_or_date_time_select_ptr   actual_start_date_();
        void actual_start_date_( const SdaiDate_or_date_time_select_ptr x );

        SdaiDate_or_event_ptr_c planned_end_date_() const;
        SdaiDate_or_event_ptr   planned_end_date_();
        void planned_end_date_( const SdaiDate_or_event_ptr x );

        SdaiDate_or_event_ptr_c planned_start_date_() const;
        SdaiDate_or_event_ptr   planned_start_date_();
        void planned_start_date_( const SdaiDate_or_event_ptr x );

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

        SdaiProduct_version_ptr_c related_version_() const;
        SdaiProduct_version_ptr   related_version_();
        void related_version_( const SdaiProduct_version_ptr x );

        SdaiProduct_version_ptr_c relating_version_() const;
        SdaiProduct_version_ptr   relating_version_();
        void relating_version_( const SdaiProduct_version_ptr x );

  const SDAI_String   relation_type_() const;
        SDAI_String   relation_type_();
        void relation_type_( const SDAI_String x );

        SdaiProduct_group_ptr_c related_() const;
        SdaiProduct_group_ptr   related_();
        void related_( const SdaiProduct_group_ptr x );

        SdaiProduct_group_ptr_c relating_() const;
        SdaiProduct_group_ptr   relating_();
        void relating_( const SdaiProduct_group_ptr x );

  const SDAI_String   product_group_context_() const;
        SDAI_String   product_group_context_();
        void product_group_context_( const SDAI_String x );

  const SDAI_String   membership_rule_() const;
        SDAI_String   membership_rule_();
        void membership_rule_( const SDAI_String x );

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

        SdaiProduct_concept_ptr_c item_context_() const;
        SdaiProduct_concept_ptr   item_context_();
        void item_context_( const SdaiProduct_concept_ptr x );

        SdaiConnection_items_ptr_c connected_() const;
        SdaiConnection_items_ptr   connected_();
        void connected_( const SdaiConnection_items_ptr x );

        SdaiConnection_items_ptr_c connecting_() const;
        SdaiConnection_items_ptr   connecting_();
        void connecting_( const SdaiConnection_items_ptr x );

  const SDAI_String   connection_type_() const;
        SDAI_String   connection_type_();
        void connection_type_( const SDAI_String x );

        SdaiDocument_ptr_c product_version_of_product_() const;
        SdaiDocument_ptr   product_version_of_product_();
        void product_version_of_product_( const SdaiDocument_ptr x );

        SdaiProduct_ptr_c of_product_() const;
        SdaiProduct_ptr   of_product_();
        void of_product_( const SdaiProduct_ptr x );

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

        SdaiActivity_method_item_agg_ptr_c items_() const;
        SdaiActivity_method_item_agg_ptr   items_();
        void items_( const SdaiActivity_method_item_agg_ptr x );

        SdaiActivity_method_ptr_c assigned_activity_method_() const;
        SdaiActivity_method_ptr   assigned_activity_method_();
        void assigned_activity_method_( const SdaiActivity_method_ptr x );

  const SDAI_String   purpose_() const;
        SDAI_String   purpose_();
        void purpose_( const SDAI_String x );

  const SDAI_String   consequence_() const;
        SDAI_String   consequence_();
        void consequence_( const SDAI_String x );

        SdaiActivity_method_ptr_c chosen_method_() const;
        SdaiActivity_method_ptr   chosen_method_();
        void chosen_method_( const SdaiActivity_method_ptr x );

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

  const SDAI_String   name_() const;
        SDAI_String   name_();
        void name_( const SDAI_String x );

  const SDAI_String   id_() const;
        SDAI_String   id_();
        void id_( const SDAI_String x );


    //  part 4
    SdaiCertification_item& operator =( const SdaiActivity_ptr& );
    SdaiCertification_item& operator =( const SdaiActivity_method_ptr& );
    SdaiCertification_item& operator =( const SdaiApplied_activity_method_assignment_ptr& );
    SdaiCertification_item& operator =( const SdaiBreakdown_ptr& );
    SdaiCertification_item& operator =( const SdaiDocument_ptr& );
    SdaiCertification_item& operator =( const SdaiDocument_version_ptr& );
    SdaiCertification_item& operator =( const SdaiInterface_connection_ptr& );
    SdaiCertification_item& operator =( const SdaiInterface_connector_version_ptr& );
    SdaiCertification_item& operator =( const SdaiInterface_definition_connection_ptr& );
    SdaiCertification_item& operator =( const SdaiInterface_specification_version_ptr& );
    SdaiCertification_item& operator =( const SdaiPart_ptr& );
    SdaiCertification_item& operator =( const SdaiPart_version_ptr& );
    SdaiCertification_item& operator =( const SdaiProduct_as_individual_ptr& );
    SdaiCertification_item& operator =( const SdaiProduct_as_planned_ptr& );
    SdaiCertification_item& operator =( const SdaiProduct_as_realized_ptr& );
    SdaiCertification_item& operator =( const SdaiProduct_configuration_ptr& );
    SdaiCertification_item& operator =( const SdaiProduct_group_ptr& );
    SdaiCertification_item& operator =( const SdaiProduct_group_relationship_ptr& );
    SdaiCertification_item& operator =( const SdaiProduct_version_relationship_ptr& );
    SdaiCertification_item& operator =( const SdaiProject_ptr& );
    SdaiCertification_item& operator =( const SdaiQualification_assignment_ptr& );
    SdaiCertification_item& operator =( const SdaiResource_item_ptr& );
    SdaiCertification_item& operator =( const SdaiTask_element_ptr& );
    SdaiCertification_item& operator =( const SdaiTask_method_ptr& );
    SdaiCertification_item& operator =( const SdaiTask_method_version_ptr& );
    SdaiCertification_item& operator =( const SdaiTask_objective_ptr& );
    SdaiCertification_item& operator =( const SdaiView_definition_relationship_ptr& );
    SdaiCertification_item& operator =( const SdaiWork_output_ptr& );
    // not in SDAI
    SdaiCertification_item& ShallowCopy ( const SdaiCertification_item& );

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

    //  part 5
    Logical IsActivity() const;
    Logical IsActivity_method() const;
    Logical IsApplied_activity_method_assignment() const;
    Logical IsBreakdown() const;
    Logical IsDocument() const;
    Logical IsDocument_version() const;
    Logical IsInterface_connection() const;
    Logical IsInterface_connector_version() const;
    Logical IsInterface_definition_connection() const;
    Logical IsInterface_specification_version() const;
    Logical IsPart() const;
    Logical IsPart_version() const;
    Logical IsProduct_as_individual() const;
    Logical IsProduct_as_planned() const;
    Logical IsProduct_as_realized() const;
    Logical IsProduct_configuration() const;
    Logical IsProduct_group() const;
    Logical IsProduct_group_relationship() const;
    Logical IsProduct_version_relationship() const;
    Logical IsProject() const;
    Logical IsQualification_assignment() const;
    Logical IsResource_item() const;
    Logical IsTask_element() const;
    Logical IsTask_method() const;
    Logical IsTask_method_version() const;
    Logical IsTask_objective() const;
    Logical IsView_definition_relationship() const;
    Logical IsWork_output() const;

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

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

inline SDAI_Select * create_SdaiCertification_item () { return new SdaiCertification_item; }
typedef SdaiCertification_item * SdaiCertification_itemH;
typedef SdaiCertification_item_ptr SdaiCertification_item_var;


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

  public:
    SdaiCertification_item_agg( SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_certification_item );
    ~SdaiCertification_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiCertification_item( sel_type )); }
};
inline STEPaggregate * create_SdaiCertification_item_agg () { return new SdaiCertification_item_agg; }
typedef SdaiCertification_item_agg_ptr SdaiCertification_item_agg_var;

/////  END SELECT TYPE certification_item

void init_SdaiCertification_item(Registry& reg);

#endif
