FileDocCategorySizeDatePackage
NameValuePairDescriptor.javaAPI DocGlassfish v2 API2877Fri May 04 22:31:22 BST 2007com.sun.enterprise.deployment

NameValuePairDescriptor

public class NameValuePairDescriptor extends Descriptor
This descriptor describes a name value pair association
author
Jerome Dochez

Fields Summary
private String
value
Constructors Summary
public NameValuePairDescriptor(NameValuePairDescriptor other)
copy constructor.

    
          
       
	super(other);
	value = other.value;
    
public NameValuePairDescriptor()
standard constructor.

	super();
    
Methods Summary
public java.lang.StringgetValue()

return
the value

        return value;        
    
public voidprint(java.lang.StringBuffer toStringBuffer)

return
a string describing the values I hold

        toStringBuffer.append("\nProp : ").append(getName()).append("->").append(value);
    
public voidsetValue(java.lang.String value)
set the value

        this.value = value;