@Entity public class Provider extends StockEntityBean<Provider>
Constructor and Description |
---|
Provider()
Constructor
|
Provider(Provider provider)
Construct a new provider from an other
|
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Get the provider address
|
Set<ProviderAttributeDate> |
getAttributeDateList()
Returns dynamic attributes list
|
Set<ProviderAttribute> |
getAttributeList()
Returns dynamic attributes list
|
Set<ProviderAttributeNum> |
getAttributeNumList()
Returns dynamic attributes list
|
String |
getComment()
Get the comment
|
String |
getContactName()
Get the contact name
|
Integer |
getId()
Return the provider id
|
String |
getMail()
Get the provider mail
|
String |
getName()
Get the provider name
|
String |
getPhoneNumber()
Get the phone number to contact the provider
|
List<Category> |
getProducts()
Get the product list
|
void |
setAddress(String address)
Set the provider address
|
void |
setAttributeDateList(Set<ProviderAttributeDate> dateAttribute)
Sets the attribute date list.
|
void |
setAttributeList(Set<ProviderAttribute> stringAttribute) |
void |
setAttributeNumList(Set<ProviderAttributeNum> numAttribute)
Set attribute list
|
void |
setComment(String comment)
Set the comment
|
void |
setContactName(String contactName)
Set the contact name
|
void |
setId(Integer idProvider)
Set the provider id
|
void |
setMail(String mail)
Set the provider mail
|
void |
setName(String name)
Set the provider name
|
void |
setPhoneNumber(String strPhoneNumber)
Set the phone number
|
void |
setProducts(List<Category> products)
Set the product list
|
getAttributeDateMap, getAttributeMap, getAttributeNumMap
public Provider()
public Provider(Provider provider)
provider
- a provider object to copypublic Integer getId()
public void setId(Integer idProvider)
idProvider
- the provider idpublic String getPhoneNumber()
public void setPhoneNumber(String strPhoneNumber)
strPhoneNumber
- the phone numberpublic String getAddress()
public void setAddress(String address)
address
- addresspublic String getMail()
public void setMail(String mail)
mail
- the mailpublic String getName()
public void setName(String name)
name
- the provider namepublic void setProducts(List<Category> products)
products
- the product listpublic String getContactName()
public void setContactName(String contactName)
contactName
- the name of the contactpublic String getComment()
public void setComment(String comment)
comment
- the commentpublic Set<ProviderAttribute> getAttributeList()
getAttributeList
in class StockEntityBean<Provider>
public void setAttributeList(Set<ProviderAttribute> stringAttribute)
public Set<ProviderAttributeDate> getAttributeDateList()
getAttributeDateList
in class StockEntityBean<Provider>
public void setAttributeDateList(Set<ProviderAttributeDate> dateAttribute)
dateAttribute
- the new attribute date listpublic Set<ProviderAttributeNum> getAttributeNumList()
getAttributeNumList
in class StockEntityBean<Provider>
public void setAttributeNumList(Set<ProviderAttributeNum> numAttribute)
numAttribute
- numAttributeCopyright © 2020 City of Paris. All rights reserved.