@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() |
Product |
getProduct()
Gets the product.
|
Boolean |
getSearchable() |
String |
getValue() |
int |
hashCode() |
void |
setId(Long id)
Sets the id.
|
void |
setName(String name) |
void |
setProduct(Product product)
Sets the product.
|
void |
setSearchable(Boolean searchable) |
void |
setValue(String 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()
getValue in interface ValueAssignable<String>public void setValue(String value)
setValue in interface ValueAssignable<String>public Boolean getSearchable()
getSearchable in interface Searchable<String>public void setSearchable(Boolean searchable)
setSearchable in interface Searchable<String>public String getName()
getName in interface ValueAssignable<String>public void setName(String name)
setName in interface ValueAssignable<String>public Product getProduct()
ProductAttributegetProduct in interface ProductAttributepublic void setProduct(Product product)
ProductAttributesetProduct in interface ProductAttributeproduct - the new productCopyright © 2014. All Rights Reserved.