Android Open Source - MentorMe Request






From Project

Back to project page MentorMe.

License

The source code is released under:

MIT License

If you think the Android project MentorMe 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.codepath.wwcmentorme.models;
/*from w  ww.j av a2  s. c  o m*/
import java.io.Serializable;
import java.util.Date;

import com.parse.ParseClassName;
import com.parse.ParseObject;
import com.parse.ParseQuery;

@ParseClassName("Request")
public class Request extends ParseObject {
  public static String MENTEE_ID_KEY = "menteeId";
  public static String MENTOR_ID_KEY = "mentorId";
  public static String ACCEPTED_KEY = "accepted";
  public static String CREATED_AT_KEY = "createdAt";
  
  public Request() {
    super();
  }
  
  public long getMenteeId() {
    return getLong(MENTEE_ID_KEY);
  }
  
  public void setMenteeId(long menteeId) {
    put(MENTEE_ID_KEY, menteeId);
  }
  
  public long getMentorId() {
    return getLong(MENTOR_ID_KEY);
  }
  
  public void setMentorId(long mentorId) {
    put(MENTOR_ID_KEY, mentorId);
  }
  
  public Date getCreatedAt() {
      return getDate(CREATED_AT_KEY);
  }
  
  public void setCreatedAt(Date createdAt) {
    put(CREATED_AT_KEY, createdAt);
  }
  
  public void setAccepted(boolean accepted) {
    put(ACCEPTED_KEY, accepted);
  }
  
  public boolean getAccepted() {
    return getBoolean(ACCEPTED_KEY);
  }
  
  public static ParseQuery<Request> getQuery() {
    return ParseQuery.getQuery(Request.class);
  }
  
  
}




Java Source Code List

com.codepath.wwcmentorme.activities.AppActivity.java
com.codepath.wwcmentorme.activities.ChatActivity.java
com.codepath.wwcmentorme.activities.EditProfileActivity.java
com.codepath.wwcmentorme.activities.HomeActivity.java
com.codepath.wwcmentorme.activities.MapActivity.java
com.codepath.wwcmentorme.activities.MentorListActivity.java
com.codepath.wwcmentorme.activities.ThankMentorActivity.java
com.codepath.wwcmentorme.activities.UserListActivity.java
com.codepath.wwcmentorme.activities.ViewProfileActivity.java
com.codepath.wwcmentorme.adapters.ChatAdapter.java
com.codepath.wwcmentorme.adapters.DrawerListAdapter.java
com.codepath.wwcmentorme.adapters.MentorListAdapter.java
com.codepath.wwcmentorme.app.MentorMeApp.java
com.codepath.wwcmentorme.data.DataService.java
com.codepath.wwcmentorme.fragments.AbstractEditProfileFragment.java
com.codepath.wwcmentorme.fragments.EditProfileExperiencesFragment.java
com.codepath.wwcmentorme.fragments.EditProfileLocationFragment.java
com.codepath.wwcmentorme.fragments.EditProfileSkillsFragment.java
com.codepath.wwcmentorme.fragments.RefineResultsDialogFragment.java
com.codepath.wwcmentorme.helpers.Async.java
com.codepath.wwcmentorme.helpers.Constants.java
com.codepath.wwcmentorme.helpers.MentorMeReceiver.java
com.codepath.wwcmentorme.helpers.NotificationCenter.java
com.codepath.wwcmentorme.helpers.RoundedImageView.java
com.codepath.wwcmentorme.helpers.UIUtils.java
com.codepath.wwcmentorme.helpers.Utils.java
com.codepath.wwcmentorme.helpers.ViewHolder.java
com.codepath.wwcmentorme.models.Message.java
com.codepath.wwcmentorme.models.Rating.java
com.codepath.wwcmentorme.models.Request.java
com.codepath.wwcmentorme.models.User.java