org.cocome.tradingsystem.inventory.data.enterprise
Class ProductSupplier
java.lang.Object
org.cocome.tradingsystem.inventory.data.enterprise.ProductSupplier
public class ProductSupplier
- extends java.lang.Object
This class represents a ProductSupplier in the database.
- Author:
- Yannick Welsch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProductSupplier
public ProductSupplier()
getId
public long getId()
- Returns:
- A unique identifier for ProductSupplier objects
setId
public void setId(long id)
- Parameters:
id
- A unique identifier for ProductSupplier objects
getName
public java.lang.String getName()
- Returns:
- The name of the ProductSupplier
setName
public void setName(java.lang.String name)
- Parameters:
name
- The name of the ProductSupplier
getProducts
public java.util.Collection<Product> getProducts()
- Returns:
- The list of Products provided by the ProductSupplier
setProducts
public void setProducts(java.util.Collection<Product> products)
- Parameters:
products
- The list of Products provided by the ProductSupplier