1 5 package org.exoplatform.services.portletcontainer.pci.model; 6 7 import java.util.*; 8 import org.exoplatform.Constants; 9 10 16 public class UserAttribute { 17 private List description ; 18 private String name ; 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(description == null) description = new ArrayList() ; 31 description.add(desc) ; 32 } 33 34 public String getName() { 35 return name; 36 } 37 public void setName(String name) { 38 this.name = name; 39 } 40 } | Popular Tags |