public class AssetResponse extends OCFOMASAPIResponse
| Constructor and Description |
|---|
AssetResponse()
Default constructor
|
AssetResponse(AssetResponse template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
Asset |
getAsset()
Return the asset result.
|
int |
getCertificationCount()
Return the count of attached certification.
|
int |
getCommentCount()
Return the count of attached comments.
|
int |
getConnectionCount()
Return the count of connections for the asset.
|
int |
getExternalIdentifierCount()
Return the count of external identifiers for this asset.
|
int |
getExternalReferencesCount()
Return the count of attached external references.
|
int |
getInformalTagCount()
Return the count of attached informal tags.
|
int |
getKnownLocationsCount()
Return the count of known locations.
|
LastAttachment |
getLastAttachment()
Return the record of the last attachment to be made to the asset.
|
int |
getLicenseCount()
Return the count of license for this asset.
|
int |
getLikeCount()
Return the number of likes for the asset.
|
int |
getNoteLogsCount()
Return the count of attached note logs.
|
int |
getRatingsCount()
Return the count of attached ratings.
|
int |
getRelatedAssetCount()
Return the count of related assets.
|
int |
getRelatedMediaReferenceCount()
Return the count of related media references.
|
SchemaType |
getSchemaType()
Is there an attached schema?
|
int |
hashCode()
Return hash code for this object
|
void |
setAsset(Asset asset)
Set up the asset result.
|
void |
setCertificationCount(int certificationCount)
Set up the count of attached certifications for the asset.
|
void |
setCommentCount(int commentCount)
Set up the count of attached comments.
|
void |
setConnectionCount(int connectionCount)
Set up the count of connections.
|
void |
setExternalIdentifierCount(int externalIdentifierCount)
Set up the count of external identifiers for this asset.
|
void |
setExternalReferencesCount(int externalReferencesCount)
Set up the count of attached external references.
|
void |
setInformalTagCount(int informalTagCount)
Set up the count of attached informal tags.
|
void |
setKnownLocationsCount(int knownLocationsCount)
Set up the count of known locations.
|
void |
setLastAttachment(LastAttachment lastAttachment)
Set up the record of the last attachment to be made to the asset.
|
void |
setLicenseCount(int licenseCount)
Set up the count of licenses for this asset.
|
void |
setLikeCount(int likeCount)
Set up the count of likes for the asset.
|
void |
setNoteLogsCount(int noteLogsCount)
Set up the count of attached note logs.
|
void |
setRatingsCount(int ratingsCount)
Set up the count of attach ratings.
|
void |
setRelatedAssetCount(int relatedAssetCount)
Set up the count of related assets.
|
void |
setRelatedMediaReferenceCount(int relatedMediaReferenceCount)
Set up the count of related media references.
|
void |
setSchemaType(SchemaType schemaType)
Set up whether there is an attached schema.
|
String |
toString()
JSON-style toString
|
getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCodepublic AssetResponse()
public AssetResponse(AssetResponse template)
template - object to copypublic Asset getAsset()
public void setAsset(Asset asset)
asset - unique identifierpublic int getCertificationCount()
public void setCertificationCount(int certificationCount)
certificationCount - countpublic int getCommentCount()
public void setCommentCount(int commentCount)
commentCount - countpublic int getConnectionCount()
public void setConnectionCount(int connectionCount)
connectionCount - countpublic int getExternalIdentifierCount()
public void setExternalIdentifierCount(int externalIdentifierCount)
externalIdentifierCount - countpublic int getExternalReferencesCount()
public void setExternalReferencesCount(int externalReferencesCount)
externalReferencesCount - countpublic int getInformalTagCount()
public void setInformalTagCount(int informalTagCount)
informalTagCount - countpublic int getLicenseCount()
public void setLicenseCount(int licenseCount)
licenseCount - countpublic int getLikeCount()
public void setLikeCount(int likeCount)
likeCount - countpublic int getKnownLocationsCount()
public void setKnownLocationsCount(int knownLocationsCount)
knownLocationsCount - countpublic int getNoteLogsCount()
public void setNoteLogsCount(int noteLogsCount)
noteLogsCount - countpublic int getRatingsCount()
public void setRatingsCount(int ratingsCount)
ratingsCount - countpublic int getRelatedAssetCount()
public void setRelatedAssetCount(int relatedAssetCount)
relatedAssetCount - countpublic int getRelatedMediaReferenceCount()
public void setRelatedMediaReferenceCount(int relatedMediaReferenceCount)
relatedMediaReferenceCount - countpublic SchemaType getSchemaType()
public void setSchemaType(SchemaType schemaType)
schemaType - schema type beanpublic LastAttachment getLastAttachment()
public void setLastAttachment(LastAttachment lastAttachment)
lastAttachment - last attachment detailspublic String toString()
toString in class OCFOMASAPIResponsepublic boolean equals(Object objectToCompare)
equals in class FFDCResponseBaseobjectToCompare - test objectpublic int hashCode()
hashCode in class FFDCResponseBaseCopyright © 2018–2020 ODPi. All rights reserved.