3.1.2: 2012-07-31

net.sf.basedb.core.data
Class SoftwareData

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.SoftwareData
All Implemented Interfaces:
IdentifiableData, NameableData, OwnableData, RegisteredData, RemovableData, ShareableData, SubtypableData

public class SoftwareData
extends CommonData
implements RegisteredData, SubtypableData

This class holds information about a software.

Version:
2.0
Author:
enell
See Also:
Software, Developer documentation: Protocols, hardware and software
Last modified
$Date: 2011-10-21 13:15:41 +0200 (Fri, 21 Oct 2011) $
Hibernate: class
table="`Software`" lazy="true"

Field Summary
private  Date entryDate
           
static int MAX_VERSIONSTRING_LENGTH
           
private  ItemSubtypeData subtype
           
private  String versionString
           
 
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
 
Constructor Summary
SoftwareData()
           
 
Method Summary
 Date getEntryDate()
          Get the date this item was added to the database.
 ItemSubtypeData getItemSubtype()
          Get the subtype of the item.
 String getVersionString()
           
 void setEntryDate(Date entryDate)
           
 void setItemSubtype(ItemSubtypeData subtype)
          Set the subtype of the item.
 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

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 Detail

SoftwareData

public SoftwareData()
Method Detail

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)

3.1.2: 2012-07-31