#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 1100;
        }
        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 ap242_managed_model_based_3d_engineering_mim_lf {
    extern EntityDescriptor *e_document_reference;
    extern AttrDescriptor *a_1435assigned_document;
    extern AttrDescriptor *a_1436source;
    extern Derived_attribute *a_1437Drole;
}

#endif
