public class Data extends Object implements Comparable<Data>
| Constructor and Description |
|---|
Data(Integer id,
String name,
String description) |
Data(Integer id,
String name,
String description,
boolean enable) |
Data(String name,
String description) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Data data) |
boolean |
equals(Object o) |
String |
getDescription() |
Integer |
getId() |
String |
getName() |
int |
hashCode() |
boolean |
isEnable() |
void |
setDescription(String description) |
void |
setEnable(boolean enable) |
void |
setId(Integer id) |
void |
setName(String name) |
String |
toString() |
public Integer getId()
public void setId(Integer id)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public boolean isEnable()
public void setEnable(boolean enable)
public int compareTo(Data data)
compareTo in interface Comparable<Data>Copyright © 2016 JBoss by Red Hat. All Rights Reserved.