public class KitData extends AnnotatedData implements RegisteredData, SubtypableData
Kit
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
entryDate |
private java.util.Date |
expirationDate |
private boolean |
inactive |
private ItemSubtypeData |
subtype |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
KitData() |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getEntryDate()
Get the date this item was added to the database.
|
java.util.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(java.util.Date entryDate) |
void |
setExpirationDate(java.util.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 java.util.Date entryDate
private ItemSubtypeData subtype
private boolean inactive
private java.util.Date expirationDate
public java.util.Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public void setEntryDate(java.util.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 java.util.Date getExpirationDate()
public void setExpirationDate(java.util.Date expirationDate)