Class DigitalAssetSpec
- java.lang.Object
-
- com.orchestranetworks.addon.dama.ext.bean.DigitalAssetSpec
-
- All Implemented Interfaces:
GeneralDigitalAssetSpec
public final class DigitalAssetSpec extends java.lang.Object implements GeneralDigitalAssetSpec
Defines the specification of the new digital asset to upload.- Since:
- 1.6.0
-
-
Constructor Summary
Constructors Constructor Description DigitalAssetSpec(Resource resource)
Instantiates the newDigitalAssetSpec
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.onwbp.base.text.UserMessage
getDescription()
Returns the description.FolderKey
getFolderKey()
Specifies the folder key.com.onwbp.base.text.UserMessage
getLabel()
Returns the label.Resource
getResource()
Returns the resource.void
setDescription(com.onwbp.base.text.UserMessage description)
Specifies the description.void
setFolderKey(FolderKey folderKey)
Returns the folder key.void
setLabel(com.onwbp.base.text.UserMessage label)
Specifies the label.
-
-
-
Constructor Detail
-
DigitalAssetSpec
public DigitalAssetSpec(Resource resource)
Instantiates the newDigitalAssetSpec
.- Parameters:
resource
- the resource to create new digital asset
-
-
Method Detail
-
getLabel
public com.onwbp.base.text.UserMessage getLabel()
Returns the label.- Specified by:
getLabel
in interfaceGeneralDigitalAssetSpec
-
setLabel
public void setLabel(com.onwbp.base.text.UserMessage label)
Specifies the label.- Specified by:
setLabel
in interfaceGeneralDigitalAssetSpec
-
getDescription
public com.onwbp.base.text.UserMessage getDescription()
Returns the description.- Specified by:
getDescription
in interfaceGeneralDigitalAssetSpec
-
setDescription
public void setDescription(com.onwbp.base.text.UserMessage description)
Specifies the description.- Specified by:
setDescription
in interfaceGeneralDigitalAssetSpec
-
getResource
public Resource getResource()
Returns the resource.
-
getFolderKey
public FolderKey getFolderKey()
Specifies the folder key.
-
setFolderKey
public void setFolderKey(FolderKey folderKey)
Returns the folder key.
-
-