1 package org.exoplatform.services.organization.impl; 2 3 import org.exoplatform.services.organization.Membership; 4 7 public class MembershipImpl implements Membership { 8 9 private String id = null; 10 private String membershipType = "member"; 11 private String userName = null ; 12 private String groupId = null ; 13 14 public MembershipImpl() { 15 } 16 17 20 public String getId() { return id; } 21 public void setId(String id) { this.id = id; } 22 23 26 public String getMembershipType() { return membershipType; } 27 public void setMembershipType(String type) { this.membershipType = type; } 28 29 32 public String getUserName() { return userName; } 33 public void setUserName(String user) { this.userName = user; } 34 35 38 public String getGroupId() { return groupId ; } 39 public void setGroupId(String group) { this.groupId = group; } 40 41 42 public String toString() { 44 return "Membership[" + id + "]"; 45 } 46 } | Popular Tags |