package org.medias.eccad.persistance.hibernate.domaine; // Generated 1 Juin 2007 15:03:29 by Hibernate Tools 3.2.0.beta7 /** * Code generated by hbm2java */ public class Code implements java.io.Serializable { // Fields /** * */ private static final long serialVersionUID = 1L; private int idCode; private Codification codification; private int numCode; private String legendCode; // Constructors /** default constructor */ public Code() { } /** minimal constructor */ public Code(int idCode, int numCode) { this.idCode = idCode; this.numCode = numCode; } /** full constructor */ public Code(int idCode, Codification codification, int numCode, String legendCode) { this.idCode = idCode; this.codification = codification; this.numCode = numCode; this.legendCode = legendCode; } // Property accessors public int getIdCode() { return this.idCode; } public void setIdCode(int idCode) { this.idCode = idCode; } public Codification getCodification() { return this.codification; } public void setCodification(Codification codification) { this.codification = codification; } public int getNumCode() { return this.numCode; } public void setNumCode(int numCode) { this.numCode = numCode; } public String getLegendCode() { return this.legendCode; } public void setLegendCode(String legendCode) { this.legendCode = legendCode; } }