#ifndef  ENTITY_SDAIALTERNATE_PRODUCT_RELATIONSHIP_H
#define  ENTITY_SDAIALTERNATE_PRODUCT_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 SdaiAlternate_product_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _name;    //  OPTIONAL
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _alternate_product = NULL;
        SDAI_Application_instance_ptr _base_product = NULL;
        SDAI_String _criteria;
    public: 
        SdaiAlternate_product_relationship();
        SdaiAlternate_product_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiAlternate_product_relationship( SdaiAlternate_product_relationship & e );
        ~SdaiAlternate_product_relationship();
        int opcode() {
            return 207;
        }
  const SDAI_String   name_() const;
        SDAI_String   name_();
        void name_( const SDAI_String x );

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

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

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

  const SDAI_String   criteria_() const;
        SDAI_String   criteria_();
        void criteria_( const SDAI_String x );

};

inline SdaiAlternate_product_relationship * create_SdaiAlternate_product_relationship() {
    return new SdaiAlternate_product_relationship;
}

void init_SdaiAlternate_product_relationship(Registry& reg);

namespace ap239_product_life_cycle_support_arm_lf {
    extern EntityDescriptor *e_alternate_product_relationship;
    extern AttrDescriptor *a_447name;
    extern AttrDescriptor *a_448description;
    extern AttrDescriptor *a_449alternate_product;
    extern AttrDescriptor *a_450base_product;
    extern AttrDescriptor *a_451criteria;
}

#endif
