EditModifyPaper Class Reference

Collaboration diagram for EditModifyPaper:

Collaboration graph
[legend]

List of all members.


Public Member Functions

Long getRednew ()
void setRednew (Long rednew)
String getSpiresId ()
void setSpiresId (String spiresId)
String getAuthornew ()
void setAuthornew (String authornew, Paper paper)
Paper getPaper ()
void setPaper (Paper paper)
List< Paper > getPapers ()

Detailed Description

Definition at line 16 of file EditModifyPaper.java.


Member Function Documentation

Long getRednew (  ) 

Definition at line 23 of file EditModifyPaper.java.

00023 { return rednew; } 

void setRednew ( Long  rednew  ) 

Definition at line 24 of file EditModifyPaper.java.

00024 {this.rednew = rednew;}

String getSpiresId (  ) 

Definition at line 28 of file EditModifyPaper.java.

00028 { return spiresId; } 

void setSpiresId ( String  spiresId  ) 

Definition at line 29 of file EditModifyPaper.java.

00029 {this.spiresId = spiresId;}

String getAuthornew (  ) 

Definition at line 33 of file EditModifyPaper.java.

00033 { return authornew; } 

void setAuthornew ( String  authornew,
Paper  paper 
)

Definition at line 34 of file EditModifyPaper.java.

00034                                                            {
00035        paper.getAuthors().clear();
00036        paper.getAuthors().add(authornew);
00037     }

Paper getPaper (  ) 

Definition at line 40 of file EditModifyPaper.java.

00040 { return paper; } 

void setPaper ( Paper  paper  ) 

Definition at line 41 of file EditModifyPaper.java.

00041 {this.paper = paper;}

List<Paper> getPapers (  ) 

Definition at line 48 of file EditModifyPaper.java.

00048                                    {
00049         System.out.println(" getting papers in editmodifypaper ");
00050         Query q =  _session.createQuery("select distinct p from Paper p where p._spiresId=:spiresId");
00051         q.setString("spiresId",spiresId);
00052         q.uniqueResult();
00053         return q.list();
00054     }   


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


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