1 27 package org.objectweb.jonas_rar.deployment.api; 28 29 import java.io.Serializable ; 30 import java.util.List ; 31 32 import org.objectweb.jonas_rar.deployment.xml.License; 33 34 39 40 public class LicenseDesc implements Serializable { 41 42 45 private List descriptionList = null; 46 47 50 private String licenseRequired = null; 51 52 53 56 public LicenseDesc(License lic) { 57 if (lic != null) { 58 descriptionList = lic.getDescriptionList(); 59 licenseRequired = lic.getLicenseRequired(); 60 } 61 } 62 63 67 public List getDescriptionList() { 68 return descriptionList; 69 } 70 71 75 public void addDescription(String description) { 76 descriptionList.add(description); 77 } 78 } 79 | Popular Tags |