Interface IDataSetFieldsWrapper
- 
- All Superinterfaces:
- Comparable<IDataSetFieldsWrapper>
 - All Known Implementing Classes:
- DataSetsFieldsWrapperBase,- DataSetsFieldsWrapperField,- DataSetsFieldsWrapperFolder,- DataSetsFieldsWrapperNested,- DataSetsFieldsWrapperWithChildrenBase
 
 public interface IDataSetFieldsWrapper extends Comparable<IDataSetFieldsWrapper> Wrapper for field model object, provides uninform interface for field, folder and table. For folder and table wrapper operations like rename and remove affect "child" fields.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classIDataSetFieldsWrapper.FieldCommandCommand for field (wrapper for CompoundCommand)static classIDataSetFieldsWrapper.FieldRenameExceptionException of field renaming
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description IDataSetFieldsWrapper.FieldCommandcopy(String parentPath, String name)Copy fieldDataSetFieldgetField()Get fieldStringgetName()Get name (field in viewer)StringgetPath()Get data pathPresentationgetTitle()Get titleStringgetTitle(String languageCode)Get title for current languagebooleanisFolder()Check whether field is folderbooleanisTitleAuto()Check whether title is autogeneratedIDataSetFieldsWrapper.FieldCommandremove()Remove fieldIDataSetFieldsWrapper.FieldCommandsetName(String name, boolean checkUnique)Set name (field in viewer)IDataSetFieldsWrapper.FieldCommandsetPath(String path, boolean checkUnique)Set data pathIDataSetFieldsWrapper.FieldCommandsetTitle(LocalString title)Set titleIDataSetFieldsWrapper.FieldCommandsetTitle(Presentation title)Set title- 
Methods inherited from interface java.lang.ComparablecompareTo
 
- 
 
- 
- 
- 
Method Detail- 
getFieldDataSetField getField() Get field- Returns:
- field, never null
 
 - 
getNameString getName() Get name (field in viewer)- Returns:
- name, never null, empty for folder
 
 - 
setNameIDataSetFieldsWrapper.FieldCommand setName(String name, boolean checkUnique) throws IDataSetFieldsWrapper.FieldRenameException Set name (field in viewer)- Parameters:
- name- name, can't be null
- checkUnique- check whether name is unique
- Returns:
- command, never null
- Throws:
- IDataSetFieldsWrapper.FieldRenameException- if checkUnique true and name is not unique
 
 - 
getPathString getPath() Get data path- Returns:
- path, never null
 
 - 
setPathIDataSetFieldsWrapper.FieldCommand setPath(String path, boolean checkUnique) throws IDataSetFieldsWrapper.FieldRenameException Set data path- Parameters:
- path- path, can't be null
- checkUnique- check whether path is unique
- Returns:
- command, never null
- Throws:
- IDataSetFieldsWrapper.FieldRenameException- if checkUnique true and path is not unique
 
 - 
isTitleAutoboolean isTitleAuto() Check whether title is autogenerated- Returns:
- whether title is autogenerated
 
 - 
getTitlePresentation getTitle() Get title- Returns:
- title, never null
 
 - 
getTitleString getTitle(String languageCode) Get title for current language- Returns:
- title, never null
 
 - 
setTitleIDataSetFieldsWrapper.FieldCommand setTitle(LocalString title) Set title- Parameters:
- title- title, can't be null
- Returns:
- command, never null
 
 - 
setTitleIDataSetFieldsWrapper.FieldCommand setTitle(Presentation title) Set title- Parameters:
- title- title, can't be null
- Returns:
- command, never null
 
 - 
isFolderboolean isFolder() Check whether field is folder- Returns:
- whether field is folder
 
 - 
copyIDataSetFieldsWrapper.FieldCommand copy(String parentPath, String name) Copy field- Parameters:
- parentPath- parent path for copy, can't be null
- name- name for copy, can't be null
- Returns:
- command, never null
 
 - 
removeIDataSetFieldsWrapper.FieldCommand remove() throws IDataSetFieldsWrapper.FieldRenameException Remove field- Returns:
- command, never null
- Throws:
- IDataSetFieldsWrapper.FieldRenameException- if after removing name of some child field won't be unique
 
 
- 
 
-