|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.stock.business.Provider
@Entity public class Provider
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 |
---|
public static final java.lang.String RESOURCE_TYPE
Constructor Detail |
---|
public Provider()
public Provider(Provider provider)
provider
- a provider object to copyMethod Detail |
---|
public int getIdProvider()
public void setIdProvider(int idProvider)
idProvider
- the provider idpublic java.lang.String getPhoneNumber()
public void setPhoneNumber(java.lang.String strPhoneNumber)
strPhoneNumber
- the phone numberpublic java.lang.String getAddress()
public void setAddress(java.lang.String address)
address
- addresspublic java.lang.String getMail()
public void setMail(java.lang.String mail)
mail
- the mailpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the provider namepublic java.util.List<Category> getProducts()
public void setProducts(java.util.List<Category> products)
products
- the product listpublic java.lang.String getContactName()
public void setContactName(java.lang.String contactName)
contactName
- the name of the contactpublic java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- the commentpublic ObjectDefinition getObjectDefinition()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |