#ifndef  ENTITY_SDAIIFCORGANIZATIONRELATIONSHIP_H
#define  ENTITY_SDAIIFCORGANIZATIONRELATIONSHIP_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 SdaiIfcorganizationrelationship : public SDAI_Application_instance {
    protected:
        SDAI_String _name;
        SDAI_String _description;    //  OPTIONAL
        SDAI_Application_instance_ptr _relatingorganization = NULL;
        EntityAggregate_ptr _relatedorganizations = NULL;          //  of  ifcorganization

    public: 
        SdaiIfcorganizationrelationship();
        SdaiIfcorganizationrelationship( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiIfcorganizationrelationship( SdaiIfcorganizationrelationship & e );
        ~SdaiIfcorganizationrelationship();
        int opcode() {
            return 211;
        }
  const SdaiIfclabel   name_() const;
        SdaiIfclabel   name_();
        void name_( const SdaiIfclabel x );

  const SdaiIfctext   description_() const;
        SdaiIfctext   description_();
        void description_( const SdaiIfctext x );

        SdaiIfcorganization_ptr_c relatingorganization_() const;
        SdaiIfcorganization_ptr   relatingorganization_();
        void relatingorganization_( const SdaiIfcorganization_ptr x );

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

};

inline SdaiIfcorganizationrelationship * create_SdaiIfcorganizationrelationship() {
    return new SdaiIfcorganizationrelationship;
}

void init_SdaiIfcorganizationrelationship(Registry& reg);

namespace ifc2x3 {
    extern EntityDescriptor *e_ifcorganizationrelationship;
    extern AttrDescriptor *a_480name;
    extern AttrDescriptor *a_481description;
    extern AttrDescriptor *a_482relatingorganization;
    extern AttrDescriptor *a_483relatedorganizations;
}

#endif
