Class EmptyQueryDataSetWrapperBase
java.lang.Object
com._1c.g5.v8.dt.dcs.dataset.DataSetWrapperBase<DataCompositionSchemaDataSetQuery>
com._1c.g5.v8.dt.dcs.dataset.fields.EmptyQueryDataSetWrapperBase
- All Implemented Interfaces:
IDataSetWrapper
public final class EmptyQueryDataSetWrapperBase
extends DataSetWrapperBase<DataCompositionSchemaDataSetQuery>
Empty query
DataSetWrapperBase
for dummy purposes-
Nested Class Summary
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.dcs.dataset.IDataSetWrapper
IDataSetWrapper.FieldRestriction, IDataSetWrapper.FieldSynonym
-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.dcs.dataset.DataSetWrapperBase
dataSet, fieldsTree, fieldsWrappers, fieldsWrappersByName, isDynamicList, synonyms, useRestrictions, visibilityRestrictions
-
Constructor Summary
ConstructorsConstructorDescriptionEmptyQueryDataSetWrapperBase
(DataCompositionSchemaDataSetQuery dataSet, boolean isDynamicList, String langCode, int alias) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
copyField
(DataSetField field, String parentPathNew) Copy fieldint
Gets number of current aliasGet current language codevoid
removeField
(DataSetField field) Remove fieldvoid
setFieldAttrUseRestiction
(DataSetField field, org.eclipse.emf.ecore.EStructuralFeature feature, boolean state) Set field attribute restictionvoid
setFieldName
(DataSetField field, String name) Set 'Field' property of fieldvoid
setFieldPath
(DataSetField field, String path) Set 'Data path' property of fieldvoid
setFieldTitle
(DataSetField field, LocalString title) Set 'Title' property of fieldvoid
setFieldUseRestiction
(DataSetField field, org.eclipse.emf.ecore.EStructuralFeature feature, boolean state) Set field restictionMethods inherited from class com._1c.g5.v8.dt.dcs.dataset.DataSetWrapperBase
addField, addFieldWrapper, createFieldWrapper, createPath, fillDataSetFields, fillFieldsWrappers, getAncestorField, getChildFields, getField, getFieldName, getFieldParentPath, getFieldPath, getFieldsWrappers, getFieldSynonym, getFieldUseRestriction, getFieldVisibilityRestriction, init, moveField
-
Constructor Details
-
EmptyQueryDataSetWrapperBase
public EmptyQueryDataSetWrapperBase(DataCompositionSchemaDataSetQuery dataSet, boolean isDynamicList, String langCode, int alias) Constructor- Parameters:
dataSet
-DataCompositionSchemaDataSetQuery
, cannot be nullisDynamicList
- is dynamic list contextlangCode
- language code, cannot be nullalias
- language alias
-
-
Method Details
-
getCurrentLanguageCode
Description copied from interface:IDataSetWrapper
Get current language code- Returns:
- language code, never
null
-
getCurrentAlias
public int getCurrentAlias()Description copied from interface:IDataSetWrapper
Gets number of current alias- Returns:
- number of current alias
-
copyField
Description copied from interface:IDataSetWrapper
Copy field- Parameters:
field
- field, can't benull
parentPathNew
- destination folder path ornull
(empty) for root
-
removeField
Description copied from interface:IDataSetWrapper
Remove field- Parameters:
field
- field, can't benull
-
setFieldName
Description copied from interface:IDataSetWrapper
Set 'Field' property of field- Parameters:
field
- field, can't benull
name
- value of 'Field' property
-
setFieldPath
Description copied from interface:IDataSetWrapper
Set 'Data path' property of field- Parameters:
field
- field, can't benull
path
- value of 'Data path' property, can't benull
-
setFieldTitle
Description copied from interface:IDataSetWrapper
Set 'Title' property of field- Parameters:
field
- field, can't be nulltitle
- value of 'Title' property, can't benull
-
setFieldUseRestiction
public void setFieldUseRestiction(DataSetField field, org.eclipse.emf.ecore.EStructuralFeature feature, boolean state) Description copied from interface:IDataSetWrapper
Set field restiction- Parameters:
field
- field, can't benull
feature
- feature of restriction, can't benull
state
- state
-
setFieldAttrUseRestiction
public void setFieldAttrUseRestiction(DataSetField field, org.eclipse.emf.ecore.EStructuralFeature feature, boolean state) Description copied from interface:IDataSetWrapper
Set field attribute restiction- Parameters:
field
- field, can't benull
feature
- feature of attribute restriction, can't benull
state
- state
-