Back to project page digitalcampus.
The source code is released under:
MIT License
If you think the Android project digitalcampus listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.llenguatges.digitalcampus.objects; //from w w w.ja va 2s. co m import android.graphics.Bitmap; public class Student { long id; String firstName, lastName, age, description, gender; Boolean selected; Bitmap photo; /** * Constructor * @param _id * @param _firstName * @param _lastName * @param _age * @param _description * @param _gender * @param _selected * @param _photo */ public Student(long _id, String _firstName, String _lastName, String _age, String _description, String _gender, Boolean _selected, Bitmap _photo) { super(); this.id = _id; this.firstName = _firstName; this.lastName = _lastName; this.age = _age; this.description = _description; this.gender = _gender; this.selected = _selected; this.photo = _photo; } /** * Get student's id * @return id */ public long getId() { return this.id; } /** * Set student's id * @param _id */ public void setId(long _id) { this.id = _id; } /** * Set student's first name * @return firstName */ public String getFirstName() { return this.firstName; } /** * Set student's first name * @param _firstName */ public void setFirstName(String _firstName) { this.firstName = _firstName; } /** * Get student's last name * @return lastName */ public String getLastName() { return this.lastName; } /** * Set student's last name * @param _lastName */ public void setLastName(String _lastName) { this.lastName = _lastName; } /** * Get student's age * @return age */ public String getAge() { return this.age; } /** * Set student's age * @param _age */ public void setAge(String _age) { this.age = _age; } /** * Get student's description * @return description */ public String getDescription() { return this.description; } /** * Set student's description * @param _description */ public void setDescription(String _description) { this.description = _description; } /** * Get student's gender * @return gender */ public String getGender() { return this.gender; } /** * Set student's gender * @param _gender */ public void setGender(String _gender) { this.gender = _gender; } /** * Get student's selected * @return selected */ public Boolean getSelected() { return this.selected; } /** * Set student's selected * @param _selected */ public void setSelected(Boolean _selected) { this.selected = _selected; } /** * Get student's image * @return photo */ public Bitmap getPhoto() { return this.photo; } /** * Set student's image * @param _photo */ public void setPhoto(Bitmap _photo) { this.photo = _photo; } }