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.
-
Product()
-
-
getChanges()
- Returns a textual description of the changes since the last release of
the product.
-
getId()
- Returns the ID of the product in the XSA document.
-
getInfoURL()
- Returns the URL to the product home page.
-
getLastRelease()
- Returns the date when the product was last released.
-
getName()
- Returns the product name.
-
getVersion()
- Returns the current product version.
-
setChanges(String)
- Sets the textual description of the changes since the last release of
the product.
-
setId(String)
- Sets the product id.
-
setInfoURL(String)
- Sets the URL to the product home page.
-
setLastRelease(String)
- Sets the date when the product was last released.
-
setName(String)
- Sets the product name.
-
setVersion(String)
- Sets the current product version.
Product
public Product()
getName
public String getName()
- Returns the product name.
getId
public String getId()
- Returns the ID of the product in the XSA document.
getVersion
public String getVersion()
- Returns the current product version.
getLastRelease
public Date getLastRelease()
- Returns the date when the product was last released.
getInfoURL
public String getInfoURL()
- Returns the URL to the product home page.
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.
setName
protected void setName(String _name)
- Sets the product name.
setId
protected void setId(String _id)
- Sets the product id.
setVersion
protected void setVersion(String _version)
- Sets the current product version.
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.
setInfoURL
protected void setInfoURL(String _infoURL)
- Sets the URL to the product home page.
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