KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > portletcontainer > pci > model > UserDataConstraint


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.services.portletcontainer.pci.model;
6
7 import java.util.* ;
8 import org.exoplatform.Constants;
9
10 /**
11  * Jul 11, 2004
12  * @author: Tuan Nguyen
13  * @email: tuan08@users.sourceforge.net
14  * @version: $Id: UserDataConstraint.java,v 1.1 2004/07/13 02:31:13 tuan08 Exp $
15  */

16 public class UserDataConstraint {
17   private List description ;
18     private String JavaDoc transportGuarantie ;
19   
20     public List getDescription() {
21     if(description == null) return Constants.EMPTY_LIST ;
22         return description;
23     }
24   
25     public void setDescription(List description) {
26         this.description = description;
27     }
28   
29   public void addDescription(Description desc) {
30     if(this.description == null) description = new ArrayList() ;
31     this.description.add(desc);
32   }
33   
34     public String JavaDoc getTransportGuarantie() {
35         return transportGuarantie;
36     }
37     public void setTransportGuarantie(String JavaDoc transportGuarantie) {
38         this.transportGuarantie = transportGuarantie;
39     }
40 }
41
Popular Tags