Changeset 1386
- Timestamp:
- Jan 16, 2006, 2:35:16 PM (17 years ago)
- Location:
- trunk/src/org/proteios/core/element
- Files:
-
- 10 added
- 2 deleted
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/proteios/core/element/CvLookup.java
r787 r1386 34 34 /** 35 35 Get a reference to the associated MzData element. 36 @hibernate.many-to-one class="org.proteios.core.element.MzData" column="` MzData`"36 @hibernate.many-to-one class="org.proteios.core.element.MzData" column="`mzData`" 37 37 */ 38 38 public MzData getMzData() -
trunk/src/org/proteios/core/element/DBSearchParameters.java
r969 r1386 41 41 { 42 42 43 private Set fixed_modification_collection = new HashSet();44 private Set variable_modification_collection = new HashSet();45 43 private Set taxonomical_filter_collection = new HashSet(); 46 44 private Set enzyme_collection = new HashSet(); … … 180 178 this.db_search_param_collection = db_search_param_collection; 181 179 } 182 183 /** 184 * @hibernate.set 185 * inverse="true" 186 * lazy="true" 187 * @hibernate.collection-one-to-many 188 * class="org.proteios.core.element.FixedModification" 189 * @hibernate.collection-key 190 * column="`DBSearchParameters`" 191 */ 192 public Set getFixedModificationCollection() 193 { 194 return fixed_modification_collection; 195 } 196 private void setFixedModificationCollection(Set fixed_modification_collection) 197 { 198 this.fixed_modification_collection = fixed_modification_collection; 199 } 200 201 /** 202 * @hibernate.set 203 * inverse="true" 204 * lazy="true" 205 * @hibernate.collection-one-to-many 206 * class="org.proteios.core.element.VariableModification" 207 * @hibernate.collection-key 208 * column="`DBSearchParameters`" 209 */ 210 public Set getVariableModificationCollection() 211 { 212 return variable_modification_collection; 213 } 214 private void setVariableModificationCollection(Set variable_modification_collection) 215 { 216 this.variable_modification_collection = variable_modification_collection; 217 } 218 180 219 181 /** 220 182 * @hibernate.property -
trunk/src/org/proteios/core/element/GelItem.java
r1343 r1386 78 78 System.out.println("Ok to add PLGS project"); 79 79 retval=true; 80 } 81 } 82 else if (child instanceof MzData) 83 { 84 String target=((MzData) child).getTarget_id(); 85 String microplate=((MzData) child).getMPId(); 86 if (!this.getTarget_id().equals("") || !this.getMPId().equals("")) 87 { 88 // Either target or microplate should be set in the MzData, not both 89 if (target.equals("")) 90 { 91 retval= (this.getMPLabel().equals(((MzData)child).getMPLabel()) && this.getMPId().equals(microplate)); 92 } 93 if (MPId.equals("")) 94 { 95 retval= (this.getTarget_id().equals(((MzData)child).getTarget_position()) && this.getTarget_id().equals(target)); 96 } 97 } 98 else 99 { 100 retval = (this.getTarget_id().equals(target) && this.getMPId().equals(microplate) && this.getMPLabel().equals(((MzData) child).getMPLabel()) && this.getTarget_position().equals(((MzData) child).getTarget_position())); 80 101 } 81 102 } … … 171 192 } 172 193 } 173 // If neither MP or target is given in the mzData or in in the Spot it174 // is ok to add175 else if (this.getMPId().equals(microplate) && this.getTarget_id().equals(target) && target.equals(""))194 // If all MP and target info is equal it is ok to add. 195 // Even if empty string att all positions 196 else if (this.getMPId().equals(microplate) && this.getTarget_id().equals(target) && (this.getMPLabel().equals(((MzData) child).getMPLabel())) && (this.getTarget_position().equals(((MzData) child).getTarget_position()))) 176 197 { 177 198 okpos=true; … … 204 225 } 205 226 } 227 // Go down one step to add MzAnalysis 228 else if (child instanceof MzAnalysis) 229 { 230 List child_elts = getChildren(this); 231 for (int i = 0; i < child_elts.size(); ++i) 232 { 233 Object child_elt = child_elts.get(i); 234 if (child_elt instanceof MzData) 235 { 236 retval = ((MzData) child_elt).addChildTree((MzData) child_elt,child); 237 } 238 } 239 } 206 240 // Use normal addition for addition of other elements 207 241 else … … 209 243 retval=super.addChildTree(parent,child); 210 244 } 211 212 245 return retval; 213 246 } -
trunk/src/org/proteios/core/element/MatchedMass.java
r787 r1386 19 19 package org.proteios.core.element; 20 20 21 import java.util.S et;22 import java.util. HashSet;21 import java.util.SortedSet; 22 import java.util.TreeSet; 23 23 24 24 import org.proteios.core.Element; … … 35 35 private ProteinHit protein_hit; 36 36 private Double predicted_mass = new Double(0); 37 private S et modification_collection = new HashSet();37 private SortedSet modification_collection = new TreeSet(); 38 38 39 39 public MatchedMass() … … 71 71 * inverse="true" 72 72 * lazy="true" 73 * sort="natural" 73 74 * @hibernate.collection-one-to-many 74 75 * class="org.proteios.core.element.Modification" … … 76 77 * column="`MatchedMass`" 77 78 */ 78 public S et getModificationCollection()79 public SortedSet getModificationCollection() 79 80 { 80 81 return modification_collection; 81 82 } 82 private void setModificationCollection(S et modification_collection)83 private void setModificationCollection(SortedSet modification_collection) 83 84 { 84 85 this.modification_collection = modification_collection; -
trunk/src/org/proteios/core/element/Modification.java
r787 r1386 36 36 public class Modification 37 37 extends Element 38 implements Comparable 38 39 { 39 40 40 private Protein protein;41 private MzAnalysis mzAnalysis; 41 42 private MatchedMass matched_mass; 42 43 private PeptideHit peptide_hit; 43 private String modification = ""; 44 private String name = ""; 45 private float monoIsotopicDeltaMass; 46 private float averageDeltaMass; 47 private float averageMass; 48 private float monoIsotopicMass; 49 private boolean variable; 50 private String terminalSpecificity=""; 51 private String residueSpecificity=""; 44 52 45 53 public Modification() 46 54 { 47 super("modification", "modification"); 48 } 49 55 super("Modification", "name"); 56 } 57 58 public int compareTo(Object o) 59 { 60 String name2 = ((Modification)o).getName(); 61 return name.compareTo(name2); 62 } 63 50 64 /** 51 65 * We never allow anything to be added as a child to a modification. … … 63 77 /** 64 78 * @hibernate.many-to-one 65 * class="org.proteios.core.element.Protein"66 * column="`Protein`"67 */68 public Protein getProtein()69 {70 return protein;71 }72 private void setProtein(Protein protein)73 {74 this.protein = protein;75 }76 77 /**78 * @hibernate.many-to-one79 79 * class="org.proteios.core.element.MatchedMass" 80 80 * column="`MatchedMass`" … … 104 104 105 105 /** 106 * @hibernate.property 107 * column="`modification`" 108 */ 109 public String getModification() 110 { 111 return modification; 112 } 113 private void setModification(String modification) 114 { 115 this.modification = modification; 116 } 106 * @hibernate.many-to-one 107 * class="org.proteios.core.element.MzAnalysis" 108 * column="`MzAnalysis`" 109 */ 110 public MzAnalysis getMzAnalysis() 111 { 112 return mzAnalysis; 113 } 114 private void setMzAnalysis(MzAnalysis mzAnalysis) 115 { 116 this.mzAnalysis = mzAnalysis; 117 } 118 119 /** 120 * @hibernate.property 121 * column="`name`" 122 */ 123 public String getName() 124 { 125 return name; 126 } 127 private void setName(String name) 128 { 129 this.name = name; 130 } 131 132 /** 133 * @hibernate.property 134 * column="`terminalSpecificity`" 135 */ 136 public String getTerminalSpecificity() 137 { 138 return terminalSpecificity; 139 } 140 private void setTerminalSpecificity(String terminalSpecificity) 141 { 142 this.terminalSpecificity = terminalSpecificity; 143 } 144 145 /** 146 * @hibernate.property 147 * column="`residueSpecificity`" 148 */ 149 public String getResidueSpecificity() 150 { 151 return residueSpecificity; 152 } 153 private void setResidueSpecificity(String residueSpecificity) 154 { 155 this.residueSpecificity = residueSpecificity; 156 } 157 158 /** 159 * @hibernate.property 160 * column="`variable`" 161 */ 162 public boolean getVariable() 163 { 164 return variable; 165 } 166 private void setVariable(boolean variable) 167 { 168 this.variable = variable; 169 } 170 171 /** 172 * @hibernate.property 173 * column="`averageDeltaMass`" 174 */ 175 public float getAverageDeltaMass() 176 { 177 return averageDeltaMass; 178 } 179 private void setAverageDeltaMass(float averageDeltaMass) 180 { 181 this.averageDeltaMass = averageDeltaMass; 182 } 183 184 /** 185 * @hibernate.property 186 * column="`monoIsotopicDeltaMass`" 187 */ 188 public float getMonoIsotopicDeltaMass() 189 { 190 return monoIsotopicDeltaMass; 191 } 192 private void setMonoIsotopicDeltaMass(float monoIsotopicDeltaMass) 193 { 194 this.monoIsotopicDeltaMass = monoIsotopicDeltaMass; 195 } 196 197 /** 198 * @hibernate.property 199 * column="`averageMass`" 200 */ 201 public float getAverageMass() 202 { 203 return averageMass; 204 } 205 private void setAverageMass(float averageMass) 206 { 207 this.averageMass = averageMass; 208 } 209 /** 210 * @hibernate.property 211 * column="`monoIsotopicMass`" 212 */ 213 public float getMonoIsotopicMass() 214 { 215 return monoIsotopicMass; 216 } 217 private void setMonoIsotopicMass(float monoIsotopicMass) 218 { 219 this.monoIsotopicMass = monoIsotopicMass; 220 } 221 117 222 } -
trunk/src/org/proteios/core/element/MzData.java
r1131 r1386 24 24 import java.util.TreeSet; 25 25 26 import org.proteios.core.Element; 27 import org.proteios.core.CoreException; 28 26 29 /** 27 30 * @hibernate.class … … 36 39 } 37 40 41 /** 42 * For addition of mzAnalysis we first check that the accession number is correct 43 */ 44 public Element addChildTree(Object parent, Element child) 45 throws CoreException 46 { 47 Element retval = null; 48 49 // Only allow addition of mzAnalysis if the accession number is correct 50 51 if (child instanceof MzAnalysis) 52 { 53 if (((MzAnalysis) child).getInputAccessionNumber().equals(this.getAccessionNumber())) 54 { 55 retval=super.addChildTree(parent,child); 56 } 57 } 58 else 59 { 60 retval= super.addChildTree(parent,child); 61 } 62 return retval; 63 } 64 65 /** 66 * @hibernate.set 67 * inverse="true" 68 * lazy="true" 69 * sort="natural" 70 * @hibernate.collection-one-to-many 71 * class="org.proteios.core.element.MzAnalysis" 72 * @hibernate.collection-key 73 * column="`mzData`" 74 */ 75 public SortedSet getMzAnalysisCollection() 76 { 77 return mzAnalysisCollection; 78 } 79 private void setMzAnalysisCollection(SortedSet mzc) 80 { 81 this.mzAnalysisCollection = mzc; 82 } 38 83 39 84 /** … … 78 123 79 124 /** 125 @hibernate.set inverse="true" lazy="true" 126 @hibernate.collection-one-to-many class="org.proteios.core.element.CvLookup" 127 @hibernate.collection-key column="`mzData`" 128 */ 129 public Set getCvLookupCollection() 130 { 131 return cv_lookups; 132 } 133 void setCvLookupCollection(Set cv_lookups) 134 { 135 this.cv_lookups = cv_lookups; 136 } 137 138 /** 80 139 * @hibernate.property 81 140 * column="`version`" … … 104 163 } 105 164 106 /**107 @hibernate.set inverse="true" lazy="true"108 @hibernate.collection-one-to-many class="org.proteios.core.element.CvLookup"109 @hibernate.collection-key column="`MzData`"110 */111 public Set getCvLookupCollection()112 {113 return cv_lookups;114 }115 void setCvLookupCollection(Set cv_lookups)116 {117 this.cv_lookups = cv_lookups;118 }119 120 165 121 166 /** … … 175 220 176 221 private Set cv_lookups = new HashSet(); 222 private SortedSet mzAnalysisCollection = new TreeSet(); 177 223 private SortedSet spectrumListCollection = new TreeSet(); 178 224 private SortedSet descriptionCollection = new TreeSet(); -
trunk/src/org/proteios/core/element/Peak.java
r1343 r1386 43 43 private Set peakSpecificChromatogramIntegrationCollection; 44 44 private Set chromatogramPointCollection; 45 private Set peakListCollection;46 45 47 46 public Peak() … … 50 49 peakSpecificChromatogramIntegrationCollection = new HashSet(); 51 50 chromatogramPointCollection = new HashSet(); 52 peakListCollection = new HashSet(); 53 51 54 52 } 55 53 … … 59 57 return mass.compareTo(mass2); 60 58 } 61 62 63 /**64 * Is the Element given as parameter OK to add as a child to this one?65 * Peaks can have PeakList both as parent and children.66 * Regular procedure is for parent and child not to be of the same type.67 * Here we have to do an exact comparison - {@link Element#equalElement}.68 *69 * @param parent - the parent in the graph to add in - Not necessarily the XML70 * parent. Used classes are DataConnection and Element.71 * @param child - a candidate child in the graph - Not necessarily a child in72 * XML tree.73 * @return true if child is OK to add74 */75 public boolean isAddableChild(Object parent, Element child)76 {77 boolean retval = false;78 79 // Exact comparison, since PeakList can be both parent and child80 retval = !(parent instanceof Element && child.equalElement((Element) parent));81 82 // Defer graph cycles by not adding any children already in connection.83 if (retval && (dataConnection == child.getDataConnection()))84 {85 try86 {87 // Defer graph cycles by not adding if already held in data connection.88 List child_roots = dataConnection.getRootElements(child.getElementName());89 Element child_root = null;90 for (int i = 0; retval && i < child_roots.size(); ++i)91 {92 // Check until we possibly find child already in data connection.93 child_root = (Element) child_roots.get(i);94 retval = !(child.equalElement(child_root));95 }96 }97 catch (CoreException e)98 {99 // Don't bother - don't add.100 retval = false;101 }102 }103 104 return retval;105 }106 107 108 /**109 * Get children as seen from parent. This is regular procedure, except110 * PeakList can be both child and parent.111 *112 * @param parent - indication of where we are viewing from in our graph.113 * @return a List of child elements.114 */115 public List getChildren(Object parent)116 throws CoreException117 {118 List children = null;119 120 // Make sure we do not readd our parent as child.121 if (parent == peakList)122 {123 // Fetch ALL children.124 children = super.getChildren(null);125 // Remove our parent from the children's list.126 children.remove(peakList);127 }128 else129 {130 // Regular procedure.131 children = super.getChildren(parent);132 }133 134 return children;135 }136 137 59 138 60 /** … … 150 72 } 151 73 152 /**153 * This method links to the MSMS PeakLists derived from this Peak.154 *155 * @hibernate.set inverse="true" lazy="true"156 * @hibernate.collection-one-to-many class="org.proteios.core.element.PeakList"157 * @hibernate.collection-key column="`peak`"158 */159 public Set getPeakListCollection()160 {161 return peakListCollection;162 }163 164 void setPeakListCollection(Set peakListCollection)165 {166 this.peakListCollection = peakListCollection;167 }168 169 74 /** 170 75 * @hibernate.property -
trunk/src/org/proteios/core/element/PeakList.java
r1355 r1386 43 43 44 44 private SortedSet peakCollection; 45 private Set peakListCollection;46 private PeakList peakList;47 45 private Set deNovoSequencingCollection; 48 46 private Set listProcessingCollection; 49 47 private Set dbSearchCollection; 50 48 private Set mSMSFractionCollection; 51 // "Full list", "Edited list" or "MSMS Result"52 49 private String list_type = "Edited list"; 53 50 private String description = ""; … … 55 52 private Boolean protonated; 56 53 57 // Keys used to connect information from58 // different files.59 private String target_id;60 private String target_position;61 54 62 55 public PeakList() … … 64 57 super("PeakList", "description"); 65 58 peakCollection = new TreeSet(); 66 peakListCollection = new HashSet();67 59 deNovoSequencingCollection = new HashSet(); 68 60 listProcessingCollection = new HashSet(); … … 71 63 } 72 64 73 74 /*75 * Special handling, since Peak can have PeakList both as parent and children.76 * Here we have to do an exact comparison - {@link Element#equalElement}.77 *78 * @param parent - the parent in the graph to add in - Not necessarily the XML79 * parent. Used classes are DataConnection and Element.80 * @param child - a candidate child in the graph - Not necessarily a child in81 * XML tree.82 * @return true if child is OK to add83 */84 public boolean isAddableChild(Object parent, Element child)85 {86 boolean retval = false;87 88 // Exact comparison, since PeakList can be both parent and child89 retval = !((parent instanceof Element && child.equalElement((Element) parent)) || child.equalElement(this));90 91 // Defer graph cycles by not adding any non Peak children already in conn.92 if (retval && !(child instanceof Peak) && (dataConnection == child.getDataConnection()))93 {94 try95 {96 // Defer graph cycles by not adding if already held in data connection.97 List child_roots = dataConnection.getRootElements(child.getElementName());98 Element child_root = null;99 for (int i = 0; retval && i < child_roots.size(); ++i)100 {101 // Check until we possibly find child already in data connection.102 child_root = (Element) child_roots.get(i);103 retval = !(child.equalElement(child_root));104 }105 }106 catch (CoreException e)107 {108 // Don't bother - don't add.109 retval = false;110 }111 }112 113 return retval;114 }115 116 117 /**118 * Get children as seen from parent. This is regular procedure, except119 * Peak can be both child and parent.120 *121 * @param parent - indication of where we are viewing from in our graph.122 * @return a List of child elements.123 */124 public List getChildren(Object parent)125 throws CoreException126 {127 List children = null;128 129 // Make sure we do not readd our parent as child.130 if (parent == peak)131 {132 // Fetch ALL children.133 children = super.getChildren(null);134 // Remove our parent from the children's list.135 children.remove(peak);136 }137 // Make sure we dont read our parent peaklist as a child138 else if (parent == peakList)139 {140 children = super.getChildren(null);141 children.remove(peakList);142 }143 else144 {145 // Regular procedure.146 children = super.getChildren(parent);147 }148 149 return children;150 }151 152 65 /** 153 66 * @hibernate.many-to-one 154 67 * class="org.proteios.core.element.Spectrum" 155 * column="` spectrum`"68 * column="`Spectrum`" 156 69 */ 157 70 public Spectrum getSpectrum() … … 162 75 { 163 76 this.spectrum = spectrum; 164 }165 166 /**167 * Link to the parent peaklist this (processed) peaklist is derived from.168 * @hibernate.many-to-one169 * class="org.proteios.core.element.PeakList"170 * column="`peakList`"171 */172 public PeakList getPeakList()173 {174 return peakList;175 }176 void setPeakList(PeakList peakList)177 {178 this.peakList = peakList;179 }180 181 /**182 * Links to the peak this (MSMS) peaklist is derived from.183 * @hibernate.many-to-one184 * class="org.proteios.core.element.Peak"185 * column="`peak`"186 */187 public Peak getPeak()188 {189 return peak;190 }191 void setPeak(Peak peak)192 {193 this.peak = peak;194 }195 196 197 /**198 * @hibernate.set199 * inverse="true"200 * lazy="true"201 * @hibernate.collection-one-to-many202 * class="org.proteios.core.element.PeakList"203 * @hibernate.collection-key204 * column="`peakList`"205 */206 public Set getPeakListCollection()207 {208 return peakListCollection;209 }210 211 void setPeakListCollection(Set peakListCollection)212 {213 this.peakListCollection = peakListCollection;214 77 } 215 78 -
trunk/src/org/proteios/core/element/PeptideHit.java
r1203 r1386 20 20 21 21 22 import java.util.S et;23 import java.util. HashSet;22 import java.util.SortedSet; 23 import java.util.TreeSet; 24 24 import java.util.List; 25 25 import java.util.ArrayList; … … 69 69 * inverse="true" 70 70 * lazy="true" 71 * sort="natural" 71 72 * @hibernate.collection-one-to-many 72 73 * class="org.proteios.core.element.Modification" … … 74 75 * column="`PeptideHit`" 75 76 */ 76 public S et getModificationCollection()77 public SortedSet getModificationCollection() 77 78 { 78 79 return modification_collection; 79 80 } 80 private void setModificationCollection(S et modification_collection)81 private void setModificationCollection(SortedSet modification_collection) 81 82 { 82 83 this.modification_collection = modification_collection; … … 168 169 169 170 private ProteinHit protein_hit; 170 private S et modification_collection = new HashSet();171 private SortedSet modification_collection = new TreeSet(); 171 172 private Double predicted_mass = new Double(0); 172 173 private Double score = new Double(0); -
trunk/src/org/proteios/core/element/Protein.java
r1357 r1386 202 202 * lazy="true" 203 203 * @hibernate.collection-one-to-many 204 * class="org.proteios.core.element.Modification"205 * @hibernate.collection-key206 * column="`Protein`"207 */208 public Set getModificationCollection()209 {210 return modification_collection;211 }212 private void setModificationCollection(Set modification_collection)213 {214 this.modification_collection = modification_collection;215 }216 217 /**218 * @hibernate.set219 * inverse="true"220 * lazy="true"221 * @hibernate.collection-one-to-many222 204 * class="org.proteios.core.element.Synonym" 223 205 * @hibernate.collection-key … … 259 241 URL retval = null; 260 242 String identifier = ""; 261 if ((lsid != null) && lsid.matches("urn:lsid: thep.lu.se:uniprot:.*"))243 if ((lsid != null) && lsid.matches("urn:lsid:bioinfo.thep.lu.se:uniprot:.*")) 262 244 { 263 245 identifier = lsid.split(":")[4]; -
trunk/src/org/proteios/core/element/ProteiosElementFactory.java
r1340 r1386 126 126 nameClassMap.put("MatchedMass", org.proteios.core.element.MatchedMass.class); 127 127 nameClassMap.put("comments", org.proteios.core.element.Comments.class); 128 nameClassMap.put(" fixedModification", org.proteios.core.element.FixedModification.class);129 nameClassMap.put(" variableModification", org.proteios.core.element.VariableModification.class);128 nameClassMap.put("UserModification", org.proteios.core.element.UserModification.class); 129 nameClassMap.put("StandardModification", org.proteios.core.element.StandardModification.class); 130 130 nameClassMap.put("DeNovoSequencing", org.proteios.core.element.DeNovoSequencing.class); 131 131 nameClassMap.put("DeNovoSequencingParam", org.proteios.core.element.DeNovoSequencingParam.class); … … 137 137 nameClassMap.put("DBSearchParam", org.proteios.core.element.DBSearchParam.class); 138 138 nameClassMap.put("synonym", org.proteios.core.element.Synonym.class); 139 nameClassMap.put(" modification", org.proteios.core.element.Modification.class);139 nameClassMap.put("Modification", org.proteios.core.element.Modification.class); 140 140 nameClassMap.put("stain_detail", org.proteios.core.element.StainDetail.class); 141 141 nameClassMap.put("first_dim_detail", org.proteios.core.element.FirstDimDetail.class); … … 143 143 nameClassMap.put("result_citation", org.proteios.core.element.ResultCitation.class); 144 144 nameClassMap.put("method_citation", org.proteios.core.element.MethodCitation.class); 145 nameClassMap.put("MzAnalysis", org.proteios.core.element.MzAnalysis.class); 146 nameClassMap.put("IdentificationParameter", org.proteios.core.element.IdentificationParameter.class); 147 nameClassMap.put("DigestParameter", org.proteios.core.element.DigestParameter.class); 148 nameClassMap.put("Result", org.proteios.core.element.Result.class); 149 nameClassMap.put("ResultRef", org.proteios.core.element.ResultRef.class); 150 nameClassMap.put("IdentificationHypothesis", org.proteios.core.element.IdentificationHypothesis.class); 151 nameClassMap.put("HypothesisProperty", org.proteios.core.element.HypothesisProperty.class); 152 nameClassMap.put("PolyPeptide", org.proteios.core.element.PolyPeptide.class); 153 nameClassMap.put("MoleculeIdentifier", org.proteios.core.element.MoleculeIdentifier.class); 154 nameClassMap.put("ParentMolecule", org.proteios.core.element.ParentMolecule.class); 145 155 // All class names retrievable on a list. 146 156 nameList.addAll(nameClassMap.keySet()); -
trunk/src/org/proteios/core/element/Spectrum.java
r1343 r1386 219 219 * class="org.proteios.core.element.PeakList" 220 220 * @hibernate.collection-key 221 * column="` spectrum`"221 * column="`Spectrum`" 222 222 */ 223 223 public Set getPeakListCollection() … … 284 284 * class="org.proteios.core.element.SpectrumDesc" 285 285 * @hibernate.collection-key 286 * column="` spectrum`"286 * column="`Spectrum`" 287 287 */ 288 288 public SortedSet getSpectrumDescCollection() -
trunk/src/org/proteios/core/element/SpectrumDesc.java
r1115 r1386 55 55 56 56 /** 57 @hibernate.many-to-one class="org.proteios.core.element.Spectrum" column="` spectrum`"57 @hibernate.many-to-one class="org.proteios.core.element.Spectrum" column="`Spectrum`" 58 58 */ 59 59 public Spectrum getSpectrum() -
trunk/src/org/proteios/core/element/SpectrumList.java
r1291 r1386 33 33 public SpectrumList() 34 34 { 35 super("spectrumList" );35 super("spectrumList","count"); 36 36 } 37 37
Note: See TracChangeset
for help on using the changeset viewer.