public class LikeElement extends Object implements MetadataElement, Serializable
| Constructor and Description |
|---|
LikeElement()
Default constructor
|
LikeElement(LikeElement template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
ElementHeader |
getElementHeader()
Return the element header associated with the properties.
|
LikeProperties |
getLikeProperties()
Return the properties for the like.
|
int |
hashCode()
Return hash code for this object
|
void |
setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.
|
void |
setLikeProperties(LikeProperties likeProperties)
Set up the properties for the like.
|
String |
toString()
JSON-style toString
|
public LikeElement()
public LikeElement(LikeElement template)
template - object to copypublic ElementHeader getElementHeader()
getElementHeader in interface MetadataElementpublic void setElementHeader(ElementHeader elementHeader)
setElementHeader in interface MetadataElementelementHeader - element header objectpublic LikeProperties getLikeProperties()
public void setLikeProperties(LikeProperties likeProperties)
likeProperties - properties beanpublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.