All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class XSA.Product

java.lang.Object
   |
   +----XSA.Product

public class Product
extends Object
implements Serializable
This class represents and encapsulates information about software products and can be queried for information.


Constructor Index

 o Product()

Method Index

 o getChanges()
Returns a textual description of the changes since the last release of the product.
 o getId()
Returns the ID of the product in the XSA document.
 o getInfoURL()
Returns the URL to the product home page.
 o getLastRelease()
Returns the date when the product was last released.
 o getName()
Returns the product name.
 o getVersion()
Returns the current product version.
 o setChanges(String)
Sets the textual description of the changes since the last release of the product.
 o setId(String)
Sets the product id.
 o setInfoURL(String)
Sets the URL to the product home page.
 o setLastRelease(String)
Sets the date when the product was last released.
 o setName(String)
Sets the product name.
 o setVersion(String)
Sets the current product version.

Constructors

 o Product
 public Product()

Methods

 o getName
 public String getName()
Returns the product name.

 o getId
 public String getId()
Returns the ID of the product in the XSA document.

 o getVersion
 public String getVersion()
Returns the current product version.

 o getLastRelease
 public Date getLastRelease()
Returns the date when the product was last released.

 o getInfoURL
 public String getInfoURL()
Returns the URL to the product home page.

 o getChanges
 public String getChanges()
Returns a textual description of the changes since the last release of the product.

Returns:
Will return null if the changes element was not present.
 o setName
 protected void setName(String _name)
Sets the product name.

 o setId
 protected void setId(String _id)
Sets the product id.

 o setVersion
 protected void setVersion(String _version)
Sets the current product version.

 o setLastRelease
 protected void setLastRelease(String _lastRelease) throws XSAInvalidValueException
Sets the date when the product was last released.

Parameters:
_lastRelease - Must be in YYYYMMDD format.
Throws: XSAInvalidValueException
Thrown if the date value is not accepted.
 o setInfoURL
 protected void setInfoURL(String _infoURL)
Sets the URL to the product home page.

 o setChanges
 protected void setChanges(String _changes)
Sets the textual description of the changes since the last release of the product.


All Packages  Class Hierarchy  This Package  Previous  Next  Index