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

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

maj eccad V3.2

  • Property svn:executable set to *
File size: 1.1 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
5/**
6 * Contact generated by hbm2java
7 */
8public class Contact implements java.io.Serializable {
9
10        // Fields   
11
12        /**
13         *
14         */
15        private static final long serialVersionUID = 1L;
16
17        private ContactId id;
18
19        private Produit produit;
20
21        private Personne personne;
22
23        // Constructors
24
25        /** default constructor */
26        public Contact() {
27        }
28
29        /** full constructor */
30        public Contact(ContactId id, Produit produit, Personne personne) {
31                this.id = id;
32                this.produit = produit;
33                this.personne = personne;
34        }
35
36        public String toString() {
37                return personne.toString();
38        }
39       
40        // Property accessors
41        public ContactId getId() {
42                return this.id;
43        }
44
45        public void setId(ContactId id) {
46                this.id = id;
47        }
48
49        public Produit getProduit() {
50                return this.produit;
51        }
52
53        public void setProduit(Produit produit) {
54                this.produit = produit;
55        }
56
57        public Personne getPersonne() {
58                return this.personne;
59        }
60
61        public void setPersonne(Personne personne) {
62                this.personne = personne;
63        }
64
65}
Note: See TracBrowser for help on using the repository browser.