com.ibm.datapower.wamt.dataAPI
Interface StoredFirmwareVersion

All Superinterfaces:
Persistable, StoredVersion
All Known Implementing Classes:
StoredFirmwareVersionImpl

public interface StoredFirmwareVersion
extends StoredVersion

The information that must be maintained and persisted for a firmware level, See FirmwareVersion. StoredFirmwareVersions can be deployed to managed or unmanaged devices. A FirmwareVersion can be deployed to all device members that belong to a ManagedSet.

When creating a StoredFirmwareVersion that has a Blob, please read the Blob class javadoc about verifying the contents are not in a byte array via Blob.hasBytes().


Field Summary
static java.lang.String COPYRIGHT_2009_2010
           
static java.lang.String SCM_REVISION
           
 
Method Summary
 StoredFirmware getFirmware()
          Gets the StoredFirmware Object that contains this StoredFirmwareVersion.
 java.lang.String getLevel()
          Gets the version level of this firmware.
 java.util.Date getManufactureDate()
          Gets the manufacture date of this firmware.
 java.lang.String getPrimaryKey()
          Returns the Unique identifier for this StoredFirmwareVersion.
 
Methods inherited from interface com.ibm.datapower.wamt.dataAPI.StoredVersion
delete, getBlob, getTimestamp, getUserComment, getVersionedObject, getVersionNumber, setUserComment
 

Field Detail

COPYRIGHT_2009_2010

static final java.lang.String COPYRIGHT_2009_2010
See Also:
Constant Field Values

SCM_REVISION

static final java.lang.String SCM_REVISION
See Also:
Constant Field Values
Method Detail

getLevel

java.lang.String getLevel()
Gets the version level of this firmware. This value is embedded in the firmware image, so there is no setLevel(String) method. It will be automatically populated in this object by the setImage method. This is invoked by FirmwareVersion.getLevel()

Note: The Local File System implementation persists the level an an attribute on this version element in the WAMT.repository.xml

Returns:
the firmware version level, for example 3.5.1.12.

getManufactureDate

java.util.Date getManufactureDate()
Gets the manufacture date of this firmware. This value is embedded in the firmware image, so there is no setManufactureDate(Date) method. It will be automatically populated in this object by the setImage method. This is invoked by FirmwareVersion.getManufactureDate()

Note: The Local File System implementation persists date of manufacture an an attribute on this version element in the WAMT.repository.xml

Returns:
the date of manufacture of this firmware image

getFirmware

StoredFirmware getFirmware()
Gets the StoredFirmware Object that contains this StoredFirmwareVersion. This is invoked by FirmwareVersion.getFirmware()

Returns:
he StoredFirmware Object that contains this StoredFirmwareVersion

getPrimaryKey

java.lang.String getPrimaryKey()
Returns the Unique identifier for this StoredFirmwareVersion. There is no setPrimaryKey exposed since it is managed by the dataAPI implementation. This is invoked by FirmwareVersion.getPrimaryKey()

Note: The Local File System implementation combines the unique identifier of the containing firmware with the firmware level to generate the unique identifier of this object.

Specified by:
getPrimaryKey in interface Persistable
Returns:
the unique identifier for this object


© Copyright IBM Corp. 2006, 2010 All Rights Reserved.