Interface NamedAsset
-
- All Superinterfaces:
BaseAsset
- All Known Subinterfaces:
AssetFactory
,Block
,ContentType
,Destination
,DestinationContainer
,FeedBlock
,File
,Folder
,FolderContainedAsset
,Format
,FTPTransport
,IndexBlock
,MetadataAwareAsset
,MetadataSet
,Page
,PageConfiguration
,PermissionsCapableAsset
,PublishableAsset
,Reference
,ScriptFormat
,Site
,SiteDestinationContainer
,SiteManagementAreaAsset
,StructuredDataDefinition
,Symlink
,Template
,TextBlock
,Transport
,TwitterFeedBlock
,User
,XHTMLDataDefinitionBlock
,XMLBlock
,XSLTFormat
public interface NamedAsset extends BaseAsset
For assets that have a name.- Since:
- 4.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getLabel()
java.lang.String
getName()
Get the name of this asset.void
setName(java.lang.String newName)
Set the asset's name-
Methods inherited from interface com.hannonhill.cascade.api.asset.common.BaseAsset
getAssetId, getAssetType, getIdentifer
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Get the name of this asset.- Returns:
- the current name of this asset
-
getLabel
java.lang.String getLabel()
- Returns:
- Returns asset's label, which is asset's name
-
setName
void setName(java.lang.String newName)
Set the asset's name- Parameters:
newName
- the new name
-
-