Package com._1c.g5.v8.dt.dcs.ui.datasets
Class DataSetsWrapperBase<T extends DataSet>
- java.lang.Object
- 
- com._1c.g5.v8.dt.dcs.dataset.DataSetWrapperBase<T>
- 
- com._1c.g5.v8.dt.dcs.ui.datasets.DataSetsWrapperBase<T>
 
 
- 
- All Implemented Interfaces:
- IDataSetWrapper,- IDataSetsWrapper
 - Direct Known Subclasses:
- DataSetsWrapperObject,- DataSetsWrapperQuery,- DataSetsWrapperUnion
 
 public abstract class DataSetsWrapperBase<T extends DataSet> extends DataSetWrapperBase<T> implements IDataSetsWrapper Base class for data set wrapper
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.dcs.dataset.IDataSetWrapperIDataSetWrapper.FieldRestriction, IDataSetWrapper.FieldSynonym
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected DataCompositionSchemaControlContextcontextprotected DataSetsdataSetsPageprotected DataSetsWrapperUnionparent- 
Fields inherited from class com._1c.g5.v8.dt.dcs.dataset.DataSetWrapperBasedataSet, fieldsTree, fieldsWrappers, fieldsWrappersByName, restrictions, synonyms
 
- 
 - 
Constructor SummaryConstructors Constructor Description DataSetsWrapperBase(DataSets dataSetsPage, T dataSet)Constructor
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddField(DataSetField currentField, DataSetField field)Add fieldvoidcopyField(DataSetField currentField, String parentPathNew)Copy fieldintgetCurrentAlias()Gets number of current aliasStringgetCurrentLanguageCode()Get current language codeDataSetsWrapperUniongetParent()Get parent data set wrapperprotected voidnotifyParentAddField(IDataSetFieldsWrapper fieldWrapper)Notify parent data set about field addedprotected voidnotifyParentRemoveFieldRestriction(IDataSetFieldsWrapper fieldWrapper)Notify parent data set about restriction removedprotected voidnotifyParentSetFieldRestriction(IDataSetFieldsWrapper fieldWrapper)Notify parent data set about restriction changedvoidremoveField(DataSetField field)Remove fieldvoidsetFieldAttrUseRestiction(DataSetField dataSetField, 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 dataSetField, org.eclipse.emf.ecore.EStructuralFeature feature, boolean state)Set field restictionvoidsetParent(DataSetsWrapperUnion parent)Set parent data set wrapper- 
Methods inherited from class com._1c.g5.v8.dt.dcs.dataset.DataSetWrapperBaseaddFieldWrapper, createFieldWrapper, createPath, fillDataSetFields, fillFieldsWrappers, getAncestorField, getChildFields, getField, getFieldName, getFieldParentPath, getFieldPath, getFieldRestriction, getFieldsWrappers, getFieldSynonym, init, moveField
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com._1c.g5.v8.dt.dcs.dataset.IDataSetWrappercreatePath, getAncestorField, getChildFields, getField, getFieldName, getFieldParentPath, getFieldPath, getFieldRestriction, getFieldsWrappers, getFieldSynonym, init, moveField
 
- 
 
- 
- 
- 
Field Detail- 
dataSetsPageprotected DataSets dataSetsPage 
 - 
parentprotected DataSetsWrapperUnion parent 
 - 
contextprotected DataCompositionSchemaControlContext context 
 
- 
 - 
Method Detail- 
setParentpublic void setParent(DataSetsWrapperUnion parent) Description copied from interface:IDataSetsWrapperSet parent data set wrapper- Specified by:
- setParentin interface- IDataSetsWrapper
- Parameters:
- parent- parent wrapper, can be- nullif data set doesn't have parent
 
 - 
getParentpublic DataSetsWrapperUnion getParent() Description copied from interface:IDataSetsWrapperGet parent data set wrapper- Specified by:
- getParentin interface- IDataSetsWrapper
- Returns:
- parent wrapper if exists or null
 
 - 
