public class Like extends ElementHeader
| Modifier and Type | Field and Description |
|---|---|
protected String |
user |
classifications, guid, type, url| Constructor and Description |
|---|
Like()
Default constructor
|
Like(Like templateLike)
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.
|
String |
getUser()
Return the user id of the person who created the like.
|
void |
setUser(String user)
Set up he user id of the person who created the like.
|
String |
toString()
Standard toString method.
|
getClassifications, getGUID, getType, getURL, hashCode, setClassifications, setGUID, setType, setURLprotected String user
public Like()
public Like(Like templateLike)
templateLike - element to copypublic String getUser()
public void setUser(String user)
user - String liking userpublic String toString()
toString in class ElementHeaderpublic boolean equals(Object objectToCompare)
equals in class ElementHeaderobjectToCompare - supplied objectCopyright © 2018 ODPi. All rights reserved.