@Entity public class ProductAttributeImpl extends java.lang.Object implements ProductAttribute
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Long |
id
The id.
|
protected java.lang.String |
name
The name.
|
protected Product |
product
The product.
|
protected java.lang.Boolean |
searchable
The searchable.
|
protected java.lang.String |
value
The value.
|
| Constructor and Description |
|---|
ProductAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getId()
Gets the id.
|
java.lang.String |
getName() |
Product |
getProduct()
Gets the product.
|
java.lang.Boolean |
getSearchable() |
java.lang.String |
getValue() |
int |
hashCode() |
void |
setId(java.lang.Long id)
Sets the id.
|
void |
setName(java.lang.String name) |
void |
setProduct(Product product)
Sets the product.
|
void |
setSearchable(java.lang.Boolean searchable) |
void |
setValue(java.lang.String value) |
java.lang.String |
toString() |
protected java.lang.Long id
protected java.lang.String name
protected java.lang.String value
protected java.lang.Boolean searchable
protected Product product
public java.lang.Long getId()
ProductAttributegetId in interface ProductAttributepublic void setId(java.lang.Long id)
ProductAttributesetId in interface ProductAttributeid - the new idpublic java.lang.String getValue()
getValue in interface ValueAssignable<java.lang.String>public void setValue(java.lang.String value)
setValue in interface ValueAssignable<java.lang.String>public java.lang.Boolean getSearchable()
getSearchable in interface Searchable<java.lang.String>public void setSearchable(java.lang.Boolean searchable)
setSearchable in interface Searchable<java.lang.String>public java.lang.String getName()
getName in interface ValueAssignable<java.lang.String>public void setName(java.lang.String name)
setName in interface ValueAssignable<java.lang.String>public java.lang.String toString()
toString in class java.lang.Objectpublic Product getProduct()
ProductAttributegetProduct in interface ProductAttributepublic void setProduct(Product product)
ProductAttributesetProduct in interface ProductAttributeproduct - the new productpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018. All Rights Reserved.