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 theGeneralDigitalAssetVersionSpecfrom 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.StringgetComment()Returns the comment.java.lang.StringgetExternalId()Returns the digital asset version's external Id.java.math.BigDecimalgetFileSize()Returns the digital asset version's file size.DigitalAssetKeygetKey()Return the digital asset's key.java.lang.StringgetMd5CheckSumOfFile()Returns checksum of the file.java.lang.StringgetPhysicalName()Returns the digital asset version's physical name.java.lang.StringgetProfileAuthor()Returns the profile author.SizegetSize()Returns the image size.java.util.DategetStorageDate()Returns the storage date.java.lang.StringgetVersionName()Return the version name.booleanisCurrentVersion()Checks whether this is the current version.voidsetComment(java.lang.String comment)Specifies the comment.voidsetCurrentVersion(boolean currentVersion)Specifies whether the new version of the asset is the current version.voidsetExternalId(java.lang.String externalId)Specifies the digital asset version's external id.voidsetFileSize(java.math.BigDecimal fileSize)Specifies the digital asset version's file size.voidsetMd5CheckSumOfFile(java.lang.String md5CheckSumOfFile)Specifies checksum of the file.voidsetPhysicalName(java.lang.String physicalName)Specifies the digital asset version's physical name.voidsetProfileAuthor(java.lang.String profileAuthor)Specifies the profile author.voidsetSize(Size size)Specifies the image size.voidsetStorageDate(java.util.Date storageDate)Specifies the storage date.voidsetVersionName(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:
isCurrentVersionin interfaceGeneralDigitalAssetVersionSpec
-
setCurrentVersion
public void setCurrentVersion(boolean currentVersion)
Specifies whether the new version of the asset is the current version.- Specified by:
setCurrentVersionin interfaceGeneralDigitalAssetVersionSpec
-
getVersionName
public java.lang.String getVersionName()
Return the version name.- Specified by:
getVersionNamein interfaceGeneralDigitalAssetVersionSpec
-
setVersionName
public void setVersionName(java.lang.String versionName)
Specifies the version name.- Specified by:
setVersionNamein interfaceGeneralDigitalAssetVersionSpec
-
getComment
public java.lang.String getComment()
Returns the comment.- Specified by:
getCommentin interfaceGeneralDigitalAssetVersionSpec
-
setComment
public void setComment(java.lang.String comment)
Specifies the comment.- Specified by:
setCommentin interfaceGeneralDigitalAssetVersionSpec
-
getKey
public DigitalAssetKey getKey()
Return the digital asset's key.- Specified by:
getKeyin interfaceGeneralDigitalAssetVersionSpec
-
-