public class Like extends ElementHeader
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isPublic |
protected String |
user |
classifications, extendedProperties, guid, type, urlCURRENT_AUDIT_HEADER_VERSION| Constructor and Description |
|---|
Like()
Default constructor
|
Like(Like template)
Copy/clone constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
boolean |
getIsPublic()
Return if this like is private to the creating user.
|
String |
getUser()
Return the user id of the person who created the like.
|
void |
setIsPublic(boolean aPublic)
Set up whether the like is private to the creating user or not.
|
void |
setUser(String user)
Set up he user id of the person who created the like.
|
String |
toString()
Standard toString method.
|
getClassifications, getExtendedProperties, getGUID, getType, getURL, hashCode, setClassifications, setExtendedProperties, setGUID, setType, setURLgetHeaderVersion, setHeaderVersionprotected String user
protected boolean isPublic
public Like()
public Like(Like template)
template - element to copypublic String getUser()
public void setUser(String user)
user - String liking userpublic boolean getIsPublic()
public void setIsPublic(boolean aPublic)
aPublic - booleanpublic String toString()
toString in class ElementHeaderpublic boolean equals(Object objectToCompare)
equals in class ElementHeaderobjectToCompare - supplied objectCopyright © 2018–2020 ODPi. All rights reserved.