1 package org.gmod.schema.cv; 2 3 4 5 import java.io.Serializable; 6 import java.util.Collection; 7 import java.util.HashSet; 8 import java.util.Set; 9 10 11 12 13 14 15 16 17 18 19 public class Cv implements Serializable { 20 21 // Fields 22 23 24 private int cvId; 25 26 27 private String name; 28 29 30 private String definition; 31 32 33 private Set<CvTermPath> cvTermPaths = new HashSet<CvTermPath>(0); 34 35 36 private Set<CvTerm> cvTerms = new HashSet<CvTerm>(0); 37 38 39 // Property accessors 40 getCvId()41 public int getCvId() { 42 return this.cvId; 43 } 44 setCvId(int cvId)45 public void setCvId(int cvId) { 46 this.cvId = cvId; 47 } 48 49 50 /* (non-Javadoc) 51 * @see org.genedb.db.jpa.CvI#getName() 52 */ getName()53 public String getName() { 54 return this.name; 55 } 56 57 /* (non-Javadoc) 58 * @see org.genedb.db.jpa.CvI#setName(java.lang.String) 59 */ setName(String name)60 public void setName(String name) { 61 this.name = name; 62 } 63 64 65 /* (non-Javadoc) 66 * @see org.genedb.db.jpa.CvI#getDefinition() 67 */ getDefinition()68 public String getDefinition() { 69 return this.definition; 70 } 71 72 /* (non-Javadoc) 73 * @see org.genedb.db.jpa.CvI#setDefinition(java.lang.String) 74 */ setDefinition(String definition)75 public void setDefinition(String definition) { 76 this.definition = definition; 77 } 78 79 80 /* (non-Javadoc) 81 * @see org.genedb.db.jpa.CvI#getCvTermPaths() 82 */ getCvTermPaths()83 public Collection<CvTermPath> getCvTermPaths() { 84 return this.cvTermPaths; 85 } 86 87 /* (non-Javadoc) 88 * @see org.genedb.db.jpa.CvI#setCvTermPaths(java.util.Set) 89 */ setCvTermPaths(Set<CvTermPath> cvTermPaths)90 public void setCvTermPaths(Set<CvTermPath> cvTermPaths) { 91 this.cvTermPaths = cvTermPaths; 92 } 93 94 95 /* (non-Javadoc) 96 * @see org.genedb.db.jpa.CvI#getCvTerms() 97 */ getCvTerms()98 public Collection<CvTerm> getCvTerms() { 99 return this.cvTerms; 100 } 101 102 /* (non-Javadoc) 103 * @see org.genedb.db.jpa.CvI#setCvTerms(java.util.Set) 104 */ setCvTerms(Set<CvTerm> cvTerms)105 public void setCvTerms(Set<CvTerm> cvTerms) { 106 this.cvTerms = cvTerms; 107 } 108 109 } 110 111 112