public class PlateMappingData extends CommonData implements RegisteredData
PlateMapping
,
Developer documentation: Array LIMS (plates)Modifier and Type | Field and Description |
---|---|
private int |
destinationCount |
private PlateGeometryData |
destinationGeometry |
private Map<MappingCoordinate,MappingCoordinate> |
details |
private Date |
entryDate |
private String |
image |
static int |
MAX_IMAGE_LENGTH
The maximum length of the image name that can be stored in the database.
|
private int |
sourceCount |
private PlateGeometryData |
sourceGeometry |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
PlateMappingData() |
Modifier and Type | Method and Description |
---|---|
int |
getDestinationCount()
The produced number of destination plates.
|
PlateGeometryData |
getDestinationGeometry()
The required geometry of destination plates in this mapping.
|
Map<MappingCoordinate,MappingCoordinate> |
getDetails()
For each destination coordinate we can get the source coordinate.
|
Date |
getEntryDate()
Get the date this item was added to the database.
|
String |
getImage()
An optional name of a small image with a graphical representation of the mapping.
|
int |
getSourceCount()
The required number of source plates.
|
PlateGeometryData |
getSourceGeometry()
The required geometry of source plates in this mapping.
|
void |
setDestinationCount(int destinationCount) |
void |
setDestinationGeometry(PlateGeometryData destinationGeometry) |
(package private) void |
setDetails(Map<MappingCoordinate,MappingCoordinate> details) |
void |
setEntryDate(Date entryDate) |
void |
setImage(String image) |
void |
setSourceCount(int sourceCount) |
void |
setSourceGeometry(PlateGeometryData sourceGeometry) |
getDescription, getName, isRemoved, setDescription, setName, setRemoved
getItemKey, getProjectKey, setItemKey, setProjectKey
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
getOwner, setOwner
private Date entryDate
private PlateGeometryData sourceGeometry
private PlateGeometryData destinationGeometry
private int sourceCount
private int destinationCount
public static final int MAX_IMAGE_LENGTH
setImage(String)
,
Constant Field Valuesprivate String image
private Map<MappingCoordinate,MappingCoordinate> details
public Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public void setEntryDate(Date entryDate)
public PlateGeometryData getSourceGeometry()
public void setSourceGeometry(PlateGeometryData sourceGeometry)
public PlateGeometryData getDestinationGeometry()
public void setDestinationGeometry(PlateGeometryData destinationGeometry)
public int getSourceCount()
public void setSourceCount(int sourceCount)
public int getDestinationCount()
public void setDestinationCount(int destinationCount)
public String getImage()
public void setImage(String image)
public Map<MappingCoordinate,MappingCoordinate> getDetails()
hibernate-properties-PlateMappingData.xml
because we must supply different column names for the properties of
MappingCoordinate
objectes depending on if it is a destination
coordinate (map key) or source coordinate (map value), which is not
supported by XDoclet.
The structure of the mapping is:
hibernate.map table="`PlateMappingDetails`" lazy="true" cascade="delete"
hibernate.collection-key column="`platemapping_id`" type="int"
hibernate.collection-composite-index class="net.sf.basedb.core.data.MappingCoordinate"
hibernate.collection-composite-element class="net.sf.basedb.core.data.MappingCoordinate"void setDetails(Map<MappingCoordinate,MappingCoordinate> details)