public class KitData extends AnnotatedData implements RegisteredData, SubtypableData
Kit
Modifier and Type | Field and Description |
---|---|
private Date |
entryDate |
private Date |
expirationDate |
private boolean |
inactive |
private ItemSubtypeData |
subtype |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
KitData() |
Modifier and Type | Method and Description |
---|---|
Date |
getEntryDate()
Get the date this item was added to the database.
|
Date |
getExpirationDate()
Get expiration date for the kit.
|
ItemSubtypeData |
getItemSubtype()
Get the subtype of the item.
|
boolean |
isInactive()
A flag indicating if this kit is no longer active.
|
void |
setEntryDate(Date entryDate) |
void |
setExpirationDate(Date expirationDate) |
void |
setInactive(boolean inactive) |
void |
setItemSubtype(ItemSubtypeData subtype)
Set the subtype of the item.
|
getAnnotations, getAnnotationSet, setAnnotations, setAnnotationSet
getDescription, getName, getRemovedBy, setDescription, setName, setRemovedBy
getItemKey, getProjectKey, setItemKey, setProjectKey
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
getOwner, setOwner
private Date entryDate
private ItemSubtypeData subtype
private boolean inactive
private Date expirationDate
public Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public void setEntryDate(Date entryDate)
public ItemSubtypeData getItemSubtype()
SubtypableData
getItemSubtype
in interface SubtypableData
public void setItemSubtype(ItemSubtypeData subtype)
SubtypableData
setItemSubtype
in interface SubtypableData
public boolean isInactive()
public void setInactive(boolean inactive)
public Date getExpirationDate()
public void setExpirationDate(Date expirationDate)