public class StudentItemModel extends Object implements Comparable<StudentItemModel>
Modifier and Type | Field and Description |
---|---|
private boolean |
selected |
private User |
student |
Constructor and Description |
---|
StudentItemModel(User u) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(StudentItemModel item) |
long |
getId() |
String |
getPhotoFileName() |
String |
getUserID() |
boolean |
isSelected() |
void |
setSelected(boolean selected) |
String |
toString() |
private final User student
private boolean selected
public StudentItemModel(User u)
public long getId()
public String getUserID()
public boolean isSelected()
public void setSelected(boolean selected)
public String getPhotoFileName()
public int compareTo(StudentItemModel item)
compareTo
in interface Comparable<StudentItemModel>