public class HardwareData extends AnnotatedData implements RegisteredData, SubtypableData
Hardware
,
Developer documentation: Protocols, hardware and softwareModifier and Type | Field and Description |
---|---|
private java.util.Date |
entryDate |
static int |
MAX_VERSIONSTRING_LENGTH |
private ItemSubtypeData |
subtype |
private java.lang.String |
versionString |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
HardwareData() |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getEntryDate()
Get the date this item was added to the database.
|
ItemSubtypeData |
getItemSubtype()
Get the subtype of the item.
|
java.lang.String |
getVersionString() |
void |
setEntryDate(java.util.Date entryDate) |
void |
setItemSubtype(ItemSubtypeData subtype)
Set the subtype of the item.
|
void |
setVersionString(java.lang.String versionString) |
getAnnotations, getAnnotationSet, setAnnotations, setAnnotationSet
getDescription, getName, isRemoved, setDescription, setName, setRemoved
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
public static final int MAX_VERSIONSTRING_LENGTH
private java.lang.String versionString
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 java.lang.String getVersionString()
public void setVersionString(java.lang.String versionString)