public class FolderData extends DataObject
| Constructor and Description | 
|---|
| FolderData()Creates a new instance. | 
| FolderData(omero.model.Folder folder)Creates a new instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<AnnotationData> | copyAnnotationLinks()Copy the list of annotation links, see
  Folder.copyAnnotationLinks() | 
| java.util.List<FolderData> | copyChildFolders()Copy the list of child folders, see  Folder.copyChildFolders() | 
| java.util.List<ImageData> | copyImageLinks()Copy the list of image links, see  Folder.copyImageLinks() | 
| java.util.List<ROIData> | copyROILinks()Copy the list of roi links, see  Folder.copyRoiLinks() | 
| java.lang.String | getDescription()Get the description of the Folder | 
| java.lang.String | getFolderPathString()Returns the folder path as string | 
| java.lang.String | getFolderPathString(char pathSeparator)Returns the folder path as string using a custom path separator | 
| java.lang.String | getName()Get the name of the Folder | 
| FolderData | getParentFolder()Get the the parent folder | 
| int | imageCount()Get the number of images linked to this folder | 
| int | roiCount()Get the number of ROIs linked to this folder | 
| void | setDescription(java.lang.String desc)Set the description of the Folder | 
| void | setFolder(omero.model.Folder f)Set the  Folder | 
| void | setName(java.lang.String name)Set the name of the Folder | 
| void | setParentFolder(omero.model.Folder parent)Set the the parent folder | 
| int | subfolderCount()Get the number of sub folders | 
| java.lang.String | toString()Overridden to return the name of the class and the object id. | 
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlaneInfo, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getDetails, getGroupId, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEventpublic FolderData()
public FolderData(omero.model.Folder folder)
folder - Back pointer to the Folder model object. Mustn't be
            null.java.lang.IllegalArgumentException - If the object is null.public java.lang.String getName()
public void setName(java.lang.String name)
name - The namepublic java.lang.String getDescription()
public void setDescription(java.lang.String desc)
desc - The descriptionpublic FolderData getParentFolder()
public void setParentFolder(omero.model.Folder parent)
parent - The parent folderpublic void setFolder(omero.model.Folder f)
Folderf - The folderpublic int subfolderCount()
public int imageCount()
public int roiCount()
public java.util.List<FolderData> copyChildFolders()
Folder.copyChildFolders()public java.util.List<AnnotationData> copyAnnotationLinks()
Folder.copyAnnotationLinks()public java.util.List<ImageData> copyImageLinks()
Folder.copyImageLinks()public java.util.List<ROIData> copyROILinks()
Folder.copyRoiLinks()public java.lang.String toString()
DataObjecttoString in class DataObjectObject.toString()public java.lang.String getFolderPathString()
public java.lang.String getFolderPathString(char pathSeparator)
pathSeparator - The path separator character