com.devepos.adt.codesearch.model/src/com/devepos/adt/cst/model/codesearch/impl/CodeSearchPackage.java
/**
   * Creates the meta-model objects for the package. This method is
   * guarded to have no affect on any invocation but its first.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated
   */
Creates the meta-model objects for the package. This method is
guarded to have no affect on any invocation but its first.


Creates the meta - model objects for the package . This method is guarded to have no affect on any invocation but its first .
public void createPackageContents() {
    if (isCreated) {
      return;
    }
    isCreated = true;
    codeSearchObjectEClass = createEClass(CODE_SEARCH_OBJECT);
    createEAttribute(codeSearchObjectEClass, CODE_SEARCH_OBJECT__URI);
    createEAttribute(codeSearchObjectEClass, CODE_SEARCH_OBJECT__PARENT_URI);
    createEReference(codeSearchObjectEClass, CODE_SEARCH_OBJECT__ADT_MAIN_OBJECT);
    createEReference(codeSearchObjectEClass, CODE_SEARCH_OBJECT__MATCHES);
    codeSearchMatchEClass = createEClass(CODE_SEARCH_MATCH);
    createEAttribute(codeSearchMatchEClass, CODE_SEARCH_MATCH__URI);
    createEAttribute(codeSearchMatchEClass, CODE_SEARCH_MATCH__SNIPPET);
    codeSearchResultEClass = createEClass(CODE_SEARCH_RESULT);
    createEReference(codeSearchResultEClass, CODE_SEARCH_RESULT__SEARCH_OBJECTS);
    createEReference(codeSearchResultEClass, CODE_SEARCH_RESULT__RESPONSE_MESSAGE_LIST);
    createEAttribute(codeSearchResultEClass, CODE_SEARCH_RESULT__NUMBER_OF_RESULTS);
    createEAttribute(codeSearchResultEClass, CODE_SEARCH_RESULT__NUMBER_OF_SEARCHED_OBJECTS);
    createEAttribute(codeSearchResultEClass, CODE_SEARCH_RESULT__NUMBER_OF_SEARCHED_SOURCES);
    createEAttribute(codeSearchResultEClass, CODE_SEARCH_RESULT__QUERY_TIME_IN_MS);
    codeSearchSettingsEClass = createEClass(CODE_SEARCH_SETTINGS);
    createEAttribute(codeSearchSettingsEClass, CODE_SEARCH_SETTINGS__PARALLEL_ENABLED);
    createEAttribute(codeSearchSettingsEClass, CODE_SEARCH_SETTINGS__PARALLEL_SERVER_GROUP);
    createEAttribute(codeSearchSettingsEClass, CODE_SEARCH_SETTINGS__PARALLEL_PACKAGE_SIZE);
    createEAttribute(codeSearchSettingsEClass, CODE_SEARCH_SETTINGS__PCRE_EXTENDED_DISABLED);
    createEAttribute(codeSearchSettingsEClass, CODE_SEARCH_SETTINGS__PCRE_SINGLE_LINE_ENABLED);
    codeSearchScopeParameterEClass = createEClass(CODE_SEARCH_SCOPE_PARAMETER);
    createEAttribute(codeSearchScopeParameterEClass, CODE_SEARCH_SCOPE_PARAMETER__NAME);
    createEAttribute(codeSearchScopeParameterEClass, CODE_SEARCH_SCOPE_PARAMETER__VALUE);
    codeSearchScopeEClass = createEClass(CODE_SEARCH_SCOPE);
    createEAttribute(codeSearchScopeEClass, CODE_SEARCH_SCOPE__ID);
    createEAttribute(codeSearchScopeEClass, CODE_SEARCH_SCOPE__OBJECT_COUNT);
    codeSearchScopeParametersEClass = createEClass(CODE_SEARCH_SCOPE_PARAMETERS);
    createEReference(codeSearchScopeParametersEClass, CODE_SEARCH_SCOPE_PARAMETERS__PARAMETERS);
  }
public void createPackageContents ( ) { if ( isCreated ) { return ; } isCreated = true ; codeSearchObjectEClass = createEClass ( CODE_SEARCH_OBJECT ) ; createEAttribute ( codeSearchObjectEClass , CODE_SEARCH_OBJECT__URI ) ; createEAttribute ( codeSearchObjectEClass , CODE_SEARCH_OBJECT__PARENT_URI ) ; createEReference ( codeSearchObjectEClass , CODE_SEARCH_OBJECT__ADT_MAIN_OBJECT ) ; createEReference ( codeSearchObjectEClass , CODE_SEARCH_OBJECT__MATCHES ) ; codeSearchMatchEClass = createEClass ( CODE_SEARCH_MATCH ) ; createEAttribute ( codeSearchMatchEClass , CODE_SEARCH_MATCH__URI ) ; createEAttribute ( codeSearchMatchEClass , CODE_SEARCH_MATCH__SNIPPET ) ; codeSearchResultEClass = createEClass ( CODE_SEARCH_RESULT ) ; createEReference ( codeSearchResultEClass , CODE_SEARCH_RESULT__SEARCH_OBJECTS ) ; createEReference ( codeSearchResultEClass , CODE_SEARCH_RESULT__RESPONSE_MESSAGE_LIST ) ; createEAttribute ( codeSearchResultEClass , CODE_SEARCH_RESULT__NUMBER_OF_RESULTS ) ; createEAttribute ( codeSearchResultEClass , CODE_SEARCH_RESULT__NUMBER_OF_SEARCHED_OBJECTS ) ; createEAttribute ( codeSearchResultEClass , CODE_SEARCH_RESULT__NUMBER_OF_SEARCHED_SOURCES ) ; createEAttribute ( codeSearchResultEClass , CODE_SEARCH_RESULT__QUERY_TIME_IN_MS ) ; codeSearchSettingsEClass = createEClass ( CODE_SEARCH_SETTINGS ) ; createEAttribute ( codeSearchSettingsEClass , CODE_SEARCH_SETTINGS__PARALLEL_ENABLED ) ; createEAttribute ( codeSearchSettingsEClass , CODE_SEARCH_SETTINGS__PARALLEL_SERVER_GROUP ) ; createEAttribute ( codeSearchSettingsEClass , CODE_SEARCH_SETTINGS__PARALLEL_PACKAGE_SIZE ) ; createEAttribute ( codeSearchSettingsEClass , CODE_SEARCH_SETTINGS__PCRE_EXTENDED_DISABLED ) ; createEAttribute ( codeSearchSettingsEClass , CODE_SEARCH_SETTINGS__PCRE_SINGLE_LINE_ENABLED ) ; codeSearchScopeParameterEClass = createEClass ( CODE_SEARCH_SCOPE_PARAMETER ) ; createEAttribute ( codeSearchScopeParameterEClass , CODE_SEARCH_SCOPE_PARAMETER__NAME ) ; createEAttribute ( codeSearchScopeParameterEClass , CODE_SEARCH_SCOPE_PARAMETER__VALUE ) ; codeSearchScopeEClass = createEClass ( CODE_SEARCH_SCOPE ) ; createEAttribute ( codeSearchScopeEClass , CODE_SEARCH_SCOPE__ID ) ; createEAttribute ( codeSearchScopeEClass , CODE_SEARCH_SCOPE__OBJECT_COUNT ) ; codeSearchScopeParametersEClass = createEClass ( CODE_SEARCH_SCOPE_PARAMETERS ) ; createEReference ( codeSearchScopeParametersEClass , CODE_SEARCH_SCOPE_PARAMETERS__PARAMETERS ) ; }
Creates the meta-model objects for the package.
Creates the meta - model objects for the package .
// Create classes and their features