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 Integer |
removedBy |
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.
|
Integer |
getRemovedBy()
Get the ID of the user that removed this item.
|
ItemSubtypeData |
getStorageType()
Get the subtype of storage location where plates of this type are usually stored.
|
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 |
setRemovedBy(Integer removedBy)
Set the ID of the user that removed this item or null
to restore the 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 Integer removedBy
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 Integer getRemovedBy()
RemovableData
getRemovedBy
in interface RemovableData
public void setRemovedBy(Integer removedBy)
RemovableData
setRemovedBy
in interface RemovableData
public 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)