com.jrefinery.report.filter.templates
Interface Template

All Superinterfaces:
java.lang.Cloneable, DataSource, java.io.Serializable
All Known Implementing Classes:
AbstractTemplate

public interface Template
extends DataSource

A template defines a common use case for a DataSource and one or more predefined Filters.

Author:
Thomas Morgner

Method Summary
 Template getInstance()
          Returns an instance of the template.
 java.lang.String getName()
          Returns the template name.
 void setName(java.lang.String name)
          Sets the name of this template.
 
Methods inherited from interface com.jrefinery.report.filter.DataSource
clone, getValue
 

Method Detail

setName

public void setName(java.lang.String name)
Sets the name of this template.

Parameters:
name - the name.

getName

public java.lang.String getName()
Returns the template name.

Returns:
The name.

getInstance

public Template getInstance()
Returns an instance of the template.

Returns:
A template instance.