public class PlateEventTypeData extends BasicData implements NameableData, RemovableData
PlateEventType
,
Developer documentation: Array LIMS (plates)Modifier and Type | Field and Description |
---|---|
private String |
description |
private String |
name |
private int |
ordinal |
private Set<PlateEventData> |
plateEvents |
private PlateTypeData |
plateType |
private ItemSubtypeData |
protocolType |
private Integer |
removedBy |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
PlateEventTypeData() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get the description for the item.
|
String |
getName()
Get the name of the item.
|
int |
getOrdinal()
The ordinal of this event type among all event types defined for the plate type.
|
(package private) Set<PlateEventData> |
getPlateEvents()
This is the inverse end.
|
PlateTypeData |
getPlateType()
The plate type this event type belongs to.
|
ItemSubtypeData |
getProtocolType()
The protocol type that events of this event type should pick their protocols from.
|
Integer |
getRemovedBy()
Get the ID of the user that removed this item.
|
void |
setDescription(String description)
Set the description for the item.
|
void |
setName(String name)
Set the name of the item.
|
void |
setOrdinal(int ordinal) |
(package private) void |
setPlateEvents(Set<PlateEventData> plateEvents) |
void |
setPlateType(PlateTypeData plateType) |
void |
setProtocolType(ItemSubtypeData protocolType) |
void |
setRemovedBy(Integer removedBy)
Set the ID of the user that removed this item or null
to restore the item.
|
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 PlateTypeData plateType
private int ordinal
private ItemSubtypeData protocolType
private Set<PlateEventData> plateEvents
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 PlateTypeData getPlateType()
PlateTypeData.getEventTypes()
public void setPlateType(PlateTypeData plateType)
public int getOrdinal()
public void setOrdinal(int ordinal)
public ItemSubtypeData getProtocolType()
public void setProtocolType(ItemSubtypeData protocolType)
Set<PlateEventData> getPlateEvents()
PlateEventData.getPlateEventType()
void setPlateEvents(Set<PlateEventData> plateEvents)