KickJava   Java API By Example, From Geeks To Geeks.

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


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.ArrayList JavaDoc;
8 import java.util.List JavaDoc;
9 /**
10  * Jul 11, 2004
11  * @author: Tuan Nguyen
12  * @email: tuan08@users.sourceforge.net
13  * @version: $Id: Supports.java,v 1.1 2004/07/13 02:31:13 tuan08 Exp $
14  */

15 public class Supports {
16     private String JavaDoc mimeType;
17     private List JavaDoc portletMode;
18     
19   public Supports() {
20     portletMode = new ArrayList JavaDoc() ;
21   }
22   
23     public String JavaDoc getMimeType() {
24         return mimeType;
25     }
26
27     public void setMimeType(String JavaDoc mimeType) {
28         this.mimeType = mimeType;
29     }
30
31     public List JavaDoc getPortletMode() {
32         return portletMode;
33     }
34
35     public void setPortletMode(List JavaDoc portletMode) {
36         this.portletMode = portletMode;
37     }
38   
39   public void addPortletMode(String JavaDoc mode) {
40     this.portletMode.add(mode) ;
41   }
42 }
Popular Tags