#ifndef  ENTITY_SDAIDOCUMENT_REFERENCE_H
#define  ENTITY_SDAIDOCUMENT_REFERENCE_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 SdaiDocument_reference : public SDAI_Application_instance {
    protected:
        SDAI_Application_instance_ptr _assigned_document = NULL;
        SDAI_String _source;
    public: 
        SdaiDocument_reference();
        SdaiDocument_reference( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiDocument_reference( SdaiDocument_reference & e );
        ~SdaiDocument_reference();
        int opcode() {
            return 369;
        }
        SdaiDocument_ptr_c assigned_document_() const;
        SdaiDocument_ptr   assigned_document_();
        void assigned_document_( const SdaiDocument_ptr x );

  const SdaiLabel   source_() const;
        SdaiLabel   source_();
        void source_( const SdaiLabel x );

};

inline SdaiDocument_reference * create_SdaiDocument_reference() {
    return new SdaiDocument_reference;
}

void init_SdaiDocument_reference(Registry& reg);

namespace engineering_properties_schema {
    extern EntityDescriptor *e_document_reference;
    extern AttrDescriptor *a_581assigned_document;
    extern AttrDescriptor *a_582source;
    extern Derived_attribute *a_583Drole;
}

#endif
