public class RestIdentity extends Model
| Modifier and Type | Class and Description |
|---|---|
static class |
RestIdentity.Field
The fields that represent the Identity object in json form.
|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>propertyChanges| Constructor and Description |
|---|
RestIdentity()
Constructor without any param.
|
RestIdentity(String id,
String providerId,
String remoteId,
RestProfile restProfile)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Gets the identity id.
|
RestProfile |
getProfile()
Gets the profile associated with this identity.
|
String |
getProviderId()
Gets identity provider id.
|
String |
getRemoteId()
Gets the remote identity id.
|
void |
setId(String id)
Sets the identity id.
|
void |
setProfile(RestProfile restProfile)
Sets the profile associated with this identity.
|
void |
setProviderId(String providerId)
Sets identity provider id.
|
void |
setRemoteId(String remoteId)
Sets the remote identity id.
|
addPropertyChangeListener, addToListField, findPropertyChangeListeners, getField, getFieldAsList, getFieldAsMap, getFieldAsString, getFieldNames, hasField, isFieldMultikeyed, isFieldMultivalued, removePropertyChangeListener, setFieldescape, toJSONString, toJSONString, toString, toString, writeJSONString, writeJSONStringclear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCodefinalize, getClass, notify, notifyAll, wait, wait, waitpublic RestIdentity()
public RestIdentity(String id, String providerId, String remoteId, RestProfile restProfile)
id - the identity idproviderId - the identity provider idremoteId - the remote idpublic String getId()
public void setId(String id)
id - the identity idpublic String getProviderId()
public void setProviderId(String providerId)
providerId - the provider idpublic String getRemoteId()
public void setRemoteId(String remoteId)
remoteId - the remote idpublic RestProfile getProfile()
public void setProfile(RestProfile restProfile)
restProfile - the associated profile.Copyright © 2011–2016 eXo Platform SAS. All rights reserved.