Package oshi.hardware.common
Class AbstractFirmware
- java.lang.Object
-
- oshi.hardware.common.AbstractFirmware
-
- All Implemented Interfaces:
java.io.Serializable
,Firmware
public abstract class AbstractFirmware extends java.lang.Object implements Firmware
Firmware data- Author:
- SchiTho1 [at] Securiton AG, widdis [at] gmail [dot] com
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractFirmware()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Get the firmware description.java.lang.String
getManufacturer()
Get the firmware manufacturer.java.lang.String
getName()
Get the firmware name.java.lang.String
getReleaseDate()
Get the firmware release date.java.lang.String
getVersion()
Get the firmware version.void
setDescription(java.lang.String description)
void
setManufacturer(java.lang.String manufacturer)
void
setName(java.lang.String name)
void
setReleaseDate(java.lang.String releaseDate)
void
setVersion(java.lang.String version)
-
-
-
Method Detail
-
getManufacturer
public java.lang.String getManufacturer()
Get the firmware manufacturer.- Specified by:
getManufacturer
in interfaceFirmware
- Returns:
- the manufacturer
-
getName
public java.lang.String getName()
Get the firmware name.
-
getDescription
public java.lang.String getDescription()
Get the firmware description.- Specified by:
getDescription
in interfaceFirmware
- Returns:
- the description
-
getVersion
public java.lang.String getVersion()
Get the firmware version.- Specified by:
getVersion
in interfaceFirmware
- Returns:
- the version
-
getReleaseDate
public java.lang.String getReleaseDate()
Get the firmware release date.- Specified by:
getReleaseDate
in interfaceFirmware
- Returns:
- The date in ISO 8601 YYYY-MM-DD format.
-
setManufacturer
public void setManufacturer(java.lang.String manufacturer)
- Parameters:
manufacturer
- The manufacturer to set.
-
setName
public void setName(java.lang.String name)
- Parameters:
name
- The name to set.
-
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description
- The description to set.
-
setVersion
public void setVersion(java.lang.String version)
- Parameters:
version
- The version to set.
-
setReleaseDate
public void setReleaseDate(java.lang.String releaseDate)
- Parameters:
releaseDate
- The releaseDate to set.
-
-