Android Open Source - MentorMe Rating






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 .jav a  2s. c o m
import com.parse.ParseClassName;
import com.parse.ParseObject;
import com.parse.ParseQuery;

@ParseClassName("Rating")
public class Rating extends ParseObject{
  public static String FACEBOOK_ID_KEY = "facebookId";
  public static String RATED_FACEBOOK_ID_KEY = "ratedFacebookId";
  public static String RATING_KEY = "rating";
  public static String COMMENT_KEY = "comment";
  
  public Rating() {
    super();
  }

  public int getFacebookId() {
        return getInt(FACEBOOK_ID_KEY);
    }
  
  public void setFacebookId(int facebookId) {
    put(FACEBOOK_ID_KEY, facebookId);
  }
  
  public int getRatedFacebookId() {
    return getInt(RATED_FACEBOOK_ID_KEY);
  }
  
  public void setRatedFacebookId(int ratedFacebookId) {
    put(RATED_FACEBOOK_ID_KEY, ratedFacebookId);
  }
  
  public Double getRating() {
    return getDouble(RATING_KEY);
  }
  
  public void setRating(Double rating) {
    put(RATING_KEY, rating);
  }
  
  public String getComment() {
    return getString(COMMENT_KEY);
  }
  
  public void setComment(String comment) {
    put(COMMENT_KEY, comment);
  }
  
  public static ParseQuery<Rating> getQuery() {
    return ParseQuery.getQuery(Rating.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