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

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.business.Provider

@Entity
public class Provider
extends java.lang.Object

Provider


Field Summary
static java.lang.String RESOURCE_TYPE
           
 
Constructor Summary
Provider()
          Constructor
Provider(Provider provider)
          Construct a new provider from an other
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 java.lang.String getAddress()
          Get the provider address
 java.lang.String getComment()
          Get the comment
 java.lang.String getContactName()
          Get the contact name
 int getIdProvider()
          Return the provider id
 java.lang.String getMail()
          Get the provider mail
 java.lang.String getName()
          Get the provider name
 ObjectDefinition getObjectDefinition()
          Get the object definition for provider class
 java.lang.String getPhoneNumber()
          Get the phone number to contact the provider
 java.util.List<Category> getProducts()
          Get the product list
 int hashCode()
          
 void setAddress(java.lang.String address)
          Set the provider address
 void setComment(java.lang.String comment)
          Set the comment
 void setContactName(java.lang.String contactName)
          Set the contact name
 void setIdProvider(int 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 java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_TYPE

public static final java.lang.String RESOURCE_TYPE
See Also:
Constant Field Values
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

getIdProvider

public int getIdProvider()
Return the provider id

Returns:
the provider id

setIdProvider

public void setIdProvider(int 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

getObjectDefinition

public ObjectDefinition getObjectDefinition()
Get the object definition for provider class

Returns:
the object definition

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object


Copyright © 2011 Mairie de Paris. All Rights Reserved.