@Entity public class ProductAttributeImpl extends Object implements ProductAttribute
| Modifier and Type | Field and Description |
|---|---|
protected Long |
id
The id.
|
protected String |
name
The name.
|
protected Product |
product
The product.
|
protected Boolean |
searchable
The searchable.
|
protected String |
value
The value.
|
| Constructor and Description |
|---|
ProductAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getId()
Gets the id.
|
String |
getName()
Gets the name.
|
Product |
getProduct()
Gets the product.
|
Boolean |
getSearchable()
Gets the searchable.
|
String |
getValue()
Gets the value.
|
int |
hashCode() |
void |
setId(Long id)
Sets the id.
|
void |
setName(String name)
Sets the name.
|
void |
setProduct(Product product)
Sets the product.
|
void |
setSearchable(Boolean searchable)
Sets the searchable.
|
void |
setValue(String value)
Sets the value.
|
String |
toString() |
protected Long id
protected String name
protected String value
protected Boolean searchable
protected Product product
public Long getId()
ProductAttributegetId in interface ProductAttributepublic void setId(Long id)
ProductAttributesetId in interface ProductAttributeid - the new idpublic String getValue()
ProductAttributegetValue in interface ProductAttributepublic void setValue(String value)
ProductAttributesetValue in interface ProductAttributevalue - the new valuepublic Boolean getSearchable()
ProductAttributegetSearchable in interface ProductAttributepublic void setSearchable(Boolean searchable)
ProductAttributesetSearchable in interface ProductAttributesearchable - the new searchablepublic String getName()
ProductAttributegetName in interface ProductAttributepublic void setName(String name)
ProductAttributesetName in interface ProductAttributename - the new namepublic Product getProduct()
ProductAttributegetProduct in interface ProductAttributepublic void setProduct(Product product)
ProductAttributesetProduct in interface ProductAttributeproduct - the new productCopyright © 2014. All Rights Reserved.