ActivationConfigPropertypublic 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 void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
| public void | dump(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.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("ActivationConfigProperty\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
| public java.lang.String | getActivationConfigPropertyName()
return (String)this.getValue(ACTIVATION_CONFIG_PROPERTY_NAME);
| public java.lang.String | getActivationConfigPropertyValue()
return (String)this.getValue(ACTIVATION_CONFIG_PROPERTY_VALUE);
| void | initialize(int options)
| public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
| public void | setActivationConfigPropertyName(java.lang.String value)
this.setValue(ACTIVATION_CONFIG_PROPERTY_NAME, value);
| public void | setActivationConfigPropertyValue(java.lang.String value)
this.setValue(ACTIVATION_CONFIG_PROPERTY_VALUE, value);
| public void | validate()
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
}
|
|