1 5 package org.exoplatform.services.portletcontainer.pci.model; 6 7 import java.util.*; 8 import org.exoplatform.Constants; 9 10 16 public class CustomPortletMode { 17 private List description ; 18 private String portletMode ; 19 20 public List getDescription() { 21 if(description == null) return Constants.EMPTY_LIST ; 22 return description; 23 } 24 public void setDescription(List description) { 25 this.description = description; 26 } 27 28 public void addDescription(Description desc) { 29 if(description == null) description = new ArrayList() ; 30 this.description.add(desc) ; 31 } 32 33 public String getPortletMode() { 34 return portletMode; 35 } 36 37 public void setPortletMode(String portletMode) { 38 this.portletMode = portletMode; 39 } 40 } | Popular Tags |