Definition at line 17 of file RealPaper.java.
Public Member Functions | |
RealPaper () | |
RealPaper (Integer id) throws JetWebException | |
RealPaper | setIRN (Integer irn) |
Integer | getIRN () |
RealPaper | setDirName (String directory) |
String | getDirName () |
RealPaper | setCollaboration (String collaboration) |
String | getCollaboration () |
RealPaper | setReference (String reference) |
String | getReference () |
RealPaper | setCodeAuthor (String codeAuthor) |
String | getCodeAuthor () |
RealPaper | setCodeContact (String contact) |
String | getCodeContact () |
RealPaper | setNPlots (Integer nplots) |
Integer | getNPlots () |
RealPaper | setAccelerator (String accelerator) |
String | getAccelerator () |
Collection< RealPlot > | getPlots () |
HashMap< Integer, RealPlot > | getIndexedPlots () |
RealPaper | addPlot (RealPlot plot) |
RealPlot | getPlot (Integer csnId) |
RealPaper | setTitle (String title) |
String | getTitle () |
RealPaper | setId (Integer id) |
int | getId () |
boolean | containsDataFor (MCProcessType proc) throws JetWebException |
boolean | containsDataFor (Collision collision) throws JetWebException |
boolean | store () throws JetWebException |
boolean | retrieve () throws JetWebException |
void | delete () |
Private Attributes | |
Integer | id_ = -1 |
String | directory_ = null |
String | title_ |
String | reference_ |
String | codeAuthor_ |
String | contact_ |
Integer | nplots_ = 0 |
String | collaboration_ |
String | accelerator_ |
Integer | irn_ |
HashMap< Integer, RealPlot > | plots_ |
|
Definition at line 34 of file RealPaper.java. 00034 { 00035 00036 }
|
|
Definition at line 38 of file RealPaper.java. References RealPaper.id_, and RealPaper.retrieve().
|
|
Definition at line 124 of file RealPaper.java. References DataPlot.getId(), RealPaper.nplots_, and RealPaper.plots_. 00124 { 00125 00126 plots_.put(plot.getId(), plot); 00127 nplots_ = plots_.size(); 00128 return this; 00129 }
|
|
Definition at line 165 of file RealPaper.java. References RealPaper.getPlots(). 00166 { 00167 for(RealPlot plot: getPlots()){ 00168 if(plot.getMCProcessType().getCollision().equals(collision)){ 00169 return true; 00170 } 00171 } 00172 return false; 00173 }
|
|
Definition at line 155 of file RealPaper.java. References RealPaper.getPlots(). 00156 { 00157 for(RealPlot plot: getPlots()){ 00158 if(plot.getMCProcessType().equals(proc)){ 00159 return true; 00160 } 00161 } 00162 return false; 00163 }
|
|
Definition at line 186 of file RealPaper.java. 00186 {
00187
00188 return;
00189 }
|
|
Definition at line 112 of file RealPaper.java. 00112 {
00113 return accelerator_;
00114 }
|
|
Definition at line 85 of file RealPaper.java. 00085 {
00086 return codeAuthor_;
00087 }
|
|
Definition at line 94 of file RealPaper.java. 00094 {
00095 return contact_;
00096 }
|
|
Definition at line 67 of file RealPaper.java. 00067 {
00068 return collaboration_;
00069 }
|
|
Definition at line 58 of file RealPaper.java. 00058 {
00059 return directory_;
00060 }
|
|
Get the unique ID of the object Implements Storeable. Definition at line 151 of file RealPaper.java. Referenced by CombinedPaper.CombinedPaper(), and Fit.populatePapers(). 00151 {
00152 return id_;
00153 }
|
|
Definition at line 120 of file RealPaper.java. 00120 {
00121 return plots_;
00122 }
|
|
Definition at line 48 of file RealPaper.java. 00048 {
00049 return irn_;
00050 }
|
|
Definition at line 103 of file RealPaper.java. 00103 {
00104 return nplots_;
00105 }
|
|
Definition at line 131 of file RealPaper.java. References RealPaper.plots_. Referenced by CombinedPaper.getFitChi2(). 00131 { 00132 00133 return plots_.get(csnId); 00134 }
|
|
Definition at line 116 of file RealPaper.java. References RealPaper.plots_. Referenced by RealPaper.containsDataFor(). 00116 { 00117 return plots_.values(); 00118 }
|
|
Definition at line 76 of file RealPaper.java. 00076 {
00077 return reference_;
00078 }
|
|
Definition at line 142 of file RealPaper.java. 00142 {
00143 return title_;
00144 }
|
|
Populate the object in memory from the database. Return true if the information retrieved is up to date. Implements Storeable. Definition at line 181 of file RealPaper.java. Referenced by RealPaper.RealPaper(). 00181 { 00182 DBPlotManager.fillRealPaper(this); 00183 return true; 00184 }
|
|
Definition at line 107 of file RealPaper.java. References RealPaper.accelerator_. 00107 { 00108 accelerator_ = accelerator; 00109 return this; 00110 }
|
|
Definition at line 80 of file RealPaper.java. References RealPaper.codeAuthor_. 00080 { 00081 codeAuthor_ = codeAuthor; 00082 return this; 00083 }
|
|
Definition at line 89 of file RealPaper.java. References RealPaper.contact_. 00089 { 00090 contact_ = contact; 00091 return this; 00092 }
|
|
Definition at line 62 of file RealPaper.java. References RealPaper.collaboration_. 00062 { 00063 collaboration_ = collaboration; 00064 return this; 00065 }
|
|
Definition at line 53 of file RealPaper.java. References RealPaper.directory_. 00053 { 00054 directory_ = directory; 00055 return this; 00056 }
|
|
Definition at line 146 of file RealPaper.java. References RealPaper.id_. 00146 { 00147 id_ = id; 00148 return this; 00149 }
|
|
Definition at line 43 of file RealPaper.java. References RealPaper.irn_. 00043 { 00044 irn_ = irn; 00045 return this; 00046 }
|
|
Definition at line 98 of file RealPaper.java. References RealPaper.nplots_. 00098 { 00099 nplots_ = nplots; 00100 return this; 00101 }
|
|
Definition at line 71 of file RealPaper.java. References RealPaper.reference_. 00071 { 00072 reference_ = reference; 00073 return this; 00074 }
|
|
Definition at line 137 of file RealPaper.java. References RealPaper.title_. 00137 { 00138 title_ = title; 00139 return this; 00140 }
|
|
Write the object in memory to the database. If the ID does not exist in the DB the object is inserted as a new entry. If the ID exists, that entry is updated.
Implements Storeable. Definition at line 176 of file RealPaper.java. 00176 { 00177 boolean paperExisted = DBPlotManager.addRealPaper(this); 00178 return !paperExisted; 00179 }
|
|
Definition at line 27 of file RealPaper.java. Referenced by RealPaper.setAccelerator(). |
|
Definition at line 23 of file RealPaper.java. Referenced by RealPaper.setCodeAuthor(). |
|
Definition at line 26 of file RealPaper.java. Referenced by RealPaper.setCollaboration(). |
|
Definition at line 24 of file RealPaper.java. Referenced by RealPaper.setCodeContact(). |
|
Definition at line 20 of file RealPaper.java. Referenced by RealPaper.setDirName(). |
|
Definition at line 19 of file RealPaper.java. Referenced by RealPaper.RealPaper(), and RealPaper.setId(). |
|
Definition at line 28 of file RealPaper.java. Referenced by RealPaper.setIRN(). |
|
Definition at line 25 of file RealPaper.java. Referenced by RealPaper.addPlot(), and RealPaper.setNPlots(). |
|
Initial value:
new HashMap<Integer RealPlot>()
Definition at line 30 of file RealPaper.java. Referenced by RealPaper.addPlot(), RealPaper.getPlot(), and RealPaper.getPlots(). |
|
Definition at line 22 of file RealPaper.java. Referenced by RealPaper.setReference(). |
|
Definition at line 21 of file RealPaper.java. Referenced by RealPaper.setTitle(). |
Generated Wed Jan 17 09:14:27 GMT 2007