package org.sagebionetworks.web.shared;

import org.sagebionetworks.repo.model.MembershipInvitation;
import org.sagebionetworks.repo.model.UserProfile;

import com.google.gwt.user.client.rpc.IsSerializable;

public class OpenTeamInvitationBundle implements IsSerializable {
	
	private MembershipInvitation MembershipInvitation;
	private UserProfile userProfile;
	
	public OpenTeamInvitationBundle(
			MembershipInvitation MembershipInvitation,
			UserProfile userProfile) {
		super();
		this.MembershipInvitation = MembershipInvitation;
		this.userProfile = userProfile;
	}
	public OpenTeamInvitationBundle() {
	}
	public MembershipInvitation getMembershipInvitation() {
		return MembershipInvitation;
	}
	public void setMembershipInvitation(
			MembershipInvitation MembershipInvitation) {
		this.MembershipInvitation = MembershipInvitation;
	}
	public UserProfile getUserProfile() {
		return userProfile;
	}
	public void setUserProfile(UserProfile userProfile) {
		this.userProfile = userProfile;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime
				* result
				+ ((MembershipInvitation == null) ? 0
						: MembershipInvitation.hashCode());
		result = prime * result
				+ ((userProfile == null) ? 0 : userProfile.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		OpenTeamInvitationBundle other = (OpenTeamInvitationBundle) obj;
		if (MembershipInvitation == null) {
			if (other.MembershipInvitation != null)
				return false;
		} else if (!MembershipInvitation
				.equals(other.MembershipInvitation))
			return false;
		if (userProfile == null) {
			if (other.userProfile != null)
				return false;
		} else if (!userProfile.equals(other.userProfile))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "OpenTeamInvitationBundle [MembershipInvitation="
				+ MembershipInvitation + ", userProfile=" + userProfile
				+ "]";
	}

}

@@ -300,33 +300,33 @@
 rshipInvitation 
-M
+m
 embershipInvitat
@@ -420,33 +420,33 @@
 rshipInvitation 
-M
+m
 embershipInvitat
@@ -493,33 +493,33 @@
 uper();%0D%0A%09%09this.
-M
+m
 embershipInvitat
@@ -516,33 +516,33 @@
 hipInvitation = 
-M
+m
 embershipInvitat
@@ -695,17 +695,17 @@
 %09return 
-M
+m
 embershi
@@ -785,17 +785,17 @@
 itation 
-M
+m
 embershi
@@ -817,17 +817,17 @@
 %0A%09%09this.
-M
+m
 embershi
@@ -840,17 +840,17 @@
 ation = 
-M
+m
 embershi
@@ -1151,17 +1151,17 @@
 %09%09%09%09+ ((
-M
+m
 embershi
@@ -1194,17 +1194,17 @@
 %09%09%09%09%09%09: 
-M
+m
 embershi
@@ -1593,17 +1593,17 @@
 %0D%0A%09%09if (
-M
+m
 embershi
@@ -1635,25 +1635,25 @@
 %09%09if (other.
-M
+m
 embershipInv
@@ -1703,17 +1703,17 @@
 se if (!
-M
+m
 embershi
@@ -1743,17 +1743,17 @@
 s(other.
-M
+m
 embershi
@@ -2038,17 +2038,17 @@
 Bundle %5B
-M
+m
 embershi
@@ -2068,17 +2068,17 @@
 %0D%0A%09%09%09%09+ 
-M
+m
 embershi

Change class field name to start with lower case