org.cocome.tradingsystem.inventory.data.enterprise
Class TradingEnterprise

java.lang.Object
  extended by org.cocome.tradingsystem.inventory.data.enterprise.TradingEnterprise

public class TradingEnterprise
extends java.lang.Object

This class represents a TradingEnterprise in the database

Author:
Yannick Welsch

Constructor Summary
TradingEnterprise()
           
 
Method Summary
 long getId()
           
 java.lang.String getName()
           
 java.util.Collection<Store> getStores()
           
 java.util.Collection<ProductSupplier> getSuppliers()
           
 void setId(long id)
           
 void setName(java.lang.String name)
           
 void setStores(java.util.Collection<Store> stores)
           
 void setSuppliers(java.util.Collection<ProductSupplier> suppliers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TradingEnterprise

public TradingEnterprise()
Method Detail

getId

public long getId()
Returns:
id A unique identifier for TradingEnterprise objects

setId

public void setId(long id)
Parameters:
id - A unique identifier for TradingEnterprise objects

getName

public java.lang.String getName()
Returns:
Name of TradingEnterprise

setName

public void setName(java.lang.String name)
Parameters:
name - Name of TradingEnterprise

getStores

public java.util.Collection<Store> getStores()
Returns:
List of Stores related to the TradingEnterprise

setStores

public void setStores(java.util.Collection<Store> stores)
Parameters:
stores - List of Stores related to the TradingEnterprise

getSuppliers

public java.util.Collection<ProductSupplier> getSuppliers()
Returns:
List of Suppliers related to the TradingEnterprise

setSuppliers

public void setSuppliers(java.util.Collection<ProductSupplier> suppliers)
Parameters:
suppliers - List of Suppliers related to the TradingEnterprise