org.pentaho.platform.engine.core.solution
Class ContentInfo

java.lang.Object
  extended by org.pentaho.platform.engine.core.solution.ContentInfo
All Implemented Interfaces:
IContentInfo

public class ContentInfo
extends Object
implements IContentInfo


Constructor Summary
ContentInfo()
           
 
Method Summary
 String getDescription()
          The description of this content type as presented to the user Implementors of this interface should provide localization for the description
 String getExtension()
          The extension of files that generate this content type.
 String getMimeType()
          The mime-type of the generated content e.g.
 String getTitle()
          The title of this content type as presented to the user Implementors of this interface should provide localization for the title e.g.
 void setDescription(String description)
           
 void setExtension(String extension)
           
 void setMimeType(String mimeType)
           
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentInfo

public ContentInfo()
Method Detail

getDescription

public String getDescription()
Description copied from interface: IContentInfo
The description of this content type as presented to the user Implementors of this interface should provide localization for the description

Specified by:
getDescription in interface IContentInfo
Returns:
title

setDescription

public void setDescription(String description)

getExtension

public String getExtension()
Description copied from interface: IContentInfo
The extension of files that generate this content type. e.g. 'xaction'

Specified by:
getExtension in interface IContentInfo
Returns:
file extension

setExtension

public void setExtension(String extension)

getMimeType

public String getMimeType()
Description copied from interface: IContentInfo
The mime-type of the generated content e.g. 'text/html'

Specified by:
getMimeType in interface IContentInfo
Returns:
mime type

setMimeType

public void setMimeType(String mimeType)

getTitle

public String getTitle()
Description copied from interface: IContentInfo
The title of this content type as presented to the user Implementors of this interface should provide localization for the title e.g. 'Executable action'

Specified by:
getTitle in interface IContentInfo
Returns:
title

setTitle

public void setTitle(String title)