Class RemoteDigitalAssetVersionSpec
- java.lang.Object
-
- com.orchestranetworks.addon.dama.ext.bean.RemoteDigitalAssetVersionSpec
-
- All Implemented Interfaces:
GeneralDigitalAssetVersionSpec
public final class RemoteDigitalAssetVersionSpec extends java.lang.Object implements GeneralDigitalAssetVersionSpec
Defines theGeneralDigitalAssetVersionSpec
from a 3rd party asset management system.- Since:
- 1.7.0
-
-
Constructor Summary
Constructors Constructor Description RemoteDigitalAssetVersionSpec(DigitalAssetKey assetKey)
Instantiates the newRemoteDigitalAssetVersionSpec
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getComment()
Returns the comment.java.lang.String
getExternalId()
Returns the digital asset version's external Id.java.math.BigDecimal
getFileSize()
Returns the digital asset version's file size.DigitalAssetKey
getKey()
Return the digital asset's key.java.lang.String
getMd5CheckSumOfFile()
Returns checksum of the file.java.lang.String
getPhysicalName()
Returns the digital asset version's physical name.java.lang.String
getProfileAuthor()
Returns the profile author.Size
getSize()
Returns the image size.java.util.Date
getStorageDate()
Returns the storage date.java.lang.String
getVersionName()
Return the version name.boolean
isCurrentVersion()
Checks whether this is the current version.void
setComment(java.lang.String comment)
Specifies the comment.void
setCurrentVersion(boolean currentVersion)
Specifies whether the new version of the asset is the current version.void
setExternalId(java.lang.String externalId)
Specifies the digital asset version's external id.void
setFileSize(java.math.BigDecimal fileSize)
Specifies the digital asset version's file size.void
setMd5CheckSumOfFile(java.lang.String md5CheckSumOfFile)
Specifies checksum of the file.void
setPhysicalName(java.lang.String physicalName)
Specifies the digital asset version's physical name.void
setProfileAuthor(java.lang.String profileAuthor)
Specifies the profile author.void
setSize(Size size)
Specifies the image size.void
setStorageDate(java.util.Date storageDate)
Specifies the storage date.void
setVersionName(java.lang.String versionName)
Specifies the version name.
-
-
-
Constructor Detail
-
RemoteDigitalAssetVersionSpec
public RemoteDigitalAssetVersionSpec(DigitalAssetKey assetKey)
Instantiates the newRemoteDigitalAssetVersionSpec
.- Parameters:
assetKey
- the asset key to be created for the new version
-
-
Method Detail
-
setExternalId
public void setExternalId(java.lang.String externalId)
Specifies the digital asset version's external id.
-
getExternalId
public java.lang.String getExternalId()
Returns the digital asset version's external Id.
-
getPhysicalName
public java.lang.String getPhysicalName()
Returns the digital asset version's physical name.
-
setPhysicalName
public void setPhysicalName(java.lang.String physicalName)
Specifies the digital asset version's physical name.
-
getStorageDate
public java.util.Date getStorageDate()
Returns the storage date.
-
setStorageDate
public void setStorageDate(java.util.Date storageDate)
Specifies the storage date.
-
getProfileAuthor
public java.lang.String getProfileAuthor()
Returns the profile author.
-
setProfileAuthor
public void setProfileAuthor(java.lang.String profileAuthor)
Specifies the profile author.
-
getFileSize
public java.math.BigDecimal getFileSize()
Returns the digital asset version's file size.
-
setFileSize
public void setFileSize(java.math.BigDecimal fileSize)
Specifies the digital asset version's file size.
-
getSize
public Size getSize()
Returns the image size.
-
setSize
public void setSize(Size size)
Specifies the image size.
-
getMd5CheckSumOfFile
public java.lang.String getMd5CheckSumOfFile()
Returns checksum of the file.
-
setMd5CheckSumOfFile
public void setMd5CheckSumOfFile(java.lang.String md5CheckSumOfFile)
Specifies checksum of the file.
-
isCurrentVersion
public boolean isCurrentVersion()
Checks whether this is the current version.- Specified by:
isCurrentVersion
in interfaceGeneralDigitalAssetVersionSpec
-
setCurrentVersion
public void setCurrentVersion(boolean currentVersion)
Specifies whether the new version of the asset is the current version.- Specified by:
setCurrentVersion
in interfaceGeneralDigitalAssetVersionSpec
-
getVersionName
public java.lang.String getVersionName()
Return the version name.- Specified by:
getVersionName
in interfaceGeneralDigitalAssetVersionSpec
-
setVersionName
public void setVersionName(java.lang.String versionName)
Specifies the version name.- Specified by:
setVersionName
in interfaceGeneralDigitalAssetVersionSpec
-
getComment
public java.lang.String getComment()
Returns the comment.- Specified by:
getComment
in interfaceGeneralDigitalAssetVersionSpec
-
setComment
public void setComment(java.lang.String comment)
Specifies the comment.- Specified by:
setComment
in interfaceGeneralDigitalAssetVersionSpec
-
getKey
public DigitalAssetKey getKey()
Return the digital asset's key.- Specified by:
getKey
in interfaceGeneralDigitalAssetVersionSpec
-
-