Android Open Source - digitalcampus Student






From Project

Back to project page digitalcampus.

License

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.

Java Source Code

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;
  }
}




Java Source Code List

com.llenguatges.digitalcampus.BaseActivity.java
com.llenguatges.digitalcampus.MainActivity.java
com.llenguatges.digitalcampus.MyApplication.java
com.llenguatges.digitalcampus.adapters.CustomGridViewAdapter.java
com.llenguatges.digitalcampus.adapters.ExamAdapter.java
com.llenguatges.digitalcampus.adapters.NewSubSyllabusAdapter.java
com.llenguatges.digitalcampus.adapters.NewSubjectStudentAdapter.java
com.llenguatges.digitalcampus.adapters.SpinnerAdapter.java
com.llenguatges.digitalcampus.adapters.StudentAdapter.java
com.llenguatges.digitalcampus.adapters.StudentSubjectsAdapter.java
com.llenguatges.digitalcampus.adapters.SubjectAdapter.java
com.llenguatges.digitalcampus.adapters.SubjectStudentsAdapter.java
com.llenguatges.digitalcampus.adapters.SyllabusAdapter.java
com.llenguatges.digitalcampus.database.DAOHelper.java
com.llenguatges.digitalcampus.database.ExamTable.java
com.llenguatges.digitalcampus.database.StudentSubjectTable.java
com.llenguatges.digitalcampus.database.StudentTable.java
com.llenguatges.digitalcampus.database.SubjectMatterTable.java
com.llenguatges.digitalcampus.database.SubjectTable.java
com.llenguatges.digitalcampus.exams.ExamsActivity.java
com.llenguatges.digitalcampus.exams.NewExamActivity.java
com.llenguatges.digitalcampus.login.LoginActivity.java
com.llenguatges.digitalcampus.login.SessionManager.java
com.llenguatges.digitalcampus.objects.Exam.java
com.llenguatges.digitalcampus.objects.Item.java
com.llenguatges.digitalcampus.objects.StudentSubject.java
com.llenguatges.digitalcampus.objects.Student.java
com.llenguatges.digitalcampus.objects.SubjectMatter.java
com.llenguatges.digitalcampus.objects.Subject.java
com.llenguatges.digitalcampus.splash.SplashScreenActivity.java
com.llenguatges.digitalcampus.students.InformationActivity.java
com.llenguatges.digitalcampus.students.NewStudentActivity.java
com.llenguatges.digitalcampus.students.StudentsActivity.java
com.llenguatges.digitalcampus.subjects.InformationActivity.java
com.llenguatges.digitalcampus.subjects.NewSubjectActivity.java
com.llenguatges.digitalcampus.subjects.SubjectsActivity.java