public class BioPlateTypeData extends BasicData implements NameableData, RemovableData
BioPlateType
,
Developer documentation: Biomaterials LIMSModifier and Type | Field and Description |
---|---|
private Integer |
bioMaterialType |
private Set<BioPlateData> |
bioPlates |
private String |
description |
private int |
lockMode |
private String |
name |
private boolean |
removed |
private ItemSubtypeData |
storageType |
private ItemSubtypeData |
subtype |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
BioPlateTypeData() |
Modifier and Type | Method and Description |
---|---|
Integer |
getBioMaterialType()
If set, plates using this type can only hold the specific biomaterial
type (eg. samples, extracts or labeled extracts).
|
(package private) Set<BioPlateData> |
getBioPlates()
The bioplates that use this type.
|
String |
getDescription()
Get the description for the item.
|
ItemSubtypeData |
getItemSubtype()
Get the subtype of biomaterials that can be placed on plates of this type.
|
int |
getLockMode()
A flag indicating if plates with this type have locked wells or not.
0 = not locked; 1 = locked-after-move; 2 = locked-after-add; 3=locked-after-create
|
String |
getName()
Get the name of the item.
|
ItemSubtypeData |
getStorageType()
Get the subtype of storage location where plates of this type are usually stored.
|
boolean |
isRemoved()
Check if the removed flag is set for this item.
|
void |
setBioMaterialType(Integer bioMaterialType) |
(package private) void |
setBioPlates(Set<BioPlateData> bioPlates) |
void |
setDescription(String description)
Set the description for the item.
|
void |
setItemSubtype(ItemSubtypeData subtype) |
void |
setLockMode(int lockMode) |
void |
setName(String name)
Set the name of the item.
|
void |
setRemoved(boolean removed)
Set the removed flag for this item.
|
void |
setStorageType(ItemSubtypeData storageType) |
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
private String name
private String description
private boolean removed
private Integer bioMaterialType
private ItemSubtypeData subtype
private ItemSubtypeData storageType
private int lockMode
private Set<BioPlateData> bioPlates
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 Integer getBioMaterialType()
public void setBioMaterialType(Integer bioMaterialType)
public ItemSubtypeData getItemSubtype()
public void setItemSubtype(ItemSubtypeData subtype)
public ItemSubtypeData getStorageType()
public void setStorageType(ItemSubtypeData storageType)
public int getLockMode()
public void setLockMode(int lockMode)
Set<BioPlateData> getBioPlates()
BioPlateData.getBioPlateType()
void setBioPlates(Set<BioPlateData> bioPlates)