Class DigitalAssetVersion
- java.lang.Object
-
- com.orchestranetworks.addon.dama.ext.bean.DigitalAssetVersion
-
public final class DigitalAssetVersion extends java.lang.ObjectDefines the version of the digital asset.- Since:
- 1.6.0
-
-
Constructor Summary
Constructors Constructor Description DigitalAssetVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetComment()Return the comment.java.util.List<java.lang.String>getDataspaceName()Return the dataspace name.java.lang.StringgetExternalId()Return the external Id.java.math.BigDecimalgetFileSize()DigitalAssetVersionKeygetKey()Return the digital asset key.com.orchestranetworks.addon.dama.models.ModificationActiongetModificationAction()Return the ModificationAction.java.lang.StringgetPhysicalName()Return the physical name.java.lang.StringgetProfileAuthor()Return the user profile author.java.util.DategetStorageDate()Return the storage date.java.lang.StringgetURL(java.lang.String baseURL)Return the digital asset's URL.java.lang.StringgetVersionName()Return the version name.booleanisCandidate()Checks if is candidate.booleanisCurrentVersion()Checks if is current version.voidsetCandidate(boolean candidate)voidsetComment(java.lang.String comment)Specifies the comment.voidsetDataspaceName(java.util.List<java.lang.String> dataspaceName)voidsetFileSize(java.math.BigDecimal fileSize)voidsetModificationAction(com.orchestranetworks.addon.dama.models.ModificationAction modificationAction)voidsetVersionName(java.lang.String versionName)Specifies the version name.
-
-
-
Method Detail
-
isCurrentVersion
public boolean isCurrentVersion()
Checks if is current version.
-
getFileSize
public java.math.BigDecimal getFileSize()
-
setFileSize
public void setFileSize(java.math.BigDecimal fileSize)
-
getVersionName
public java.lang.String getVersionName()
Return the version name.
-
setVersionName
public void setVersionName(java.lang.String versionName)
Specifies the version name.
-
isCandidate
public boolean isCandidate()
Checks if is candidate.
-
setCandidate
public void setCandidate(boolean candidate)
-
getDataspaceName
public java.util.List<java.lang.String> getDataspaceName()
Return the dataspace name.
-
setDataspaceName
public void setDataspaceName(java.util.List<java.lang.String> dataspaceName)
-
getModificationAction
public com.orchestranetworks.addon.dama.models.ModificationAction getModificationAction()
Return the ModificationAction.
-
setModificationAction
public void setModificationAction(com.orchestranetworks.addon.dama.models.ModificationAction modificationAction)
-
getComment
public java.lang.String getComment()
Return the comment.
-
setComment
public void setComment(java.lang.String comment)
Specifies the comment.
-
getURL
public java.lang.String getURL(java.lang.String baseURL)
Return the digital asset's URL.- Parameters:
baseURL- the base URL. Ex: http://localhost:8080
-
getKey
public DigitalAssetVersionKey getKey()
Return the digital asset key.
-
getExternalId
public java.lang.String getExternalId()
Return the external Id.
-
getPhysicalName
public java.lang.String getPhysicalName()
Return the physical name.
-
getStorageDate
public java.util.Date getStorageDate()
Return the storage date.
-
getProfileAuthor
public java.lang.String getProfileAuthor()
Return the user profile author.
-
-