source: ether_eccad/trunk/ECCAD_INTERFACE/WEB-INF/src/org/medias/eccad/persistance/hibernate/domaine/Unite.java

Last change on this file was 70, checked in by cbipsl, 14 years ago

maj eccad V3.2

  • Property svn:executable set to *
File size: 1.9 KB
Line 
1package org.medias.eccad.persistance.hibernate.domaine;
2
3// Generated 1 Juin 2007 15:03:29 by Hibernate Tools 3.2.0.beta7
4
5import java.util.HashSet;
6import java.util.Set;
7
8import org.medias.eccad.helpers.XmlHelper;
9
10/**
11 * Unite generated by hbm2java
12 */
13public class Unite implements java.io.Serializable {
14
15        // Fields   
16
17        /**
18         *
19         */
20        private static final long serialVersionUID = 1L;
21
22        private int idUnite;
23
24        private String fullnameUnite;
25
26        private String shortnameUnite;
27
28        private Set<Parametre> parametres = new HashSet<Parametre>(0);
29
30        // Constructors
31
32        /** default constructor */
33        public Unite() {
34        }
35
36        /** minimal constructor */
37        public Unite(int idUnite, String fullnameUnite, String shortnameUnite) {
38                this.idUnite = idUnite;
39                this.fullnameUnite = fullnameUnite;
40                this.shortnameUnite = shortnameUnite;
41        }
42
43        /** full constructor */
44        public Unite(int idUnite, String fullnameUnite, String shortnameUnite,
45                        Set<Parametre> parametres) {
46                this.idUnite = idUnite;
47                this.fullnameUnite = fullnameUnite;
48                this.shortnameUnite = shortnameUnite;
49        }
50
51        public String toString() {
52                String valeur;
53                valeur = "";
54                valeur += XmlHelper.createNode("fullnameUnite", fullnameUnite);
55                valeur += XmlHelper.createNode("shortnameUnite", shortnameUnite);
56                valeur += XmlHelper.createNode("idUnite", idUnite);
57                return valeur;
58        }
59       
60        // Property accessors
61        public int getIdUnite() {
62                return this.idUnite;
63        }
64
65        public void setIdUnite(int idUnite) {
66                this.idUnite = idUnite;
67        }
68
69        public String getFullnameUnite() {
70                return this.fullnameUnite;
71        }
72
73        public void setFullnameUnite(String fullnameUnite) {
74                this.fullnameUnite = fullnameUnite;
75        }
76
77        public String getShortnameUnite() {
78                return this.shortnameUnite;
79        }
80
81        public void setShortnameUnite(String shortnameUnite) {
82                this.shortnameUnite = shortnameUnite;
83        }
84
85        public Set<Parametre> getParametres() {
86                return this.parametres;
87        }
88
89        public void setParametres(Set<Parametre> parametres) {
90                this.parametres = parametres;
91        }
92
93}
Note: See TracBrowser for help on using the repository browser.