1 23 24 package com.sun.enterprise.deployment; 25 26 31 public class NameValuePairDescriptor extends Descriptor { 32 33 private String value=null; 34 35 38 public NameValuePairDescriptor(NameValuePairDescriptor other) { 39 super(other); 40 value = other.value; 41 } 42 43 46 public NameValuePairDescriptor() { 47 super(); 48 } 49 50 53 public void setValue(String value) { 54 this.value = value; 55 } 56 57 60 public String getValue() { 61 return value; 62 } 63 64 67 public void print(StringBuffer toStringBuffer) { 68 toStringBuffer.append("\nProp : ").append(getName()).append("->").append(value); 69 } 70 71 } 72 | Popular Tags |