com.day.cq.commons
Interface LabeledResource

All Known Subinterfaces:
Component, Page, Template, VirtualComponent
All Known Implementing Classes:
ComponentImpl, JcrLabeledResource, PageImpl, TemplateImpl, VirtualComponentImpl

public interface LabeledResource

Describes a resource that provides some information about its labels.


Method Summary
 String getDescription()
          Returns the description of this resource.
 String getName()
          Returns the name of this resource.
 String getPath()
          Returns the path of this resource
 String getTitle()
          Returns the tile of this resource.
 

Method Detail

getPath

String getPath()
Returns the path of this resource

Returns:
the path of this resource

getName

String getName()
Returns the name of this resource. this is usually the last segment of it's path.

Returns:
the name of the resource

getTitle

String getTitle()
Returns the tile of this resource.

Returns:
the tile of this resource or null if not defined.

getDescription

String getDescription()
Returns the description of this resource.

Returns:
the description of this resource or null if not defined.


Copyright © 2008 Day Management AG. All Rights Reserved.