KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.objectweb.speedo.pobjects.detach.groupama;
2
3 import java.util.ArrayList JavaDoc;
4 import java.util.Collection JavaDoc;
5
6 /**
7  * A marque has many conventions.
8  */

9 public class MarqueHelper {
10
11     public MarqueHelper() {
12         this.conventions = new ArrayList JavaDoc();
13     }
14
15     //PrimaryKey
16
private String JavaDoc cdmem;
17     private String JavaDoc limem;
18     private Collection JavaDoc conventions;
19
20     public Collection JavaDoc getConventions() {
21         return conventions;
22     }
23
24     public void setConventions(Collection JavaDoc pConventions) {
25         conventions = pConventions;
26     }
27
28     public void addConvention(ConventionHelper convention) {
29         if (conventions == null)
30             conventions = new ArrayList JavaDoc();
31         conventions.add(convention);
32     }
33
34     public String JavaDoc getCdmem() {
35         return cdmem;
36     }
37
38     public String JavaDoc getLimem() {
39         return limem;
40     }
41
42     public void setCdmem(String JavaDoc pCdmem) {
43         cdmem = pCdmem;
44     }
45
46     public void setLimem(String JavaDoc pLimem) {
47         limem = pLimem;
48     }
49 }
50
Popular Tags