fr.paris.lutece.plugins.stock.business.provider
Class Provider

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.business.StockEntityBean<Provider>
      extended by fr.paris.lutece.plugins.stock.business.provider.Provider
All Implemented Interfaces:
fr.paris.lutece.plugins.stock.utils.EntityBean, java.io.Serializable

@Entity
public class Provider
extends StockEntityBean<Provider>

Provider

See Also:
Serialized Form

Constructor Summary
Provider()
          Constructor
Provider(Provider provider)
          Construct a new provider from an other
 
Method Summary
 java.lang.String getAddress()
          Get the provider address
 java.util.Set<ProviderAttributeDate> getAttributeDateList()
          Returns dynamic attributes list
 java.util.Set<ProviderAttribute> getAttributeList()
          Returns dynamic attributes list
 java.util.Set<ProviderAttributeNum> getAttributeNumList()
          Returns dynamic attributes list
 java.lang.String getComment()
          Get the comment
 java.lang.String getContactName()
          Get the contact name
 java.lang.Integer getId()
          Return the provider id
 java.lang.String getMail()
          Get the provider mail
 java.lang.String getName()
          Get the provider name
 java.lang.String getPhoneNumber()
          Get the phone number to contact the provider
 java.util.List<Category> getProducts()
          Get the product list
 void setAddress(java.lang.String address)
          Set the provider address
 void setAttributeDateList(java.util.Set<ProviderAttributeDate> dateAttribute)
          Sets the attribute date list.
 void setAttributeList(java.util.Set<ProviderAttribute> stringAttribute)
           
 void setAttributeNumList(java.util.Set<ProviderAttributeNum> numAttribute)
          Set attribute list
 void setComment(java.lang.String comment)
          Set the comment
 void setContactName(java.lang.String contactName)
          Set the contact name
 void setId(java.lang.Integer idProvider)
          Set the provider id
 void setMail(java.lang.String mail)
          Set the provider mail
 void setName(java.lang.String name)
          Set the provider name
 void setPhoneNumber(java.lang.String strPhoneNumber)
          Set the phone number
 void setProducts(java.util.List<Category> products)
          Set the product list
 
Methods inherited from class fr.paris.lutece.plugins.stock.business.StockEntityBean
getAttributeDateMap, getAttributeMap, getAttributeNumMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Provider

public Provider()
Constructor


Provider

public Provider(Provider provider)
Construct a new provider from an other

Parameters:
provider - a provider object to copy
Method Detail

getId

public java.lang.Integer getId()
Return the provider id

Returns:
the provider id

setId

public void setId(java.lang.Integer idProvider)
Set the provider id

Parameters:
idProvider - the provider id

getPhoneNumber

public java.lang.String getPhoneNumber()
Get the phone number to contact the provider

Returns:
the phone number

setPhoneNumber

public void setPhoneNumber(java.lang.String strPhoneNumber)
Set the phone number

Parameters:
strPhoneNumber - the phone number

getAddress

public java.lang.String getAddress()
Get the provider address

Returns:
the provider address

setAddress

public void setAddress(java.lang.String address)
Set the provider address

Parameters:
address - address

getMail

public java.lang.String getMail()
Get the provider mail

Returns:
the mail

setMail

public void setMail(java.lang.String mail)
Set the provider mail

Parameters:
mail - the mail

getName

public java.lang.String getName()
Get the provider name

Returns:
the provider name

setName

public void setName(java.lang.String name)
Set the provider name

Parameters:
name - the provider name

getProducts

public java.util.List<Category> getProducts()
Get the product list

Returns:
the product list

setProducts

public void setProducts(java.util.List<Category> products)
Set the product list

Parameters:
products - the product list

getContactName

public java.lang.String getContactName()
Get the contact name

Returns:
the contact name

setContactName

public void setContactName(java.lang.String contactName)
Set the contact name

Parameters:
contactName - the name of the contact

getComment

public java.lang.String getComment()
Get the comment

Returns:
the comment

setComment

public void setComment(java.lang.String comment)
Set the comment

Parameters:
comment - the comment

getAttributeList

public java.util.Set<ProviderAttribute> getAttributeList()
Returns dynamic attributes list

Specified by:
getAttributeList in class StockEntityBean<Provider>
Returns:
dynamic attributes list

setAttributeList

public void setAttributeList(java.util.Set<ProviderAttribute> stringAttribute)

getAttributeDateList

public java.util.Set<ProviderAttributeDate> getAttributeDateList()
Returns dynamic attributes list

Specified by:
getAttributeDateList in class StockEntityBean<Provider>
Returns:
dynamic attributes list

setAttributeDateList

public void setAttributeDateList(java.util.Set<ProviderAttributeDate> dateAttribute)
Sets the attribute date list.

Parameters:
dateAttribute - the new attribute date list

getAttributeNumList

public java.util.Set<ProviderAttributeNum> getAttributeNumList()
Returns dynamic attributes list

Specified by:
getAttributeNumList in class StockEntityBean<Provider>
Returns:
dynamic attributes list

setAttributeNumList

public void setAttributeNumList(java.util.Set<ProviderAttributeNum> numAttribute)
Set attribute list

Parameters:
numAttribute - numAttribute


Copyright © 2012 Mairie de Paris. All Rights Reserved.