#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 962;
        }
  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 ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf {
    extern EntityDescriptor *e_contract_relationship;
    extern AttrDescriptor *a_1216id;
    extern AttrDescriptor *a_1217name;
    extern AttrDescriptor *a_1218description;
    extern AttrDescriptor *a_1219relating_contract;
    extern AttrDescriptor *a_1220related_contract;
}

#endif
