Class HardwareData

All Implemented Interfaces:
AnnotatableData, IdentifiableData, LoggableData, NameableData, OwnableData, RegisteredData, RemovableData, ShareableData, SubtypableData

public class HardwareData
extends AnnotatedData
implements RegisteredData, SubtypableData
This class holds information about a Hardware.
Version:
2.0
Author:
enell
See Also:
Hardware, Developer documentation: Protocols, hardware and software
Last modified
$Date: 2013-10-15 14:11:28 +0200 (ti, 15 okt 2013) $
Hibernate: class
table="`Hardware`" lazy="true"
  • Field Details

    • entryDate

      private Date entryDate
    • subtype

      private ItemSubtypeData subtype
    • MAX_VERSIONSTRING_LENGTH

      public static final int MAX_VERSIONSTRING_LENGTH
      See Also:
      Constant Field Values
    • versionString

      private String versionString
  • Constructor Details

    • HardwareData

      public HardwareData()
  • Method Details

    • 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)
    • getItemSubtype

      public ItemSubtypeData getItemSubtype()
      Description copied from interface: SubtypableData
      Get the subtype of the item.
      Specified by:
      getItemSubtype in interface SubtypableData
    • setItemSubtype

      public void setItemSubtype​(ItemSubtypeData subtype)
      Description copied from interface: SubtypableData
      Set the subtype of the item.
      Specified by:
      setItemSubtype in interface SubtypableData
    • getVersionString

      public String getVersionString()
      Hibernate: property
      column="`version_string`" type="string" length="255" not-null="false"
    • setVersionString

      public void setVersionString​(String versionString)