public class ProductBean extends Product
Constructor and Description |
---|
ProductBean()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] | getAttributeNames()
This method returns the names of the various defining attributes of an Item.
|
java.util.Vector | getItemsWithConstrainedAttributes(java.lang.String[][] constrainedAttributes)
This method takes a two-dimensional array of fixed name-value pairs, and returns a Vector.
|
int | getNumberOfAttributes()
This method returns the maximum number of selectable attributes of any Item that belongs to this Product family/group.
|
java.lang.String[] | getValuesForAttribute(java.lang.String attributeName)
This method returns the exhaustive list of values for a given attribute name an Item.
|
boolean | hasSubProduct(ItemBean itemBean)
This method tells that if the given ItemBean is a valid sub product of this ProductBean
|
public ProductBean()
public boolean hasSubProduct(ItemBean itemBean)
public int getNumberOfAttributes()
public java.lang.String[] getAttributeNames()
public java.lang.String[] getValuesForAttribute(java.lang.String attributeName)
public java.util.Vector getItemsWithConstrainedAttributes(java.lang.String[][] constrainedAttributes)