#ifndef  ENTITY_SDAIDOCUMENT_USAGE_CONSTRAINT_H
#define  ENTITY_SDAIDOCUMENT_USAGE_CONSTRAINT_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_usage_constraint : public SDAI_Application_instance {
    protected:
        SDAI_Application_instance_ptr _source = NULL;
        SDAI_String _subject_element;
        SDAI_String _subject_element_value;
    public: 
        SdaiDocument_usage_constraint();
        SdaiDocument_usage_constraint( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiDocument_usage_constraint( SdaiDocument_usage_constraint & e );
        ~SdaiDocument_usage_constraint();
        int opcode() {
            return 0;
        }
        SdaiDocument_ptr_c source_() const;
        SdaiDocument_ptr   source_();
        void source_( const SdaiDocument_ptr x );

  const SdaiLabel   subject_element_() const;
        SdaiLabel   subject_element_();
        void subject_element_( const SdaiLabel x );

  const SdaiText   subject_element_value_() const;
        SdaiText   subject_element_value_();
        void subject_element_value_( const SdaiText x );

};

inline SdaiDocument_usage_constraint * create_SdaiDocument_usage_constraint() {
    return new SdaiDocument_usage_constraint;
}

void init_SdaiDocument_usage_constraint(Registry& reg);

namespace automotive_design {
    extern EntityDescriptor *e_document_usage_constraint;
    extern AttrDescriptor *a_0source;
    extern AttrDescriptor *a_1subject_element;
    extern AttrDescriptor *a_2subject_element_value;
}

#endif
