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 boolean |
removed |
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.
|
boolean |
isRemoved()
Check if the removed flag is set for 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 |
setRemoved(boolean removed)
Set the removed flag for this 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 boolean removed
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 boolean isRemoved()
RemovableData
isRemoved
in interface RemovableData
public void setRemoved(boolean removed)
RemovableData
setRemoved
in interface RemovableData
removed
- TRUE if the item should be flagged as removed,
FALSE otherwisepublic 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)