org.broadleafcommerce.core.catalog.domain
Class CategoryAttributeImpl

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

@Entity
public class CategoryAttributeImpl
extends Object
implements CategoryAttribute

Author:
Phillip Verheyden
See Also:
Serialized Form

Field Summary
protected  Category category
           
protected  Long id
           
protected  String name
           
protected  Boolean searchable
           
protected  String value
           
 
Constructor Summary
CategoryAttributeImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 Category getCategory()
          Gets the Category.
 Long getId()
          Gets the id.
 String getName()
          Gets the name.
 Boolean getSearchable()
          Gets the searchable.
 String getValue()
          Gets the value.
 int hashCode()
           
 void setCategory(Category category)
          Sets the Category.
 void setId(Long id)
          Sets the id.
 void setName(String name)
          Sets the name.
 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

name

protected String name

value

protected String value

searchable

protected Boolean searchable

category

protected Category category
Constructor Detail

CategoryAttributeImpl

public CategoryAttributeImpl()
Method Detail

getId

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

Specified by:
getId in interface CategoryAttribute
Returns:
the id

setId

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

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

getValue

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

Specified by:
getValue in interface CategoryAttribute
Returns:
the value

setValue

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

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

getSearchable

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

Specified by:
getSearchable in interface CategoryAttribute
Returns:
the searchable

setSearchable

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

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

getName

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

Specified by:
getName in interface CategoryAttribute
Returns:
the name

setName

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

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

toString

public String toString()
Overrides:
toString in class Object

getCategory

public Category getCategory()
Description copied from interface: CategoryAttribute
Gets the Category.

Specified by:
getCategory in interface CategoryAttribute
Returns:
the Category

setCategory

public void setCategory(Category category)
Description copied from interface: CategoryAttribute
Sets the Category.

Specified by:
setCategory in interface CategoryAttribute
Parameters:
category - the new Category

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.