public class RestLike extends Model
| Modifier and Type | Class and Description |
|---|---|
static class |
RestLike.Field
The fields that represent the RestLike object in json form.
|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>propertyChanges| Constructor and Description |
|---|
RestLike()
Constructor without param.
|
RestLike(String activityId,
String identityId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
RestActivity |
getActivity()
Gets the activity associated with this like.
|
String |
getActivityId()
Gets the activity id.
|
RestIdentity |
getIdentity()
Gets the identity associated with this like.
|
String |
getIdentityId()
Gets the identity id.
|
void |
setActivityId(String activityId)
Sets the activity id.
|
void |
setIdentityId(String identityId)
Sets the 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 String getActivityId()
public void setActivityId(String activityId)
activityId - the activity idpublic String getIdentityId()
public void setIdentityId(String identityId)
identityId - the identity idpublic RestActivity getActivity()
public RestIdentity getIdentity()
Copyright © 2011–2015 eXo Platform SAS. All rights reserved.