Class DigitalAssetVersionSpec
java.lang.Object
com.orchestranetworks.addon.dama.ext.bean.DigitalAssetVersionSpec
- All Implemented Interfaces:
GeneralDigitalAssetVersionSpec
Defines the specification of the new digital asset version to upload.
- Since:
- 1.6.0
-
Constructor Summary
ConstructorDescriptionDigitalAssetVersionSpec
(DigitalAssetKey assetKey, Resource resource) Specifies the new digital asset version's information. -
Method Summary
Modifier and TypeMethodDescriptionReturns the comment.getKey()
Returns the digital asset key.com.orchestranetworks.addon.dama.models.ModificationAction
Returns the resource.Returns the version name.boolean
boolean
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.
-
Constructor Details
-
DigitalAssetVersionSpec
Specifies the new digital asset version's information.- Parameters:
assetKey
- the asset key that will be created for the new versionresource
- the resource to upload
-
-
Method Details
-
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
Returns the version name.- Specified by:
getVersionName
in interfaceGeneralDigitalAssetVersionSpec
-
setVersionName
Specifies the version name.- Specified by:
setVersionName
in interfaceGeneralDigitalAssetVersionSpec
-
getComment
Returns the comment.- Specified by:
getComment
in interfaceGeneralDigitalAssetVersionSpec
-
setComment
Specifies the comment.- Specified by:
setComment
in interfaceGeneralDigitalAssetVersionSpec
-
getKey
Returns the digital asset key.- Specified by:
getKey
in interfaceGeneralDigitalAssetVersionSpec
-
getResource
Returns the resource. -
isCandidate
public boolean isCandidate() -
setCandidate
public void setCandidate(boolean candidate) -
getDataspaceName
-
setDataspaceName
-
getModificationAction
public com.orchestranetworks.addon.dama.models.ModificationAction getModificationAction() -
setModificationAction
public void setModificationAction(com.orchestranetworks.addon.dama.models.ModificationAction modificationAction)
-