Class DataSetsFieldsWrapperNested
java.lang.Object
com._1c.g5.v8.dt.dcs.dataset.fields.DataSetsFieldsWrapperBase<T>
com._1c.g5.v8.dt.dcs.dataset.fields.DataSetsFieldsWrapperWithChildrenBase<DataCompositionSchemaNestedDataSet>
com._1c.g5.v8.dt.dcs.dataset.fields.DataSetsFieldsWrapperNested
- All Implemented Interfaces:
IDataSetFieldsWrapper,Comparable<IDataSetFieldsWrapper>
public class DataSetsFieldsWrapperNested
extends DataSetsFieldsWrapperWithChildrenBase<DataCompositionSchemaNestedDataSet>
Wrapper for data set table
-
Nested Class Summary
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.dcs.dataset.fields.IDataSetFieldsWrapper
IDataSetFieldsWrapper.FieldCommand, IDataSetFieldsWrapper.FieldRenameException -
Field Summary
Fields inherited from class com._1c.g5.v8.dt.dcs.dataset.fields.DataSetsFieldsWrapperBase
dataSetWrapper, field -
Constructor Summary
ConstructorsConstructorDescriptionDataSetsFieldsWrapperNested(IDataSetWrapper dataSetWrapper, DataCompositionSchemaNestedDataSet field) Constructor -
Method Summary
Methods inherited from class com._1c.g5.v8.dt.dcs.dataset.fields.DataSetsFieldsWrapperWithChildrenBase
copy, setPath, setPathChildrenMethods inherited from class com._1c.g5.v8.dt.dcs.dataset.fields.DataSetsFieldsWrapperBase
compareTo, getCurrentLanguageCode, getDuplicatedErrorMessage, getField, getFieldByPath, getFieldsWrappers, getParentPath, getPathFromString, getSynonym, getTitle, isFolder, isNameUnique, isPathUnique, isStringEquals, setTitle, setTitle, startsWith, throwError
-
Constructor Details
-
DataSetsFieldsWrapperNested
public DataSetsFieldsWrapperNested(IDataSetWrapper dataSetWrapper, DataCompositionSchemaNestedDataSet field) Constructor- Parameters:
dataSetWrapper- data set wrapper, can't be nullfield- field, can't be null
-
-
Method Details
-
getName
Description copied from interface:IDataSetFieldsWrapperGet name (field in viewer)- Returns:
- name, never null, empty for folder
-
setName
public IDataSetFieldsWrapper.FieldCommand setName(String nameNew, boolean checkUnique) throws IDataSetFieldsWrapper.FieldRenameException Description copied from interface:IDataSetFieldsWrapperSet name (field in viewer)- Parameters:
nameNew- name, can't be nullcheckUnique- check whether name is unique- Returns:
- command, never null
- Throws:
IDataSetFieldsWrapper.FieldRenameException- if checkUnique true and name is not unique
-
getPath
Description copied from interface:IDataSetFieldsWrapperGet data path- Returns:
- path, never null
-
isTitleAuto
public boolean isTitleAuto()Description copied from interface:IDataSetFieldsWrapperCheck whether title is autogenerated- Returns:
- whether title is autogenerated
-
getTitle
Description copied from interface:IDataSetFieldsWrapperGet title- Returns:
- title, never null
-
setTitle
Description copied from interface:IDataSetFieldsWrapperSet title- Parameters:
title- title, can't be null- Returns:
- command, never null
-
remove
public IDataSetFieldsWrapper.FieldCommand remove() throws IDataSetFieldsWrapper.FieldRenameExceptionDescription copied from interface:IDataSetFieldsWrapperRemove field- Returns:
- command, never null
- Throws:
IDataSetFieldsWrapper.FieldRenameException- if after removing name of some child field won't be unique
-