public final class DigitalAssetVersionSpec extends Object implements GeneralDigitalAssetVersionSpec
| Constructor and Description |
|---|
DigitalAssetVersionSpec(DigitalAssetKey assetKey,
Resource resource)
Specifies the new digital asset version's information.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getComment()
Returns the comment.
|
List<String> |
getDataspaceName() |
DigitalAssetKey |
getKey()
Returns the digital asset key.
|
com.orchestranetworks.addon.dama.models.ModificationAction |
getModificationAction() |
Resource |
getResource()
Returns the resource.
|
String |
getVersionName()
Returns the version name.
|
boolean |
isCandidate() |
boolean |
isCurrentVersion()
Checks whether this is the current version.
|
void |
setCandidate(boolean candidate) |
void |
setComment(String comment)
Specifies the comment.
|
void |
setCurrentVersion(boolean currentVersion)
Specifies whether the new version of the asset is the current version.
|
void |
setDataspaceName(List<String> dataspaceName) |
void |
setModificationAction(com.orchestranetworks.addon.dama.models.ModificationAction modificationAction) |
void |
setVersionName(String versionName)
Specifies the version name.
|
public DigitalAssetVersionSpec(DigitalAssetKey assetKey, Resource resource)
assetKey - the asset key that will be created for the new versionresource - the resource to uploadpublic boolean isCurrentVersion()
isCurrentVersion in interface GeneralDigitalAssetVersionSpecpublic void setCurrentVersion(boolean currentVersion)
setCurrentVersion in interface GeneralDigitalAssetVersionSpecpublic String getVersionName()
getVersionName in interface GeneralDigitalAssetVersionSpecpublic void setVersionName(String versionName)
setVersionName in interface GeneralDigitalAssetVersionSpecpublic String getComment()
getComment in interface GeneralDigitalAssetVersionSpecpublic void setComment(String comment)
setComment in interface GeneralDigitalAssetVersionSpecpublic DigitalAssetKey getKey()
getKey in interface GeneralDigitalAssetVersionSpecpublic Resource getResource()
public boolean isCandidate()
public void setCandidate(boolean candidate)
public com.orchestranetworks.addon.dama.models.ModificationAction getModificationAction()
public void setModificationAction(com.orchestranetworks.addon.dama.models.ModificationAction modificationAction)