package org.gmod.schema.phylogeny;
// Generated Aug 31, 2006 4:02:18 PM by Hibernate Tools 3.2.0.beta7


import org.gmod.schema.cv.CvTerm;
import org.gmod.schema.general.DbXRef;

import java.util.Collection;
import java.util.HashSet;
import java.util.Set;











/**
 * Phylotree generated by hbm2java
 */


public class Phylotree  implements java.io.Serializable {

    // Fields    

     private int phylotreeId;
     private CvTerm cvTerm;
     private DbXRef dbXRef;
     private String name;
     private String comment;
     private Set<Phylonode> phylonodes = new HashSet<Phylonode>(0);
     private Set<PhylotreePub> phylotreePubs = new HashSet<PhylotreePub>(0);

     // Constructors

    /** default constructor */
    public Phylotree() {
    	// Deliberately empty default constructor
    }

	/** minimal constructor */
    public Phylotree(DbXRef dbXRef) {
        this.dbXRef = dbXRef;
    }
    /** full constructor */
    public Phylotree(CvTerm cvTerm, DbXRef dbXRef, String name, String comment, Set<Phylonode> phylonodes, Set<PhylotreePub> phylotreePubs) {
       this.cvTerm = cvTerm;
       this.dbXRef = dbXRef;
       this.name = name;
       this.comment = comment;
       this.phylonodes = phylonodes;
       this.phylotreePubs = phylotreePubs;
    }
   
    // Property accessors


    public int getPhylotreeId() {
        return this.phylotreeId;
    }
    
    private void setPhylotreeId(int phylotreeId) {
        this.phylotreeId = phylotreeId;
    }
    


    public CvTerm getCvTerm() {
        return this.cvTerm;
    }
    
    public void setCvTerm(CvTerm cvTerm) {
        this.cvTerm = cvTerm;
    }
    


    public DbXRef getDbXRef() {
        return this.dbXRef;
    }
    
    public void setDbXRef(DbXRef dbXRef) {
        this.dbXRef = dbXRef;
    }
    

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    

    public String getComment() {
        return this.comment;
    }
    
    public void setComment(String comment) {
        this.comment = comment;
    }
    

    public Collection<Phylonode> getPhylonodes() {
        return this.phylonodes;
    }
    
    public void setPhylonodes(Set<Phylonode> phylonodes) {
        this.phylonodes = phylonodes;
    }

    public Collection<PhylotreePub> getPhylotreePubs() {
        return this.phylotreePubs;
    }
    
    public void setPhylotreePubs(Set<PhylotreePub> phylotreePubs) {
        this.phylotreePubs = phylotreePubs;
    }




}


