#ifndef  ENTITY_SDAICONTRACT_RELATIONSHIP_H
#define  ENTITY_SDAICONTRACT_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 SdaiContract_relationship : public SDAI_Application_instance {
    protected:
        SDAI_String _id;
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _relating_contract = NULL;
        SDAI_Application_instance_ptr _related_contract = NULL;
    public: 
        SdaiContract_relationship();
        SdaiContract_relationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiContract_relationship( SdaiContract_relationship & e );
        ~SdaiContract_relationship();
        int opcode() {
            return 2062;
        }
  const SdaiIdentifier   id_() const;
        SdaiIdentifier   id_();
        void id_( const SdaiIdentifier x );

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

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

        SdaiContract_ptr_c relating_contract_() const;
        SdaiContract_ptr   relating_contract_();
        void relating_contract_( const SdaiContract_ptr x );

        SdaiContract_ptr_c related_contract_() const;
        SdaiContract_ptr   related_contract_();
        void related_contract_( const SdaiContract_ptr x );

};

inline SdaiContract_relationship * create_SdaiContract_relationship() {
    return new SdaiContract_relationship;
}

void init_SdaiContract_relationship(Registry& reg);

namespace ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf {
    extern EntityDescriptor *e_contract_relationship;
    extern AttrDescriptor *a_2281id;
    extern AttrDescriptor *a_2282name;
    extern AttrDescriptor *a_2283description;
    extern AttrDescriptor *a_2284relating_contract;
    extern AttrDescriptor *a_2285related_contract;
}

#endif
