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.sequence.Feature;

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












/**
 * Phylonode generated by hbm2java
 */


public class Phylonode  implements java.io.Serializable {

    // Fields    

     private int phylonodeId;
     private Phylotree phylotree;
     private Phylonode parent;
     private CvTerm cvTerm;
     private Feature feature;
     private int leftIdx;
     private int rightIdx;
     private String label;
     private Double distance;
     private Set<PhylonodeRelationship> phylonodeRelationshipsForObjectId = new HashSet<PhylonodeRelationship>(0);
     private Set<PhylonodeOrganism> phylonodeOrganisms = new HashSet<PhylonodeOrganism>(0);
     private Set<PhylonodePub> phylonodePubs = new HashSet<PhylonodePub>(0);
     private Set<Phylonode> phylonodes = new HashSet<Phylonode>(0);
     private Set<PhylonodeRelationship> phylonodeRelationshipsForSubjectId = new HashSet<PhylonodeRelationship>(0);
     private Set<PhylonodeDbXRef> phylonodeDbXRefs = new HashSet<PhylonodeDbXRef>(0);
     private Set<PhylonodeProp> phylonodeProps = new HashSet<PhylonodeProp>(0);

     // Constructors

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

	/** minimal constructor */
    public Phylonode(int phylonodeId, Phylotree phylotree, int leftIdx, int rightIdx) {
        this.phylonodeId = phylonodeId;
        this.phylotree = phylotree;
        this.leftIdx = leftIdx;
        this.rightIdx = rightIdx;
    }
    /** full constructor */
    public Phylonode(int phylonodeId, Phylotree phylotree, Phylonode parent, CvTerm cvTerm, Feature feature, int leftIdx, int rightIdx, String label, Double distance, Set<PhylonodeRelationship> phylonodeRelationshipsForObjectId, Set<PhylonodeOrganism> phylonodeOrganisms, Set<PhylonodePub> phylonodePubs, Set<Phylonode> phylonodes, Set<PhylonodeRelationship> phylonodeRelationshipsForSubjectId, Set<PhylonodeDbXRef> phylonodeDbXRefs, Set<PhylonodeProp> phylonodeProps) {
       this.phylonodeId = phylonodeId;
       this.phylotree = phylotree;
       this.parent = parent;
       this.cvTerm = cvTerm;
       this.feature = feature;
       this.leftIdx = leftIdx;
       this.rightIdx = rightIdx;
       this.label = label;
       this.distance = distance;
       this.phylonodeRelationshipsForObjectId = phylonodeRelationshipsForObjectId;
       this.phylonodeOrganisms = phylonodeOrganisms;
       this.phylonodePubs = phylonodePubs;
       this.phylonodes = phylonodes;
       this.phylonodeRelationshipsForSubjectId = phylonodeRelationshipsForSubjectId;
       this.phylonodeDbXRefs = phylonodeDbXRefs;
       this.phylonodeProps = phylonodeProps;
    }
   
    // Property accessors

    

    public int getPhylonodeId() {
        return this.phylonodeId;
    }
    
    public void setPhylonodeId(int phylonodeId) {
        this.phylonodeId = phylonodeId;
    }
    


    public Phylotree getPhylotree() {
        return this.phylotree;
    }
    
    public void setPhylotree(Phylotree phylotree) {
        this.phylotree = phylotree;
    }
    


    public Phylonode getParent() {
        return this.parent;
    }
    
    public void setParent(Phylonode parent) {
        this.parent = parent;
    }


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


    public Feature getFeature() {
        return this.feature;
    }
    
    public void setFeature(Feature feature) {
        this.feature = feature;
    }
    

    public int getLeftIdx() {
        return this.leftIdx;
    }
    
    public void setLeftIdx(int leftIdx) {
        this.leftIdx = leftIdx;
    }
    

    public int getRightIdx() {
        return this.rightIdx;
    }
    
    public void setRightIdx(int rightIdx) {
        this.rightIdx = rightIdx;
    }
    

    public String getLabel() {
        return this.label;
    }
    
    public void setLabel(String label) {
        this.label = label;
    }
    

    public Double getDistance() {
        return this.distance;
    }
    
    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public Collection<PhylonodeRelationship> getPhylonodeRelationshipsForObjectId() {
        return this.phylonodeRelationshipsForObjectId;
    }
    
    public void setPhylonodeRelationshipsForObjectId(Set<PhylonodeRelationship> phylonodeRelationshipsForObjectId) {
        this.phylonodeRelationshipsForObjectId = phylonodeRelationshipsForObjectId;
    }

    public Collection<PhylonodeOrganism> getPhylonodeOrganisms() {
        return this.phylonodeOrganisms;
    }
    
    public void setPhylonodeOrganisms(Set<PhylonodeOrganism> phylonodeOrganisms) {
        this.phylonodeOrganisms = phylonodeOrganisms;
    }

    public Collection<PhylonodePub> getPhylonodePubs() {
        return this.phylonodePubs;
    }
    
    public void setPhylonodePubs(Set<PhylonodePub> phylonodePubs) {
        this.phylonodePubs = phylonodePubs;
    }

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

    public Collection<PhylonodeRelationship> getPhylonodeRelationshipsForSubjectId() {
        return this.phylonodeRelationshipsForSubjectId;
    }
    
    public void setPhylonodeRelationshipsForSubjectId(Set<PhylonodeRelationship> phylonodeRelationshipsForSubjectId) {
        this.phylonodeRelationshipsForSubjectId = phylonodeRelationshipsForSubjectId;
    }

    public Collection<PhylonodeDbXRef> getPhylonodeDbXRefs() {
        return this.phylonodeDbXRefs;
    }
    
    public void setPhylonodeDbXRefs(Set<PhylonodeDbXRef> phylonodeDbXRefs) {
        this.phylonodeDbXRefs = phylonodeDbXRefs;
    }

    public Collection<PhylonodeProp> getPhylonodeProps() {
        return this.phylonodeProps;
    }
    
    public void setPhylonodeProps(Set<PhylonodeProp> phylonodeProps) {
        this.phylonodeProps = phylonodeProps;
    }




}


