Interface GeneralDigitalAssetVersionSpec
-
- All Known Implementing Classes:
DigitalAssetVersionSpec,RemoteDigitalAssetVersionSpec
public interface GeneralDigitalAssetVersionSpecDefines the specification of the new digital asset version.- Since:
- 1.6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetComment()Returns the comment.DigitalAssetKeygetKey()Returns the digital asset key.java.lang.StringgetVersionName()Returns the version name.booleanisCurrentVersion()Checks whether this is the current version.voidsetComment(java.lang.String comment)Specifies the comment.voidsetCurrentVersion(boolean currentVersion)Specifies whether the new version of the asset is the current version.voidsetVersionName(java.lang.String versionName)Specifies the version name.
-
-
-
Method Detail
-
isCurrentVersion
boolean isCurrentVersion()
Checks whether this is the current version.
-
setCurrentVersion
void setCurrentVersion(boolean currentVersion)
Specifies whether the new version of the asset is the current version.
-
getVersionName
java.lang.String getVersionName()
Returns the version name.
-
setVersionName
void setVersionName(java.lang.String versionName)
Specifies the version name.
-
getComment
java.lang.String getComment()
Returns the comment.
-
setComment
void setComment(java.lang.String comment)
Specifies the comment.
-
getKey
DigitalAssetKey getKey()
Returns the digital asset key.
-
-