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 |
---|---|
List<AnnotationData> |
copyAnnotationLinks()
Copy the list of annotation links, see
Folder.copyAnnotationLinks() |
List<FolderData> |
copyChildFolders()
Copy the list of child folders, see
Folder.copyChildFolders() |
List<ImageData> |
copyImageLinks()
Copy the list of image links, see
Folder.copyImageLinks() |
List<ROIData> |
copyROILinks()
Copy the list of roi links, see
Folder.copyRoiLinks() |
String |
getDescription()
Get the description of the Folder
|
String |
getFolderPathString()
Returns the folder path as string
|
String |
getFolderPathString(char pathSeparator)
Returns the folder path as string using a custom path separator
|
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(String desc)
Set the description of the Folder
|
void |
setFolder(omero.model.Folder f)
Set the
Folder |
void |
setName(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
|
String |
toString()
Overridden to return the name of the class and the object id.
|
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, 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, timeOfEvent
public FolderData()
public FolderData(omero.model.Folder folder)
folder
- Back pointer to the Folder
model object. Mustn't be
null
.IllegalArgumentException
- If the object is null
.public String getName()
public void setName(String name)
name
- The namepublic String getDescription()
public void setDescription(String desc)
desc
- The descriptionpublic FolderData getParentFolder()
public void setParentFolder(omero.model.Folder parent)
parent
- The parent folderpublic void setFolder(omero.model.Folder f)
Folder
f
- The folderpublic int subfolderCount()
public int imageCount()
public int roiCount()
public List<FolderData> copyChildFolders()
Folder.copyChildFolders()
public List<AnnotationData> copyAnnotationLinks()
Folder.copyAnnotationLinks()
public List<ImageData> copyImageLinks()
Folder.copyImageLinks()
public List<ROIData> copyROILinks()
Folder.copyRoiLinks()
public String toString()
DataObject
toString
in class DataObject
Object.toString()
public String getFolderPathString()
public String getFolderPathString(char pathSeparator)
pathSeparator
- The path separator character
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.