All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class XSA.Vendor

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

public class Vendor
extends Object
implements Serializable
This class represents a software vendor and encapsulates information about said vendor.


Constructor Index

 o Vendor(String)
Creates an empty vendor object.

Method Index

 o addProduct(Product)
Adds a product to this vendors list of products.
 o getEmail()
Returns the email address of the vendor.
 o getHomepage()
Returns the URL of the vendors home page.
 o getName()
Returns the name of the vendor.
 o getProducts()
Returns the products registered on this vendor.
 o getURL()
Returns the URL of the vendors XSA document.
 o setEmail(String)
Sets the email address of the vendor.
 o setHomepage(String)
Sets the URL of the vendors home page.
 o setName(String)
Sets the name of the vendor.

Constructors

 o Vendor
 public Vendor(String url)
Creates an empty vendor object.

Methods

 o getName
 public String getName()
Returns the name of the vendor.

 o getEmail
 public String getEmail()
Returns the email address of the vendor.

 o getHomepage
 public String getHomepage()
Returns the URL of the vendors home page.

 o getURL
 public String getURL()
Returns the URL of the vendors XSA document.

 o getProducts
 public Enumeration getProducts()
Returns the products registered on this vendor.

Returns:
An enumeration of Product objects. If a hashtable of IDs was given to the engine, only products with those IDs will be in the Enumeration.
See Also:
Product
 o setName
 protected void setName(String _name)
Sets the name of the vendor.

 o setEmail
 protected void setEmail(String _email)
Sets the email address of the vendor.

 o setHomepage
 protected void setHomepage(String _homepage)
Sets the URL of the vendors home page.

 o addProduct
 protected void addProduct(Product newProduct)
Adds a product to this vendors list of products.


All Packages  Class Hierarchy  This Package  Previous  Next  Index