public class PlateEventTypeData extends BasicData implements NameableData, RemovableData
PlateEventType
,
Developer documentation: Array LIMS (plates)Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description |
private java.lang.String |
name |
private int |
ordinal |
private java.util.Set<PlateEventData> |
plateEvents |
private PlateTypeData |
plateType |
private ItemSubtypeData |
protocolType |
private java.lang.Integer |
removedBy |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
PlateEventTypeData() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the description for the item.
|
java.lang.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) java.util.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.
|
java.lang.Integer |
getRemovedBy()
Get the ID of the user that removed this item.
|
void |
setDescription(java.lang.String description)
Set the description for the item.
|
void |
setName(java.lang.String name)
Set the name of the item.
|
void |
setOrdinal(int ordinal) |
(package private) void |
setPlateEvents(java.util.Set<PlateEventData> plateEvents) |
void |
setPlateType(PlateTypeData plateType) |
void |
setProtocolType(ItemSubtypeData protocolType) |
void |
setRemovedBy(java.lang.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 java.lang.String name
private java.lang.String description
private java.lang.Integer removedBy
private PlateTypeData plateType
private int ordinal
private ItemSubtypeData protocolType
private java.util.Set<PlateEventData> plateEvents
public java.lang.String getName()
NameableData
getName
in interface NameableData
String
with the name of the itempublic void setName(java.lang.String name)
NameableData
MAX_NAME_LENGTH
constant.setName
in interface NameableData
name
- The new name for the itempublic java.lang.String getDescription()
NameableData
getDescription
in interface NameableData
String
with a description of the itempublic void setDescription(java.lang.String description)
NameableData
MAX_DESCRIPTION_LENGTH
constant.setDescription
in interface NameableData
description
- The new description for the itempublic java.lang.Integer getRemovedBy()
RemovableData
getRemovedBy
in interface RemovableData
public void setRemovedBy(java.lang.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)
java.util.Set<PlateEventData> getPlateEvents()
PlateEventData.getPlateEventType()
void setPlateEvents(java.util.Set<PlateEventData> plateEvents)