public class AssetLike extends AssetElementHeader
| Modifier and Type | Field and Description |
|---|---|
protected Like |
likeBean |
parentAsset| Constructor and Description |
|---|
AssetLike(AssetDescriptor parentAsset,
AssetLike templateLike)
Copy/clone constructor.
|
AssetLike(AssetDescriptor parentAsset,
Like likeBean)
Bean constructor with parent asset
|
AssetLike(Like likeBean)
Bean 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.
|
protected Like |
getLikeBean()
Return the bean with the properties.
|
String |
getUser()
Return the user id of the person who created the like.
|
boolean |
isPublic()
Return if this like is private to the creating user.
|
String |
toString()
Standard toString method.
|
getAssetClassifications, getElementHeaderBean, getExtendedProperties, getGUID, getType, getURL, hashCode, setBeangetParentAsset, getParentAssetName, getParentAssetTypeNameprotected Like likeBean
public AssetLike(Like likeBean)
likeBean - bean containing the like propertiespublic AssetLike(AssetDescriptor parentAsset, Like likeBean)
parentAsset - descriptor for parent assetlikeBean - bean containing the like propertiespublic AssetLike(AssetDescriptor parentAsset, AssetLike templateLike)
parentAsset - descriptor for parent assettemplateLike - element to copyprotected Like getLikeBean()
public boolean isPublic()
public String getUser()
public String toString()
toString in class AssetElementHeaderpublic boolean equals(Object objectToCompare)
equals in class AssetElementHeaderobjectToCompare - supplied objectCopyright © 2018–2020 ODPi. All rights reserved.