Package com._1c.g5.v8.dt.dcs.dataset
Interface IDataSetWrapper
- 
- All Known Subinterfaces:
- IDataSetsWrapper
 - All Known Implementing Classes:
- DataSetsWrapperBase,- DataSetsWrapperObject,- DataSetsWrapperQuery,- DataSetsWrapperUnion,- DataSetWrapperBase
 
 public interface IDataSetWrapperWrapper for data set model object, provides uninform interface for query, object and union data sets with runtime information about fields (tree of fields, fields synonyms, fields restrictions).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classIDataSetWrapper.FieldRestrictionField restrictionstatic classIDataSetWrapper.FieldSynonymField synonym
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddField(DataSetField currentField, DataSetField field)Add fieldvoidcopyField(DataSetField field, String parentPathNew)Copy fieldDcsPathcreatePath(String path)Create path from stringDataSetFieldgetAncestorField(DataSetField field)Get ancestor for fieldList<DataSetField>getChildFields(DataSetField parentField)Get child fields or root fieldsintgetCurrentAlias()Gets number of current aliasStringgetCurrentLanguageCode()Get current language codeDataSetFieldgetField(String path)Get fieldStringgetFieldName(DataSetField field)Get 'Field' property of fieldStringgetFieldParentPath(DataSetField field)Get path of field parentStringgetFieldPath(DataSetField field)Get 'Data path' property of fieldIDataSetWrapper.FieldRestrictiongetFieldRestriction(String path)Get field restrictionCollection<IDataSetFieldsWrapper>getFieldsWrappers()Get fields wrappersIDataSetWrapper.FieldSynonymgetFieldSynonym(String path)Get field synonymvoidinit()InitializevoidmoveField(DataSetField field, String parentPathNew)Move fieldvoidremoveField(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 restiction
 
- 
- 
- 
Method Detail- 
initvoid init() Initialize
 - 
addFieldvoid addField(DataSetField currentField, DataSetField field) throws DcsPathException Add field- Parameters:
- currentField- current field, can be- null
- field- field, can't be- null
- Throws:
- DcsPathException
 
 - 
copyFieldvoid copyField(DataSetField field, String parentPathNew) Copy field- Parameters:
- field- field, can't be- null
- parentPathNew- destination folder path or- null(empty) for root
 
 - 
removeFieldvoid removeField(DataSetField field) Remove field- Parameters:
- field- field, can't be- null
 
 - 
moveFieldvoid moveField(DataSetField field, String parentPathNew) Move field- Parameters:
- field- field, can't be- null
- parentPathNew- destination folder path or- null(empty) for root
 
 - 
getFieldsWrappersCollection<IDataSetFieldsWrapper> getFieldsWrappers() Get fields wrappers- Returns:
- collection of fields wrappers, never null
 
 - 
getChildFieldsList<DataSetField> getChildFields(DataSetField parentField) Get child fields or root fields- Parameters:
- parentField- parent field, can't be- null
- Returns:
- list of fields, never null
 
 - 
getFieldNameString getFieldName(DataSetField field) Get 'Field' property of field- Parameters:
- field- field, can't be- null
- Returns:
- value of 'Field' property
  name from source, never null, empty for folder
 
 - 
setFieldNamevoid setFieldName(DataSetField field, String name) Set 'Field' property of field- Parameters:
- field- field, can't be- null
- name- value of 'Field' property
 
 - 
getFieldPathString getFieldPath(DataSetField field) Get 'Data path' property of field- Parameters:
- field- field, can't be- null
- Returns:
- value of 'Data path' property, never null
 
 - 
setFieldPathvoid setFieldPath(DataSetField field, String path) Set 'Data path' property of field- Parameters:
- field- field, can't be- null
- path- value of 'Data path' property, can't be- null
 
 - 
setFieldTitlevoid setFieldTitle(DataSetField field, LocalString title) Set 'Title' property of field- Parameters:
- field- field, can't be null
- title- value of 'Title' property, can't be- null
 
 - 
getFieldSynonymIDataSetWrapper.FieldSynonym getFieldSynonym(String path) Get field synonym- Parameters:
- path- path of field, can't be- null
- Returns:
- synonym or null
 
 - 
getFieldRestrictionIDataSetWrapper.FieldRestriction getFieldRestriction(String path) Get field restriction- Parameters:
- path- path of field, can't be- null
- Returns:
- restriction or null
 
 - 
getFieldDataSetField getField(String path) Get field- Parameters:
- path- field path, can't be- null
- Returns:
- field or nullif field not found
 
 - 
getAncestorFieldDataSetField getAncestorField(DataSetField field) Get ancestor for field- Parameters:
- field- field, can't be- null
- Returns:
- ancestor if exists or null
 
 - 
getCurrentLanguageCodeString getCurrentLanguageCode() Get current language code- Returns:
- language code, never null
 
 - 
getCurrentAliasint getCurrentAlias() Gets number of current alias- Returns:
- number of current alias
 
 - 
createPathDcsPath createPath(String path) throws IDataSetFieldsWrapper.FieldRenameException Create path from string- Parameters:
- path- string path, never- null
- Returns:
- DCS path, never null
- Throws:
- IDataSetFieldsWrapper.FieldRenameException- if path is not valid
 
 - 
getFieldParentPathString getFieldParentPath(DataSetField field) Get path of field parent- Parameters:
- field- field, can't be- null
- Returns:
- path of field parent, can be null
 
 - 
setFieldUseRestictionvoid setFieldUseRestiction(DataSetField field, org.eclipse.emf.ecore.EStructuralFeature feature, boolean state) Set field restiction- Parameters:
- field- field, can't be- null
- feature- feature of restriction, can't be- null
- state- state
 
 - 
setFieldAttrUseRestictionvoid setFieldAttrUseRestiction(DataSetField field, org.eclipse.emf.ecore.EStructuralFeature feature, boolean state) Set field attribute restiction- Parameters:
- field- field, can't be- null
- feature- feature of attribute restriction, can't be- null
- state- state
 
 
- 
 
-