DisplayPaper Class Reference

Collaboration diagram for DisplayPaper:

Collaboration graph
[legend]

List of all members.


Public Member Functions

String getQueryParam (String param)
Long getCount ()
Paper getPaper ()
void setPaper (Paper p)
List< Paper > getPapers ()
Dataset getDataset ()
void setDataset (Dataset d)
SortedSet< Dataset > getDatasets ()
YAxis getYAxis ()
void setYAxis (YAxis y)
SortedSet< YAxis > getYAxes ()

Detailed Description

Definition at line 15 of file DisplayPaper.java.


Member Function Documentation

String getQueryParam ( String  param  ) 

Definition at line 24 of file DisplayPaper.java.

00024                                              {
00025        return _reqGlobals.getRequest().getParameter(param);
00026     }

Long getCount (  ) 

Definition at line 28 of file DisplayPaper.java.

00028                           {
00029         return (Long) constructQuery("count").uniqueResult();
00030     }

Paper getPaper (  ) 

Definition at line 34 of file DisplayPaper.java.

00034 { return _paper; }

void setPaper ( Paper  p  ) 

Definition at line 35 of file DisplayPaper.java.

00035 { _paper = p; }

List<Paper> getPapers (  ) 

Definition at line 37 of file DisplayPaper.java.

00037                                    {
00038         Query q = constructQuery();
00039         // execute the query and return the list of results
00040         return q.list();   
00041     }

Dataset getDataset (  ) 

Definition at line 45 of file DisplayPaper.java.

00045 { return _dataset; }

void setDataset ( Dataset  d  ) 

Definition at line 46 of file DisplayPaper.java.

00046 { _dataset = d; }

SortedSet<Dataset> getDatasets (  ) 

Definition at line 47 of file DisplayPaper.java.

00047                                             {
00048         return _paper.getDatasets();
00049     }

YAxis getYAxis (  ) 

Definition at line 53 of file DisplayPaper.java.

00053 { return _yaxis; }

void setYAxis ( YAxis  y  ) 

Definition at line 54 of file DisplayPaper.java.

00054 { _yaxis = y; }

SortedSet<YAxis> getYAxes (  ) 

Definition at line 55 of file DisplayPaper.java.

00055                                        {
00056         return _dataset.getYAxes();
00057     }


The documentation for this class was generated from the following file:


Generated on Tue Apr 21 15:55:02 2009 for HepData Web servlets by  doxygen 1.5.5