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
ConstructorsConstructorDescriptionDigitalAssetVersionSpec(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.ModificationActionReturns the resource.Returns the version name.booleanbooleanChecks whether this is the current version.voidsetCandidate(boolean candidate) voidsetComment(String comment) Specifies the comment.voidsetCurrentVersion(boolean currentVersion) Specifies whether the new version of the asset is the current version.voidsetDataspaceName(List<String> dataspaceName) voidsetModificationAction(com.orchestranetworks.addon.dama.models.ModificationAction modificationAction) voidsetVersionName(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:
 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
Returns the version name.- Specified by:
 getVersionNamein interfaceGeneralDigitalAssetVersionSpec
 - 
setVersionName
Specifies the version name.- Specified by:
 setVersionNamein interfaceGeneralDigitalAssetVersionSpec
 - 
getComment
Returns the comment.- Specified by:
 getCommentin interfaceGeneralDigitalAssetVersionSpec
 - 
setComment
Specifies the comment.- Specified by:
 setCommentin interfaceGeneralDigitalAssetVersionSpec
 - 
getKey
Returns the digital asset key.- Specified by:
 getKeyin 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)  
 -