ConfigPropertyDesc.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.ConfigProperty;
00033 
00040 public class ConfigPropertyDesc  implements Serializable {
00041 
00045     private List descriptionList = null;
00046 
00050     private String configPropertyName = null;
00051 
00055     private String configPropertyType = null;
00056 
00060     private String configPropertyValue = null;
00061 
00062 
00066     public ConfigPropertyDesc() {
00067     }
00068 
00069     public ConfigPropertyDesc(ConfigProperty cp) {
00070         if (cp != null) {
00071             descriptionList = cp.getDescriptionList();
00072             configPropertyName = cp.getConfigPropertyName();
00073             configPropertyType = cp.getConfigPropertyType();
00074             configPropertyValue = cp.getConfigPropertyValue();
00075         }
00076     }
00077 
00078     public ConfigPropertyDesc(ConfigPropertyDesc cpd) {
00079         descriptionList = cpd.getDescriptionList();
00080         configPropertyName = cpd.getConfigPropertyName();
00081         configPropertyType = cpd.getConfigPropertyType();
00082         configPropertyValue = cpd.getConfigPropertyValue();
00083     }
00084 
00089     public List getDescriptionList() {
00090         return descriptionList;
00091     }
00092 
00097     public String getConfigPropertyName() {
00098         return configPropertyName;
00099     }
00100 
00105     public void setConfigPropertyName(String configPropertyName) {
00106         this.configPropertyName = configPropertyName;
00107     }
00108 
00113     public String getConfigPropertyType() {
00114         return configPropertyType;
00115     }
00116 
00121     public void setConfigPropertyType(String configPropertyType) {
00122         this.configPropertyType = configPropertyType;
00123     }
00124 
00129     public String getConfigPropertyValue() {
00130         return configPropertyValue;
00131     }
00132 
00137     public void setConfigPropertyValue(String configPropertyValue) {
00138         this.configPropertyValue = configPropertyValue;
00139     }
00140 }

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