KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > speedo > pobjects > detach > groupama > ConventionHelper


1 package org.objectweb.speedo.pobjects.detach.groupama;
2
3 import java.util.ArrayList JavaDoc;
4 import java.util.Collection JavaDoc;
5
6
7 /**
8  * A convention has a marque and an intervenant.
9  */

10 public class ConventionHelper {
11     
12     private MarqueHelper marque;
13     private String JavaDoc cdmem;
14     private IntervenantHelper intervenant;
15     private Collection JavaDoc zoneGeographiques;
16     private SpecialiteMercureHelper specialiteMercure;
17     
18     private int nomep;
19
20     public ConventionHelper() {
21         this.zoneGeographiques = new ArrayList JavaDoc();
22     }
23     
24     public MarqueHelper getMarque() {
25         return marque;
26     }
27
28     public String JavaDoc getCdmem() {
29         return cdmem;
30     }
31
32     public IntervenantHelper getIntervenant() {
33         return intervenant;
34     }
35
36     public int getNomep() {
37         return nomep;
38     }
39   
40     public void setMarque(MarqueHelper pMarque) {
41         this.marque = pMarque;
42     }
43  
44     public void setCdmem(String JavaDoc pCdmem) {
45         this.cdmem = pCdmem;
46     }
47
48     public void setIntervenant(IntervenantHelper pIntervenant) {
49         this.intervenant = pIntervenant;
50     }
51
52     public void setNomep(int pNomep) {
53         this.nomep = pNomep;
54     }
55
56     public Collection JavaDoc getZoneGeographiques() {
57         return zoneGeographiques;
58     }
59     public void setZoneGeographiques(Collection JavaDoc zoneGeographiques) {
60         this.zoneGeographiques = zoneGeographiques;
61     }
62     public void addZoneGeographique(ZoneGeographiqueHelper zg) {
63         zoneGeographiques.add(zg);
64     }
65     
66     public SpecialiteMercureHelper getSpecialiteMercure() {
67         return specialiteMercure;
68     }
69     public void setSpecialiteMercure(SpecialiteMercureHelper specialiteMercure) {
70         this.specialiteMercure = specialiteMercure;
71     }
72 }
73
Popular Tags