Package io.gs2.friend.model
Class FriendUser
java.lang.Object
io.gs2.friend.model.FriendUser
- All Implemented Interfaces:
IModel,Serializable,Comparable<FriendUser>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic FriendUserfromJson(com.fasterxml.jackson.databind.JsonNode data) inthashCode()voidsetFriendProfile(String friendProfile) voidsetPublicProfile(String publicProfile) voidcom.fasterxml.jackson.databind.JsonNodetoJson()withFriendProfile(String friendProfile) withPublicProfile(String publicProfile) withUserId(String userId)
-
Constructor Details
-
FriendUser
public FriendUser()
-
-
Method Details
-
getUserId
-
setUserId
-
withUserId
-
getPublicProfile
-
setPublicProfile
-
withPublicProfile
-
getFriendProfile
-
setFriendProfile
-
withFriendProfile
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<FriendUser>
-
hashCode
public int hashCode() -
equals
-