#ifndef  ENTITY_SDAIPADSTACK_OCCURRENCE_PRODUCT_DEFINITION_RELATIONSHIP_H
#define  ENTITY_SDAIPADSTACK_OCCURRENCE_PRODUCT_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 SdaiPadstack_occurrence_product_definition_relationship : public SdaiProperty_definition {
     protected:
        SdaiProduct_definition_or_reference _relating_product_definition;
        SdaiProduct_definition_or_reference _related_product_definition;
        SDAI_String _reference_designator;    //  OPTIONAL
        SDAI_Application_instance_ptr _occurrence = NULL;
    public: 
        SdaiPadstack_occurrence_product_definition_relationship();
        SdaiPadstack_occurrence_product_definition_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiPadstack_occurrence_product_definition_relationship( SdaiPadstack_occurrence_product_definition_relationship & e );
        ~SdaiPadstack_occurrence_product_definition_relationship();
        int opcode() {
            return 1409;
        }
        SdaiProduct_definition_or_reference_ptr_c relating_product_definition_() const;
        SdaiProduct_definition_or_reference_ptr   relating_product_definition_();
        void relating_product_definition_( const SdaiProduct_definition_or_reference_ptr x );

        SdaiProduct_definition_or_reference_ptr_c related_product_definition_() const;
        SdaiProduct_definition_or_reference_ptr   related_product_definition_();
        void related_product_definition_( const SdaiProduct_definition_or_reference_ptr x );

  const SdaiIdentifier   reference_designator_() const;
        SdaiIdentifier   reference_designator_();
        void reference_designator_( const SdaiIdentifier x );

        SdaiProduct_definition_ptr_c occurrence_() const;
        SdaiProduct_definition_ptr   occurrence_();
        void occurrence_( const SdaiProduct_definition_ptr x );

};

inline SdaiPadstack_occurrence_product_definition_relationship * create_SdaiPadstack_occurrence_product_definition_relationship() {
    return new SdaiPadstack_occurrence_product_definition_relationship;
}

void init_SdaiPadstack_occurrence_product_definition_relationship(Registry& reg);

namespace ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf {
    extern EntityDescriptor *e_padstack_occurrence_product_definition_relationship;
}

#endif
