org.broadleafcommerce.core.catalog.domain
Class ProductAttributeImpl

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

@Entity
public class ProductAttributeImpl
extends Object
implements ProductAttribute

The Class ProductAttributeImpl.

See Also:
Serialized Form

Field Summary
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 Summary
ProductAttributeImpl()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected Long id
The id.


name

protected String name
The name.


value

protected String value
The value.


searchable

protected Boolean searchable
The searchable.


product

protected Product product
The product.

Constructor Detail

ProductAttributeImpl

public ProductAttributeImpl()
Method Detail

getId

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

Specified by:
getId in interface ProductAttribute
Returns:
the id

setId

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

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

getValue

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

Specified by:
getValue in interface ProductAttribute
Returns:
the value

setValue

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

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

getSearchable

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

Specified by:
getSearchable in interface ProductAttribute
Returns:
the searchable

setSearchable

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

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

getName

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

Specified by:
getName in interface ProductAttribute
Returns:
the name

setName

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

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

toString

public String toString()
Overrides:
toString in class 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 Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.