Class DataSetsFieldsWrapperWithChildrenBase<T extends DataSetField>
java.lang.Object
com._1c.g5.v8.dt.dcs.dataset.fields.DataSetsFieldsWrapperBase<T>
com._1c.g5.v8.dt.dcs.dataset.fields.DataSetsFieldsWrapperWithChildrenBase<T>
- All Implemented Interfaces:
IDataSetFieldsWrapper,Comparable<IDataSetFieldsWrapper>
- Direct Known Subclasses:
DataSetsFieldsWrapperFolder,DataSetsFieldsWrapperNested
public abstract class DataSetsFieldsWrapperWithChildrenBase<T extends DataSetField>
extends DataSetsFieldsWrapperBase<T>
Base class for DataSetsFieldsWrapperFolder and DataSetsFieldsWrapperNested
-
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
ConstructorsConstructorDescriptionDataSetsFieldsWrapperWithChildrenBase(IDataSetWrapper dataSetWrapper, T field) Constructor -
Method Summary
Modifier and TypeMethodDescriptionCopy fieldSet data pathprotected IDataSetFieldsWrapper.FieldCommandsetPathChildren(String pathNew) Set path of child fieldsMethods 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, throwErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com._1c.g5.v8.dt.dcs.dataset.fields.IDataSetFieldsWrapper
getName, getPath, getTitle, isTitleAuto, remove, setName, setTitle
-
Constructor Details
-
DataSetsFieldsWrapperWithChildrenBase
Constructor- Parameters:
dataSetWrapper- data set wrapper, can't be nullfield- field, can't be null
-
-
Method Details
-
setPath
public IDataSetFieldsWrapper.FieldCommand setPath(String pathNew, boolean checkUnique) throws IDataSetFieldsWrapper.FieldRenameException Description copied from interface:IDataSetFieldsWrapperSet data path- Parameters:
pathNew- path, can't be nullcheckUnique- check whether path is unique- Returns:
- command, never null
- Throws:
IDataSetFieldsWrapper.FieldRenameException- if checkUnique true and path is not unique
-
copy
Description copied from interface:IDataSetFieldsWrapperCopy field- Parameters:
parentPath- parent path for copy, can't be nullname- name for copy, can't be null- Returns:
- command, never null
-
setPathChildren
protected IDataSetFieldsWrapper.FieldCommand setPathChildren(String pathNew) throws IDataSetFieldsWrapper.FieldRenameException Set path of child fields- Parameters:
pathNew- changed path of this field, can't be null- Returns:
- command, never null
- Throws:
IDataSetFieldsWrapper.FieldRenameException- if fields duplicate
-