PeopleInfo.java

  1. package org.exoplatform.social.service.rest.api.models;

  2. import javax.xml.bind.annotation.XmlRootElement;

  3. /**
  4.  * PeopleInfo class
  5.  *
  6.  * Contains people's information that relate to specific user.
  7.  *
  8.  */
  9. @XmlRootElement
  10. public class PeopleInfo {
  11.   private String id;
  12.   private String profileUrl;
  13.   private String avatarURL;
  14.   private String activityTitle;
  15.   private String relationshipType;
  16.   private String fullName;
  17.   private String position;
  18.   private Boolean isDeleted;

  19.  
  20.   public PeopleInfo() {
  21.   }
  22.  
  23.   public PeopleInfo(String relationshipType) {
  24.     this.relationshipType = relationshipType;
  25.   }

  26.   public String getFullName() {
  27.     return fullName;
  28.   }

  29.   public void setFullName(String fullName) {
  30.     this.fullName = fullName;
  31.   }

  32.   public String getActivityTitle() {
  33.     return activityTitle;
  34.   }
  35.  
  36.   public void setActivityTitle(String activityTitle) {
  37.     this.activityTitle = activityTitle;
  38.   }
  39.  
  40.   public String getAvatarURL() {
  41.     return avatarURL;
  42.   }
  43.  
  44.   public void setAvatarURL(String avatarURL) {
  45.     this.avatarURL = avatarURL;
  46.   }

  47.   public String getRelationshipType() {
  48.     return relationshipType;
  49.   }

  50.   public void setRelationshipType(String relationshipType) {
  51.     this.relationshipType = relationshipType;
  52.   }

  53.   public String getId() {
  54.     return id;
  55.   }

  56.   public void setId(String id) {
  57.     this.id = id;
  58.   }

  59.   public String getProfileUrl() {
  60.     return profileUrl;
  61.   }

  62.   public void setProfileUrl(String profileUrl) {
  63.     this.profileUrl = profileUrl;
  64.   }

  65.   public String getPosition() {
  66.     return position;
  67.   }

  68.   public void setPosition(String position) {
  69.     this.position = position;
  70.   }

  71.   public Boolean getDeleted() {
  72.         return isDeleted;
  73.   }

  74.   public void setDeleted(Boolean deleted) {
  75.         isDeleted = deleted;
  76.   }
  77. }