net.sf.basedb.core.data
Class HardwareData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.OwnedData
net.sf.basedb.core.data.SharedData
net.sf.basedb.core.data.CommonData
net.sf.basedb.core.data.HardwareData
- All Implemented Interfaces:
- IdentifiableData, NameableData, OwnableData, RegisteredData, RemovableData, ShareableData
public class HardwareData
- extends CommonData
- implements RegisteredData
This class holds information about a Hardware.
- Version:
- 2.0
- Author:
- enell
- See Also:
Hardware
,
Hardware and software overview- Last modified
- $Date: 2009-04-06 14:52:39 +0200 (Mon, 06 Apr 2009) $
- Hibernate: class
- table="`Hardware`" lazy="true"
entryDate
private Date entryDate
MAX_VERSIONSTRING_LENGTH
public static final int MAX_VERSIONSTRING_LENGTH
- See Also:
- Constant Field Values
hardwareType
private HardwareTypeData hardwareType
versionString
private String versionString
HardwareData
public HardwareData()
getEntryDate
public Date getEntryDate()
- Description copied from interface:
RegisteredData
- Get the date this item was added to the database. The value is
generated at creation time and can't be modified later.
- Specified by:
getEntryDate
in interface RegisteredData
setEntryDate
public void setEntryDate(Date entryDate)
getHardwareType
public HardwareTypeData getHardwareType()
- Hibernate: many-to-one
- column="`hardwaretype_id`" not-null="true" outer-join="false"
setHardwareType
public void setHardwareType(HardwareTypeData hardwareType)
getVersionString
public String getVersionString()
- Hibernate: property
- column="`version_string`" type="string" length="255" not-null="false"
setVersionString
public void setVersionString(String versionString)