KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > portletcontainer > impl > config > CustomMode


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.impl.config;
6
7 import java.util.* ;
8 /**
9  * Jul 7, 2004
10  * @author: Tuan Nguyen
11  * @email: tuan08@users.sourceforge.net
12  * @version: $Id: CustomMode.java,v 1.1 2004/07/08 19:11:45 tuan08 Exp $
13  */

14 public class CustomMode {
15     private String JavaDoc name ;
16     private List description ;
17     
18     public List getDescription() {
19         return description;
20     }
21     
22     public void setDescrition(List descrition) {
23         this.description = descrition;
24     }
25    
26   public void addDescription(Description desc ) {
27     if(description == null) description = new ArrayList();
28     description.add(desc) ;
29   }
30   
31     public String JavaDoc getName() {
32         return name;
33     }
34     public void setName(String JavaDoc name) {
35         this.name = name;
36     }
37 }
Popular Tags