cafe.main
Class ProductGroup
java.lang.Object
cafe.main.ProductGroup
public class ProductGroup
- extends java.lang.Object
- Author:
- WoX
Constructor Summary |
ProductGroup(java.lang.String[] groupname,
ImportProduct[] products)
Constructs a ProductGroup with the given parameters. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
groupname
public java.lang.String[] groupname
ProductGroup
public ProductGroup(java.lang.String[] groupname,
ImportProduct[] products)
- Constructs a ProductGroup with the given parameters.
- Parameters:
groupname
- Name of the group in different languages.products
- The importable products that belong in this group.
getName
public java.lang.String getName(LanguageEnum language)
- Returns the name of the group in chosen language.
- Parameters:
language
- The language of the name.
- Returns:
- The name in chosen language.
getProducts
public ImportProduct[] getProducts()
- Returns the importable products that belong in this group.
- Returns:
- The importable products in this group.