org.webtide.demo.auction
Class Category

java.lang.Object
  extended by org.webtide.demo.auction.Category
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable<Category>, org.eclipse.jetty.util.ajax.JSON.Convertible

public class Category
extends java.lang.Object
implements java.lang.Cloneable, java.lang.Comparable<Category>, org.eclipse.jetty.util.ajax.JSON.Convertible

Author:
Nigel Canonizado Apr 26, 2006

Constructor Summary
Category()
           
Category(java.lang.Integer id, java.lang.String categoryName, java.lang.String description)
           
 
Method Summary
 Category clone()
           
 int compareTo(Category o)
           
 boolean equals(java.lang.Object obj)
           
 void fromJSON(java.util.Map object)
           
 java.lang.String getCategoryName()
           
 java.lang.String getDescription()
           
 java.lang.Integer getId()
           
 int hashCode()
           
 void setCategoryName(java.lang.String aCategoryName)
           
 void setDescription(java.lang.String aDescription)
           
 void setId(java.lang.Integer aId)
           
 void toJSON(org.eclipse.jetty.util.ajax.JSON.Output out)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Category

public Category()

Category

public Category(java.lang.Integer id,
                java.lang.String categoryName,
                java.lang.String description)
Method Detail

getCategoryName

public java.lang.String getCategoryName()

setCategoryName

public void setCategoryName(java.lang.String aCategoryName)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String aDescription)

getId

public java.lang.Integer getId()

setId

public void setId(java.lang.Integer aId)

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

clone

public Category clone()
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(Category o)
Specified by:
compareTo in interface java.lang.Comparable<Category>

fromJSON

public void fromJSON(java.util.Map object)
Specified by:
fromJSON in interface org.eclipse.jetty.util.ajax.JSON.Convertible

toJSON

public void toJSON(org.eclipse.jetty.util.ajax.JSON.Output out)
Specified by:
toJSON in interface org.eclipse.jetty.util.ajax.JSON.Convertible

toString

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


Copyright © 2010 Dojo Foundation. All Rights Reserved.