public class Category extends Object implements Cloneable, Comparable<Category>, org.eclipse.jetty.util.ajax.JSON.Convertible
Constructor and Description |
---|
Category() |
Category(Integer id,
String categoryName,
String description) |
Modifier and Type | Method and Description |
---|---|
Category |
clone() |
int |
compareTo(Category o) |
boolean |
equals(Object obj) |
void |
fromJSON(Map object) |
String |
getCategoryName() |
String |
getDescription() |
Integer |
getId() |
int |
hashCode() |
void |
setCategoryName(String aCategoryName) |
void |
setDescription(String aDescription) |
void |
setId(Integer aId) |
void |
toJSON(org.eclipse.jetty.util.ajax.JSON.Output out) |
String |
toString() |
public String getCategoryName()
public void setCategoryName(String aCategoryName)
public String getDescription()
public void setDescription(String aDescription)
public Integer getId()
public void setId(Integer aId)
public int compareTo(Category o)
compareTo
in interface Comparable<Category>
public void fromJSON(Map object)
fromJSON
in interface org.eclipse.jetty.util.ajax.JSON.Convertible
public void toJSON(org.eclipse.jetty.util.ajax.JSON.Output out)
toJSON
in interface org.eclipse.jetty.util.ajax.JSON.Convertible
Copyright © 2008–2016 The CometD Project. All rights reserved.