net.sf.basedb.core.data
Class BioMaterialListData
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.BioMaterialListData
- All Implemented Interfaces:
- IdentifiableData, NameableData, OwnableData, RemovableData, ShareableData
public class BioMaterialListData
- extends CommonData
This represents an arbitrary collection of biomaterials.
- Version:
- 2.10
- Author:
- Nicklas
- See Also:
BioMaterialList
,
Biomaterials overview- Last modified
- $Date: 2009-04-06 14:52:39 +0200 (Mon, 06 Apr 2009) $
- Hibernate: class
- table="`BioMaterialLists`" lazy="false"
MAX_EXTERNAL_ID_LENGTH
public static final int MAX_EXTERNAL_ID_LENGTH
- The maximum length of the external ID that can be stored in the database.
- See Also:
setExternalId(String)
,
Constant Field Values
externalId
private String externalId
memberType
private int memberType
size
private int size
bioMaterials
private Set<BioMaterialData> bioMaterials
BioMaterialListData
public BioMaterialListData()
getExternalId
public String getExternalId()
- Get the external id for this
ReporterList
item.
- Hibernate: property
- column="`external_id`" type="string" length="255" not-null="false"
setExternalId
public void setExternalId(String externalId)
getMemberType
public int getMemberType()
- Get the type of (biomaterial) items this list can hold. Not possible to change
after creation.
- Hibernate: property
- column="`member_type`" type="int" not-null="true" update="false"
setMemberType
public void setMemberType(int memberType)
getSize
public int getSize()
- The number of biomaterials in the list.
- Hibernate: property
- column="`size`" type="int" not-null="true"
setSize
public void setSize(int size)
getBioMaterials
public Set<BioMaterialData> getBioMaterials()
- Get the set that manages which biomaterials are part of this list.
- Hibernate: set
- table="`BioMaterialListMembers`" lazy="true"
- Hibernate: collection-key
- column="`list_id`"
- Hibernate: collection-many-to-many
- column="`biomaterial_id`" class="net.sf.basedb.core.data.BioMaterialData"
setBioMaterials
void setBioMaterials(Set<BioMaterialData> bioMaterials)