org.exoplatform.social.client.core.model
Class RestProfileImpl
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
org.json.simple.JSONObject
org.exoplatform.social.client.core.model.ModelImpl
org.exoplatform.social.client.core.model.RestProfileImpl
- All Implemented Interfaces:
- Serializable, Cloneable, Map, Model, RestProfile, org.json.simple.JSONAware, org.json.simple.JSONStreamAware
public class RestProfileImpl
- extends ModelImpl
- implements RestProfile
Implementation of RestProfile.
- Since:
- Jun 29, 2011
- Author:
- hoatle (hoatlevan at gmail dot com)
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from class org.exoplatform.social.client.core.model.ModelImpl |
addPropertyChangeListener, addToListField, findPropertyChangeListeners, getField, getFieldAsList, getFieldAsMap, getFieldAsString, getFieldNames, hasField, isFieldMultikeyed, isFieldMultivalued, removePropertyChangeListener, setField |
| Methods inherited from class org.json.simple.JSONObject |
escape, toJSONString, toJSONString, toString, toString, writeJSONString, writeJSONString |
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from interface org.exoplatform.social.client.api.model.Model |
addPropertyChangeListener, addToListField, findPropertyChangeListeners, getField, getFieldAsList, getFieldAsMap, getFieldAsString, getFieldNames, hasField, isFieldMultikeyed, isFieldMultivalued, removePropertyChangeListener, setField |
| Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from interface org.json.simple.JSONAware |
toJSONString |
| Methods inherited from interface org.json.simple.JSONStreamAware |
writeJSONString |
RestProfileImpl
public RestProfileImpl()
- Default constructor.
RestProfileImpl
public RestProfileImpl(String identityId,
String fullName,
String avatarUrl)
- Constructor to set values.
- Parameters:
identityId - the identity idfullName - the full nameavatarUrl - the avatar url
getIdentityId
public String getIdentityId()
- Gets the identity id associated with this profile.
- Specified by:
getIdentityId in interface RestProfile
- Returns:
- the identity id
setIdentityId
public void setIdentityId(String identityId)
- Sets the identity id associated with this profile.
- Specified by:
setIdentityId in interface RestProfile
- Parameters:
identityId - the identity id
getFullName
public String getFullName()
- Gets the full name of the associated identity.
- Specified by:
getFullName in interface RestProfile
- Returns:
- the full name
setFullName
public void setFullName(String fullName)
- Sets the full name of the associated identity.
- Specified by:
setFullName in interface RestProfile
- Parameters:
fullName - the full name
getAvatarUrl
public String getAvatarUrl()
- Gets the avatar url of the associated identity.
- Specified by:
getAvatarUrl in interface RestProfile
- Returns:
- the avatar url
setAvatarUrl
public void setAvatarUrl(String avatarUrl)
- Sets the avatar url of the associated identity.
- Specified by:
setAvatarUrl in interface RestProfile
- Parameters:
avatarUrl - the avatar url
Copyright © 2011-2012 eXo Platform. All Rights Reserved.