FileDocCategorySizeDatePackage
WebPropertyContainer.javaAPI DocGlassfish v2 API3901Fri May 04 22:31:54 BST 2007com.sun.enterprise.deployment.runtime.web

WebPropertyContainer

public class WebPropertyContainer extends com.sun.enterprise.deployment.runtime.RuntimeDescriptor
Interface for all web property containers
author
Jerome Dochez

Fields Summary
public static final String
NAME
public static final String
VALUE
public static final String
PROPERTY
Constructors Summary
public WebPropertyContainer(WebPropertyContainer other)

	// NOI18N

    // copy constructor
       
    
	super(other);
    
public WebPropertyContainer()

	super();
    
Methods Summary
public intaddWebProperty(WebProperty value)

	return this.addValue(PROPERTY, value);
    
public WebPropertygetWebProperty(int index)

	return (WebProperty)this.getValue(PROPERTY, index);
    
public WebProperty[]getWebProperty()

	WebProperty[] props = (WebProperty[])this.getValues(PROPERTY);
        if (props==null) {
            return new WebProperty[0];
        } else {
            return props;
        }
    
public intremoveWebProperty(WebProperty value)

	return this.removeValue(PROPERTY, value);
    
public voidsetWebProperty(int index, WebProperty value)

	this.setValue(PROPERTY, index, value);
    
public voidsetWebProperty(WebProperty[] value)

	this.setValue(PROPERTY, value);
    
public intsizeWebProperty()

	return this.size(PROPERTY);
    
public booleanverify()

	return true;