|
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.OwnedData net.sf.basedb.core.data.SharedData net.sf.basedb.core.data.CommonData net.sf.basedb.core.data.PlateMappingData
public class PlateMappingData
This class holds information about a plate mapping.
PlateMapping
,
Array LIMS - Plates overviewField Summary | |
---|---|
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
|
Fields inherited from interface net.sf.basedb.core.data.NameableData |
---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
Constructor Summary | |
---|---|
PlateMappingData()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class net.sf.basedb.core.data.CommonData |
---|
getDescription, getName, isRemoved, setDescription, setName, setRemoved |
Methods inherited from class net.sf.basedb.core.data.SharedData |
---|
getItemKey, getProjectKey, setItemKey, setProjectKey |
Methods inherited from class net.sf.basedb.core.data.OwnedData |
---|
getOwner, setOwner |
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 |
Methods inherited from interface net.sf.basedb.core.data.OwnableData |
---|
getOwner, setOwner |
Field Detail |
---|
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
Constructor Detail |
---|
public PlateMappingData()
Method Detail |
---|
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)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |