public final class DigitalAssetVersionSpec extends Object implements com.orchestranetworks.addon.dama.ext.bean.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.
|
DigitalAssetKey |
getKey()
Returns the digital asset key.
|
Resource |
getResource()
Returns the resource.
|
String |
getVersionName()
Returns the version name.
|
boolean |
isCurrentVersion()
Checks whether this is the current version.
|
void |
setComment(String comment)
Specifies the comment.
|
void |
setCurrentVersion(boolean currentVersion)
Specifies whether the new version of the asset is the current version.
|
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 com.orchestranetworks.addon.dama.ext.bean.GeneralDigitalAssetVersionSpec
public void setCurrentVersion(boolean currentVersion)
setCurrentVersion
in interface com.orchestranetworks.addon.dama.ext.bean.GeneralDigitalAssetVersionSpec
public String getVersionName()
getVersionName
in interface com.orchestranetworks.addon.dama.ext.bean.GeneralDigitalAssetVersionSpec
public void setVersionName(String versionName)
setVersionName
in interface com.orchestranetworks.addon.dama.ext.bean.GeneralDigitalAssetVersionSpec
public String getComment()
getComment
in interface com.orchestranetworks.addon.dama.ext.bean.GeneralDigitalAssetVersionSpec
public void setComment(String comment)
setComment
in interface com.orchestranetworks.addon.dama.ext.bean.GeneralDigitalAssetVersionSpec
public DigitalAssetKey getKey()
getKey
in interface com.orchestranetworks.addon.dama.ext.bean.GeneralDigitalAssetVersionSpec
public Resource getResource()