org.broadleafcommerce.core.catalog.domain
Class ProductAttributeImpl

java.lang.Object
  extended by org.broadleafcommerce.core.catalog.domain.ProductAttributeImpl
All Implemented Interfaces:
java.io.Serializable, ProductAttribute

@Entity
public class ProductAttributeImpl
extends java.lang.Object
implements ProductAttribute

The Class ProductAttributeImpl.

See Also:
Serialized Form

Field Summary
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 Summary
ProductAttributeImpl()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Long getId()
          Gets the id.
 java.lang.String getName()
          Gets the name.
 Product getProduct()
          Gets the product.
 java.lang.Boolean getSearchable()
          Gets the searchable.
 java.lang.String getValue()
          Gets the value.
 int hashCode()
           
 void setId(java.lang.Long id)
          Sets the id.
 void setName(java.lang.String name)
          Sets the name.
 void setProduct(Product product)
          Sets the product.
 void setSearchable(java.lang.Boolean searchable)
          Sets the searchable.
 void setValue(java.lang.String value)
          Sets the value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected java.lang.Long id
The id.


name

protected java.lang.String name
The name.


value

protected java.lang.String value
The value.


searchable

protected java.lang.Boolean searchable
The searchable.


product

protected Product product
The product.

Constructor Detail

ProductAttributeImpl

public ProductAttributeImpl()
Method Detail

getId

public java.lang.Long getId()
Description copied from interface: ProductAttribute
Gets the id.

Specified by:
getId in interface ProductAttribute
Returns:
the id

setId

public void setId(java.lang.Long id)
Description copied from interface: ProductAttribute
Sets the id.

Specified by:
setId in interface ProductAttribute
Parameters:
id - the new id

getValue

public java.lang.String getValue()
Description copied from interface: ProductAttribute
Gets the value.

Specified by:
getValue in interface ProductAttribute
Returns:
the value

setValue

public void setValue(java.lang.String value)
Description copied from interface: ProductAttribute
Sets the value.

Specified by:
setValue in interface ProductAttribute
Parameters:
value - the new value

getSearchable

public java.lang.Boolean getSearchable()
Description copied from interface: ProductAttribute
Gets the searchable.

Specified by:
getSearchable in interface ProductAttribute
Returns:
the searchable

setSearchable

public void setSearchable(java.lang.Boolean searchable)
Description copied from interface: ProductAttribute
Sets the searchable.

Specified by:
setSearchable in interface ProductAttribute
Parameters:
searchable - the new searchable

getName

public java.lang.String getName()
Description copied from interface: ProductAttribute
Gets the name.

Specified by:
getName in interface ProductAttribute
Returns:
the name

setName

public void setName(java.lang.String name)
Description copied from interface: ProductAttribute
Sets the name.

Specified by:
setName in interface ProductAttribute
Parameters:
name - the new name

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getProduct

public Product getProduct()
Description copied from interface: ProductAttribute
Gets the product.

Specified by:
getProduct in interface ProductAttribute
Returns:
the product

setProduct

public void setProduct(Product product)
Description copied from interface: ProductAttribute
Sets the product.

Specified by:
setProduct in interface ProductAttribute
Parameters:
product - the new product

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2012. All Rights Reserved.