FileDocCategorySizeDatePackage
ActivationConfigProperty.javaAPI DocGlassfish v2 API32666Fri May 04 22:34:40 BST 2007com.sun.enterprise.tools.common.dd.ejb

ActivationConfigProperty

public class ActivationConfigProperty extends com.sun.enterprise.tools.common.dd.SunBaseBean
This generated bean class ActivationConfigProperty matches the schema element activation-config-property Generated on Wed Aug 13 10:43:32 PDT 2003

Fields Summary
static Vector
comparators
public static final String
ACTIVATION_CONFIG_PROPERTY_NAME
public static final String
ACTIVATION_CONFIG_PROPERTY_VALUE
Constructors Summary
public ActivationConfigProperty()

	// NOI18N

	  
		this(Common.USE_DEFAULT_VALUES);
	
public ActivationConfigProperty(int options)

		super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
		// Properties (see root bean comments for the bean graph)
		this.createProperty("activation-config-property-name", 	// NOI18N
			ACTIVATION_CONFIG_PROPERTY_NAME, 
			Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("activation-config-property-value", 	// NOI18N
			ACTIVATION_CONFIG_PROPERTY_VALUE, 
			Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.initialize(options);
	
Methods Summary
public static voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.add(c);
	
public voiddump(java.lang.StringBuffer str, java.lang.String indent)

		String s;
		Object o;
		org.netbeans.modules.schema2beans.BaseBean n;
		str.append(indent);
		str.append("ActivationConfigPropertyName");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getActivationConfigPropertyName();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(ACTIVATION_CONFIG_PROPERTY_NAME, 0, str, indent);

		str.append(indent);
		str.append("ActivationConfigPropertyValue");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getActivationConfigPropertyValue();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(ACTIVATION_CONFIG_PROPERTY_VALUE, 0, str, indent);

	
public java.lang.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("ActivationConfigProperty\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public java.lang.StringgetActivationConfigPropertyName()

		return (String)this.getValue(ACTIVATION_CONFIG_PROPERTY_NAME);
	
public java.lang.StringgetActivationConfigPropertyValue()

		return (String)this.getValue(ACTIVATION_CONFIG_PROPERTY_VALUE);
	
voidinitialize(int options)

		
	
public static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.remove(c);
	
public voidsetActivationConfigPropertyName(java.lang.String value)

		this.setValue(ACTIVATION_CONFIG_PROPERTY_NAME, value);
	
public voidsetActivationConfigPropertyValue(java.lang.String value)

		this.setValue(ACTIVATION_CONFIG_PROPERTY_VALUE, value);
	
public voidvalidate()

		boolean restrictionFailure = false;
		// Validating property activationConfigPropertyName
		if (getActivationConfigPropertyName() == null) {
			throw new org.netbeans.modules.schema2beans.ValidateException("getActivationConfigPropertyName() == null", "activationConfigPropertyName", this);	// NOI18N
		}
		// Validating property activationConfigPropertyValue
		if (getActivationConfigPropertyValue() == null) {
			throw new org.netbeans.modules.schema2beans.ValidateException("getActivationConfigPropertyValue() == null", "activationConfigPropertyValue", this);	// NOI18N
		}