org.weda.report.impl
Class AbstractReport

java.lang.Object
  extended by org.weda.report.impl.AbstractReport
All Implemented Interfaces:
Report
Direct Known Subclasses:
ExcelReport, TextReport

public abstract class AbstractReport
extends java.lang.Object
implements Report

Author:
Mikhail Titov

Constructor Summary
AbstractReport()
           
 
Method Summary
 java.lang.String getGroup()
          Метод возвращает имя группы к которой принадлежит отчет.
 java.lang.String getMimeType()
          Метод возвращает mime тип отчета.
 java.lang.String getName()
          Метод возвращает имя отчета.
 void setGroup(java.lang.String group)
           
 void setMimeType(java.lang.String mimeType)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.weda.report.Report
generate, release
 

Constructor Detail

AbstractReport

public AbstractReport()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: Report
Метод возвращает имя отчета. Имя должно быть уникальным в группе.

Specified by:
getName in interface Report
See Also:
Report.getGroup()

setName

public void setName(java.lang.String name)

getGroup

public java.lang.String getGroup()
Description copied from interface: Report
Метод возвращает имя группы к которой принадлежит отчет.

Specified by:
getGroup in interface Report
See Also:
Report.getName(), ReportRegistry#getReportsForGroup(String)

setGroup

public void setGroup(java.lang.String group)

getMimeType

public java.lang.String getMimeType()
Description copied from interface: Report
Метод возвращает mime тип отчета.

Specified by:
getMimeType in interface Report

setMimeType

public void setMimeType(java.lang.String mimeType)


Copyright © 2005-2006 . All Rights Reserved.