2.9.0: 2008-11-26

net.sf.basedb.core.data
Class HardwareData

java.lang.Object
  extended by net.sf.basedb.core.data.BasicData
      extended by net.sf.basedb.core.data.OwnedData
          extended by net.sf.basedb.core.data.SharedData
              extended by net.sf.basedb.core.data.CommonData
                  extended by net.sf.basedb.core.data.HardwareData
All Implemented Interfaces:
IdentifiableData, NameableData, OwnableData, RemovableData, ShareableData

public class HardwareData
extends CommonData

This class holds information about a Hardware.

Version:
2.0
Author:
enell
See Also:
Hardware, Hardware and software overview
Last modified
$Date: 2008-09-11 22:11:02 +0200 (Thu, 11 Sep 2008) $
Hibernate: class
table="`Hardware`" lazy="true"

Field Summary
private  HardwareTypeData hardwareType
           
static int MAX_VERSIONSTRING_LENGTH
           
private  String versionString
           
 
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
 
Constructor Summary
HardwareData()
           
 
Method Summary
 HardwareTypeData getHardwareType()
           
 String getVersionString()
           
 void setHardwareType(HardwareTypeData hardwareType)
           
 void setVersionString(String versionString)
           
 
Methods inherited from class net.sf.basedb.core.data.CommonData
getDescription, getName, isRemoved, setDescription, setName, setRemoved
 
Methods inherited from class net.sf.basedb.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
 
Methods inherited from class net.sf.basedb.core.data.OwnedData
getOwner, setOwner
 
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData
getId, getVersion
 
Methods inherited from interface net.sf.basedb.core.data.OwnableData
getOwner, setOwner
 

Field Detail

MAX_VERSIONSTRING_LENGTH

public static final int MAX_VERSIONSTRING_LENGTH
See Also:
Constant Field Values

hardwareType

private HardwareTypeData hardwareType

versionString

private String versionString
Constructor Detail

HardwareData

public HardwareData()
Method Detail

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)

2.9.0: 2008-11-26