LicenseDesc.java

00001 
00027 package org.objectweb.jonas_rar.deployment.api;
00028 
00029 import java.io.Serializable;
00030 import java.util.List;
00031 
00032 import org.objectweb.jonas_rar.deployment.xml.License;
00033 
00040 public class LicenseDesc implements Serializable {
00041 
00045     private List descriptionList = null;
00046 
00050     private String licenseRequired = null;
00051 
00052 
00056     public LicenseDesc(License lic) {
00057         if (lic != null) {
00058             descriptionList = lic.getDescriptionList();
00059             licenseRequired = lic.getLicenseRequired();
00060         }
00061     }
00062 
00067     public List getDescriptionList() {
00068         return descriptionList;
00069     }
00070 
00075     public void addDescription(String description) {
00076         descriptionList.add(description);
00077     }
00078 }

Generated on Tue Feb 15 15:05:56 2005 for JOnAS by  doxygen 1.3.9.1