public class VRECategory extends Object implements Serializable, Comparable<VRECategory>
| Modifier and Type | Field and Description |
|---|---|
protected long |
categoryID |
protected String |
name |
| Constructor and Description |
|---|
VRECategory() |
VRECategory(long categoryID,
String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(VRECategory vreCategory) |
long |
getCategoryID() |
String |
getName() |
void |
setCategoryID(long categoryID) |
void |
setName(String name) |
protected long categoryID
protected String name
public VRECategory()
public VRECategory(long categoryID,
String name)
categoryID - name - public long getCategoryID()
public void setCategoryID(long categoryID)
categoryID - the categoryID to setpublic String getName()
public void setName(String name)
name - the name to setpublic int compareTo(VRECategory vreCategory)
compareTo in interface Comparable<VRECategory>Copyright © 2015. All Rights Reserved.