|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.core.data.BasicData net.sf.basedb.core.data.ImageData
public class ImageData
This class holds information about an image produced by scanning a hybridization.
Image
,
Hybridzations and raw data overviewField Summary | |
---|---|
private String |
description
|
private FileData |
file
|
private int |
format
|
private String |
name
|
private boolean |
preview
|
private boolean |
removed
|
private ScanData |
scan
|
Fields inherited from interface net.sf.basedb.core.data.NameableData |
---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
Constructor Summary | |
---|---|
ImageData()
|
Method Summary | |
---|---|
String |
getDescription()
Get the description for the item. |
FileData |
getFile()
Get the file that is attached to the item. |
int |
getFormat()
Get the format of the file. 0 = unknown, 1 = TIFF, 2 = JPEG |
String |
getName()
Get the name of the item. |
ScanData |
getScan()
Get the scan that produced this image. |
boolean |
isPreview()
A boolean value indicating if this image is a preview image or the full-sized image. |
boolean |
isRemoved()
Check if the removed flag is set for this item. |
void |
setDescription(String description)
Set the description for the item. |
void |
setFile(FileData file)
Attach a file to the item. |
void |
setFormat(int format)
|
void |
setName(String name)
Set the name of the item. |
void |
setPreview(boolean preview)
|
void |
setRemoved(boolean removed)
Set the removed flag for this item. |
void |
setScan(ScanData scan)
|
Methods inherited from class net.sf.basedb.core.data.BasicData |
---|
equals, getId, getVersion, hashCode, setId, setVersion, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData |
---|
getId, getVersion |
Field Detail |
---|
private String name
private String description
private boolean removed
private FileData file
private ScanData scan
private int format
private boolean preview
Constructor Detail |
---|
public ImageData()
Method Detail |
---|
public String getName()
NameableData
getName
in interface NameableData
String
with the name of the itempublic void setName(String name)
NameableData
MAX_NAME_LENGTH
constant.
setName
in interface NameableData
name
- The new name for the itempublic String getDescription()
NameableData
getDescription
in interface NameableData
String
with a description of the itempublic void setDescription(String description)
NameableData
MAX_DESCRIPTION_LENGTH
constant.
setDescription
in interface NameableData
description
- The new description for the itempublic boolean isRemoved()
RemovableData
isRemoved
in interface RemovableData
public void setRemoved(boolean removed)
RemovableData
setRemoved
in interface RemovableData
removed
- TRUE if the item should be flagged as removed,
FALSE otherwisepublic FileData getFile()
FileAttachableData
getFile
in interface FileAttachableData
FileData
object or null if no file is attachedpublic void setFile(FileData file)
FileAttachableData
setFile
in interface FileAttachableData
public ScanData getScan()
public void setScan(ScanData scan)
public int getFormat()
public void setFormat(int format)
public boolean isPreview()
public void setPreview(boolean preview)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |