Class AdditionalIndexElementDataProvider

java.lang.Object
com.e1c.g5.v8.dt.md.aindex.AdditionalIndexElementDataProvider

public final class AdditionalIndexElementDataProvider extends Object
Provides 1C Entreprise additional index fields data
  • Field Details

  • Constructor Details

    • AdditionalIndexElementDataProvider

      public AdditionalIndexElementDataProvider()
  • Method Details

    • getIndexElementData

      public AdditionalIndexElementDataProvider.Data getIndexElementData(org.eclipse.emf.ecore.EObject sourceField, IndexFieldKind kind)
      Gets the data of the index element (based on 1C custom data processing for index fields)
      Parameters:
      sourceField - The source data field. Cannot be null
      kind - The kind of the field
      Returns:
      The name of the index element (both EN and RU variants). Never null
    • getIndexFieldKind

      public IndexFieldKind getIndexFieldKind(DbViewFieldDef field, Table table)
      Gets the classification of the index field source candidate
      Parameters:
      field - The source field to get classification for. Cannot be null
      table - The source table for the index field. Cannot be null
      Returns:
      The kind of the field. Never null