org.keridwen.modelling.reporting
Class Report

java.lang.Object
  extended by org.keridwen.modelling.reporting.Report

public class Report
extends Object

This is the main report class. Contains a list of items that will be printed at report generations.

Author:
pierre

Constructor Summary
Report()
          This is the main report class.
Report(ReportMetadata metadata, ArrayList<ReportItem> items)
          This is the main report class.
 
Method Summary
 void addItem(ReportItem item)
          Adds an item to the private list.
 List<ReportItem> getItems()
           
 ReportMetadata getMetadata()
           
 void setItems(ArrayList<ReportItem> items)
           
 void setMetadata(ReportMetadata metadata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Report

public Report(ReportMetadata metadata,
              ArrayList<ReportItem> items)
This is the main report class. Contains a list of items that will be printed at report generations.

Parameters:
metadata -
items -

Report

public Report()
This is the main report class. Contains a list of items that will be printed at report generations.

Method Detail

addItem

public void addItem(ReportItem item)
Adds an item to the private list.

Parameters:
item - ReportItem to add

getMetadata

public ReportMetadata getMetadata()
Returns:
the metadata

setMetadata

public void setMetadata(ReportMetadata metadata)
Parameters:
metadata - the metadata to set

getItems

public List<ReportItem> getItems()
Returns:
the items

setItems

public void setItems(ArrayList<ReportItem> items)
Parameters:
items - the items to set


Copyright © 2012-2013 Artenum. All Rights Reserved.