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.
-
Vendor(String)
- Creates an empty vendor object.
-
addProduct(Product)
- Adds a product to this vendors list of products.
-
getEmail()
- Returns the email address of the vendor.
-
getHomepage()
- Returns the URL of the vendors home page.
-
getName()
- Returns the name of the vendor.
-
getProducts()
- Returns the products registered on this vendor.
-
getURL()
- Returns the URL of the vendors XSA document.
-
setEmail(String)
- Sets the email address of the vendor.
-
setHomepage(String)
- Sets the URL of the vendors home page.
-
setName(String)
- Sets the name of the vendor.
Vendor
public Vendor(String url)
- Creates an empty vendor object.
getName
public String getName()
- Returns the name of the vendor.
getEmail
public String getEmail()
- Returns the email address of the vendor.
getHomepage
public String getHomepage()
- Returns the URL of the vendors home page.
getURL
public String getURL()
- Returns the URL of the vendors XSA document.
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
setName
protected void setName(String _name)
- Sets the name of the vendor.
setEmail
protected void setEmail(String _email)
- Sets the email address of the vendor.
setHomepage
protected void setHomepage(String _homepage)
- Sets the URL of the vendors home page.
addProduct
protected void addProduct(Product newProduct)
- Adds a product to this vendors list of products.
All Packages Class Hierarchy This Package Previous Next Index