Package com.e1c.g5.v8.dt.md.aindex
Class AdditionalIndexElementDataProvider
java.lang.Object
com.e1c.g5.v8.dt.md.aindex.AdditionalIndexElementDataProvider
Provides 1C Entreprise additional index fields data
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
The extended data of the additional index field -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIndexElementData
(org.eclipse.emf.ecore.EObject sourceField, IndexFieldKind kind) Gets the data of the index element (based on 1C custom data processing for index fields)getIndexFieldKind
(DbViewFieldDef field, Table table) Gets the classification of the index field source candidate
-
Field Details
-
INSTANCE
-
-
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 benull
kind
- The kind of the field- Returns:
- The name of the index element (both EN and RU variants). Never
null
-
getIndexFieldKind
Gets the classification of the index field source candidate- Parameters:
field
- The source field to get classification for. Cannot benull
table
- The source table for the index field. Cannot benull
- Returns:
- The kind of the field. Never
null
-