public final class DigitalAssetSpec extends Object implements GeneralDigitalAssetSpec
Constructor and Description |
---|
DigitalAssetSpec(Resource resource)
Instantiates the new
DigitalAssetSpec . |
Modifier and Type | Method and Description |
---|---|
com.onwbp.base.text.UserMessage |
getDescription()
Returns the description.
|
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 |
setLabel(com.onwbp.base.text.UserMessage label)
Specifies the label.
|
public DigitalAssetSpec(Resource resource)
DigitalAssetSpec
.resource
- the resource to create new digital assetpublic com.onwbp.base.text.UserMessage getLabel()
getLabel
in interface GeneralDigitalAssetSpec
public void setLabel(com.onwbp.base.text.UserMessage label)
setLabel
in interface GeneralDigitalAssetSpec
public com.onwbp.base.text.UserMessage getDescription()
getDescription
in interface GeneralDigitalAssetSpec
public void setDescription(com.onwbp.base.text.UserMessage description)
setDescription
in interface GeneralDigitalAssetSpec
public Resource getResource()