1 5 package org.exoplatform.services.portletcontainer.pci.model; 6 7 import java.util.ArrayList ; 8 import java.util.List ; 9 15 public class Supports { 16 private String mimeType; 17 private List portletMode; 18 19 public Supports() { 20 portletMode = new ArrayList () ; 21 } 22 23 public String getMimeType() { 24 return mimeType; 25 } 26 27 public void setMimeType(String mimeType) { 28 this.mimeType = mimeType; 29 } 30 31 public List getPortletMode() { 32 return portletMode; 33 } 34 35 public void setPortletMode(List portletMode) { 36 this.portletMode = portletMode; 37 } 38 39 public void addPortletMode(String mode) { 40 this.portletMode.add(mode) ; 41 } 42 } | Popular Tags |