public abstract class BioMaterialData extends AnnotatedData implements SubtypableData
BioMaterial
,
Developer documentation: Biomaterials LIMSModifier and Type | Field and Description |
---|---|
private Set<BioMaterialEventSourceData> |
childCreationEvents |
private Set<MeasuredBioMaterialData> |
children |
private String |
externalId |
private Set<BioMaterialListData> |
lists |
static int |
MAX_EXTERNAL_ID_LENGTH
The maximum length of the external id that can be stored in the database.
|
private ItemSubtypeData |
subtype |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
BioMaterialData() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
It may happen that lazy-loaded proxies are put in the same collection as
already loaded "real" objects in which case the BasicData.equals() method
doesns't work.
|
(package private) Set<BioMaterialListData> |
getBioMaterialLists()
This is the inverse end.
|
(package private) Set<BioMaterialEventSourceData> |
getChildCreationEvents()
This is the inverse end.
|
(package private) Set<MeasuredBioMaterialData> |
getChildren()
This is the inverse end.
|
String |
getExternalId()
Get the external id for the biomaterial
|
ItemSubtypeData |
getItemSubtype()
Get the subtype of the item.
|
(package private) void |
setBioMaterialLists(Set<BioMaterialListData> lists) |
(package private) void |
setChildCreationEvents(Set<BioMaterialEventSourceData> childCreationEvents) |
(package private) void |
setChildren(Set<MeasuredBioMaterialData> children) |
void |
setExternalId(String externalId) |
void |
setItemSubtype(ItemSubtypeData subtype)
Set the subtype of the item.
|
getAnnotations, getAnnotationSet, setAnnotations, setAnnotationSet
getDescription, getName, isRemoved, setDescription, setName, setRemoved
getItemKey, getProjectKey, setItemKey, setProjectKey
getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
getOwner, setOwner
private ItemSubtypeData subtype
public static final int MAX_EXTERNAL_ID_LENGTH
setExternalId(String)
,
Constant Field Valuesprivate String externalId
private Set<MeasuredBioMaterialData> children
private Set<BioMaterialListData> lists
private Set<BioMaterialEventSourceData> childCreationEvents
public boolean equals(Object other)
public ItemSubtypeData getItemSubtype()
SubtypableData
getItemSubtype
in interface SubtypableData
public void setItemSubtype(ItemSubtypeData subtype)
SubtypableData
setItemSubtype
in interface SubtypableData
public String getExternalId()
public void setExternalId(String externalId)
Set<MeasuredBioMaterialData> getChildren()
MeasuredBioMaterialData.getParent()
void setChildren(Set<MeasuredBioMaterialData> children)
Set<BioMaterialListData> getBioMaterialLists()
BioMaterialListData.getBioMaterials()
void setBioMaterialLists(Set<BioMaterialListData> lists)
Set<BioMaterialEventSourceData> getChildCreationEvents()
BioMaterialEventSourceData.getBioMaterial()
void setChildCreationEvents(Set<BioMaterialEventSourceData> childCreationEvents)