org.ow2.dragon.persistence.bo.common
Class CategoryValue

java.lang.Object
  extended by org.ow2.dragon.persistence.bo.common.BaseObject
      extended by org.ow2.dragon.persistence.bo.common.NonSearchableBaseObject
          extended by org.ow2.dragon.persistence.bo.common.CategoryValue
All Implemented Interfaces:
java.io.Serializable

public class CategoryValue
extends NonSearchableBaseObject

Author:
ofabre
See Also:
Serialized Form

Constructor Summary
CategoryValue()
           
CategoryValue(java.lang.String value, java.lang.String description)
           
 
Method Summary
 boolean equals(java.lang.Object other)
          Compares object equality.
 Category getCategory()
           
 java.lang.String getDescription()
           
 java.lang.String getValue()
           
 int hashCode()
          When you override equals, you should override hashCode.
 void setCategory(Category category)
           
 void setDescription(java.lang.String description)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class org.ow2.dragon.persistence.bo.common.NonSearchableBaseObject
getId, setId, toString
 
Methods inherited from class org.ow2.dragon.persistence.bo.common.BaseObject
getCreated, getLastUpdated, setCreated, setLastUpdated
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CategoryValue

public CategoryValue()

CategoryValue

public CategoryValue(java.lang.String value,
                     java.lang.String description)
Method Detail

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

equals

public boolean equals(java.lang.Object other)
Description copied from class: BaseObject
Compares object equality. When using Hibernate, the primary key should not be a part of this comparison.

Specified by:
equals in class BaseObject
Parameters:
other - object to compare to
Returns:
true/false based on equality tests

hashCode

public int hashCode()
Description copied from class: BaseObject
When you override equals, you should override hashCode. See "Why are equals() and hashCode() importation" for more information: http://www.hibernate.org/109.html

Specified by:
hashCode in class BaseObject
Returns:
hashCode

getCategory

public Category getCategory()

setCategory

public void setCategory(Category category)


Copyright © 2008-2009 eBMWebsourcing. All Rights Reserved.