addFieldpublic void addField(DataSetField currentField, DataSetField field) Description copied from interface:IDataSetWrapperAdd field- Specified by:
- addFieldin interface- IDataSetWrapper
- Overrides:
- addFieldin class- DataSetWrapperBase<T extends DataSet>
- Parameters:
- currentField- current field, can be- null
- field- field, can't be- null
 
 - 
copyFieldpublic void copyField(DataSetField currentField, String parentPathNew) Description copied from interface:IDataSetWrapperCopy field- Specified by:
- copyFieldin interface- IDataSetWrapper
- Parameters:
- currentField- field, can't be- null
- parentPathNew- destination folder path or- null(empty) for root
 
 - 
removeFieldpublic void removeField(DataSetField field) Description copied from interface:IDataSetWrapperRemove field- Specified by:
- removeFieldin interface- IDataSetWrapper
- Parameters:
- field- field, can't be- null
 
 - 
setFieldNamepublic void setFieldName(DataSetField field, String name) Description copied from interface:IDataSetWrapperSet 'Field' property of field- Specified by:
- setFieldNamein interface- IDataSetWrapper
- Parameters:
- field- field, can't be- null
- name- value of 'Field' property
 
 - 
setFieldPathpublic void setFieldPath(DataSetField field, String path) Description copied from interface:IDataSetWrapperSet 'Data path' property of field- Specified by:
- setFieldPathin interface- IDataSetWrapper
- Parameters:
- field- field, can't be- null
- path- value of 'Data path' property, can't be- null
 
 - 
setFieldTitlepublic void setFieldTitle(DataSetField field, LocalString title) Description copied from interface:IDataSetWrapperSet 'Title' property of field- Specified by:
- setFieldTitlein interface- IDataSetWrapper
- Parameters:
- field- field, can't be null
- title- value of 'Title' property, can't be- null
 
 - 
getCurrentLanguageCodepublic String getCurrentLanguageCode() Description copied from interface:IDataSetWrapperGet current language code- Specified by:
- getCurrentLanguageCodein interface- IDataSetWrapper
- Returns:
- language code, never null
 
 - 
getCurrentAliaspublic int getCurrentAlias() Description copied from interface:IDataSetWrapperGets number of current alias- Specified by:
- getCurrentAliasin interface- IDataSetWrapper
- Returns:
- number of current alias
 
 - 
setFieldUseRestictionpublic void setFieldUseRestiction(DataSetField dataSetField, org.eclipse.emf.ecore.EStructuralFeature feature, boolean state) Description copied from interface:IDataSetWrapperSet field restiction- Specified by:
- setFieldUseRestictionin interface- IDataSetWrapper
- Parameters:
- dataSetField- field, can't be- null
- feature- feature of restriction, can't be- null
- state- state
 
 - 
setFieldAttrUseRestictionpublic void setFieldAttrUseRestiction(DataSetField dataSetField, org.eclipse.emf.ecore.EStructuralFeature feature, boolean state) Description copied from interface:IDataSetWrapperSet field attribute restiction- Specified by:
- setFieldAttrUseRestictionin interface- IDataSetWrapper
- Parameters:
- dataSetField- field, can't be- null
- feature- feature of attribute restriction, can't be- null
- state- state
 
 - 
notifyParentAddFieldprotected void notifyParentAddField(IDataSetFieldsWrapper fieldWrapper) Notify parent data set about field added- Parameters:
- fieldWrapper- field wrapper, can't be null
 
 - 
notifyParentSetFieldRestrictionprotected void notifyParentSetFieldRestriction(IDataSetFieldsWrapper fieldWrapper) Notify parent data set about restriction changed- Parameters:
- fieldWrapper- field wrapper, can't be null
 
 - 
notifyParentRemoveFieldRestrictionprotected void notifyParentRemoveFieldRestriction(IDataSetFieldsWrapper fieldWrapper) Notify parent data set about restriction removed- Parameters:
- fieldWrapper- field wrapper, can't be null
 
 
- 
 
-