edu.jhu.tmaj.client.importer.images.data
Class ArrayImageU
java.lang.Object
edu.jhu.tmaj.client.importer.images.data.ArrayImageU
- All Implemented Interfaces:
- java.io.Serializable
public final class ArrayImageU
- extends java.lang.Object
- implements java.io.Serializable
Represents an ArrayImage that is going to be updated or inserted into the database.
About ArrayImages:
An ArrayImage is a spot on an ArraySlide. An ArrayImage is the intersection of x,y and z on an
ArrayBlock. The ArrayCore represents the X and Y, where as the ArraySlideID contains the Z.
Thus, given an ArrayCore and a Scan of an ArraySlide, you can uniquely identify an ArrayImage.
The database doesn't not physically store the Image, but rather stores a link to it that is
created based on the DirectoryName and FileName fields.
- See Also:
- Serialized Form
Constructor Summary |
ArrayImageU(java.lang.String directoryName,
java.lang.String fileName,
int arrayCoreID,
int scanID)
|
Method Summary |
void |
add(int userID)
Puts this ArrayImage in the Database, either with an INSERT or UPDATE. |
java.lang.String |
getFileName()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ArrayImageU
public ArrayImageU(java.lang.String directoryName,
java.lang.String fileName,
int arrayCoreID,
int scanID)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
add
public void add(int userID)
throws java.sql.SQLException
- Puts this ArrayImage in the Database, either with an INSERT or UPDATE.
- Throws:
java.sql.SQLException
getFileName
public java.lang.String getFileName()