Read-only snapshot of an AltFormat entity, describing one derived rendition (such as a thumbnail) of a binary asset's source file. Instances are built from an AltFormat by AssetManager when listing the alternative formats available for an asset, so callers get a plain, detached view rather than a live Hibernate entity.


Properties

PropertyReturnsDescription
altHashStringThe content hash of the generated alternative file, once it has been produced.
cdnUrlStringThe CDN URL from which this alternative format can be fetched, if one has been generated.
endDateDateThe date generation of this alternative format finished, whether it succeeded or failed.
errorMsgStringThe error message recorded if generation of this alternative format failed.
idlongThe database id of the underlying AltFormat record.
nameStringThe name identifying this alternative format, for example "thumb-120x120.png".
sourceHashStringThe content hash of the original source file that this alternative format was derived from.
startDateDateThe date generation of this alternative format started.

Methods

getId()

Returns: long

The database id of the underlying AltFormat record.

getCdnUrl()

Returns: String

The CDN URL from which this alternative format can be fetched, if one has been generated.

getSourceHash()

Returns: String

The content hash of the original source file that this alternative format was derived from.

getName()

Returns: String

The name identifying this alternative format, for example "thumb-120x120.png".

getAltHash()

Returns: String

The content hash of the generated alternative file, once it has been produced.

getStartDate()

Returns: Date

The date generation of this alternative format started.

getEndDate()

Returns: Date

The date generation of this alternative format finished, whether it succeeded or failed.

getErrorMsg()

Returns: String

The error message recorded if generation of this alternative format failed.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.