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 TypeMethodDescriptionvoidcopyField(DataSetField field, String parentPathNew) Copy fieldintGets number of current aliasGet current language codevoidremoveField(DataSetField field) Remove fieldvoidsetFieldAttrUseRestiction(DataSetField field, org.eclipse.emf.ecore.EStructuralFeature feature, boolean state) Set field attribute restictionvoidsetFieldName(DataSetField field, String name) Set 'Field' property of fieldvoidsetFieldPath(DataSetField field, String path) Set 'Data path' property of fieldvoidsetFieldTitle(DataSetField field, LocalString title) Set 'Title' property of fieldvoidsetFieldUseRestiction(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:IDataSetWrapperGet current language code- Returns:
- language code, never
null
-
getCurrentAlias
public int getCurrentAlias()Description copied from interface:IDataSetWrapperGets number of current alias- Returns:
- number of current alias
-
copyField
Description copied from interface:IDataSetWrapperCopy field- Parameters:
field- field, can't benullparentPathNew- destination folder path ornull(empty) for root
-
removeField
Description copied from interface:IDataSetWrapperRemove field- Parameters:
field- field, can't benull
-
setFieldName
Description copied from interface:IDataSetWrapperSet 'Field' property of field- Parameters:
field- field, can't benullname- value of 'Field' property
-
setFieldPath
Description copied from interface:IDataSetWrapperSet 'Data path' property of field- Parameters:
field- field, can't benullpath- value of 'Data path' property, can't benull
-
setFieldTitle
Description copied from interface:IDataSetWrapperSet '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:IDataSetWrapperSet field restiction- Parameters:
field- field, can't benullfeature- feature of restriction, can't benullstate- state
-
setFieldAttrUseRestiction
public void setFieldAttrUseRestiction(DataSetField field, org.eclipse.emf.ecore.EStructuralFeature feature, boolean state) Description copied from interface:IDataSetWrapperSet field attribute restiction- Parameters:
field- field, can't benullfeature- feature of attribute restriction, can't benullstate- state
-