title: how to change name based on activity in model using android
body: <p>I create a model called Review. There are two activities (QualityReivewActivity.java &amp; FairnessReivewActivity.java) will call the model whenever user leaves a comment.
  I want to</p>
  <pre><code>public class Review {
      float fairness_rating; //change the name to quality_rating
      String post_id;
      String review_time;
      String reviewer_id;
      String text_review;
  
  
      public Review(){
          //
      }
  
      Review(float fairness_rating, String post_id, String review_time, String reviewer_id, String text_review){
          this.fairness_rating=fairness_rating;
          this.post_id=post_id;
          this.review_time=review_time;
          this.reviewer_id=reviewer_id;
          this.text_review=text_review;
  
      }
  
      public float getFairness_rating() {
          return fairness_rating;
      } //change to getQuality_rating if actitivty is QualityReivewActivity.java
  
      public String getPost_id() {
          return post_id;
      }
  
      public String getReview_time() {
          return review_time;
      }
  
      public String getReviewer_id() {
          return reviewer_id;
      }
  
      public String getText_review() {
          return text_review;
      }
  }
  </code></pre>
  <p>and this is the segment of code of QualityReivewActivity</p>
  <pre><code>Review c = new Review(mRatingBar.getRating(), post_id, timedComment.toString(), reviewer_uid, my_comment.getText().toString()); //
  </code></pre>
  <p>However, the QualityReviewActivity always shows &quot;fairness_rating&quot;. How can I make a dynamic model name to change to &quot;quality_rating&quot; if I am calling from QualityReviewActivity?</p>