PluginDatapublic class PluginData extends com.sun.enterprise.tools.common.dd.SunBaseBean This generated bean class PluginData matches the schema element plugin-data
Generated on Wed Aug 13 12:12:26 PDT 2003 |
Fields Summary |
---|
static Vector | comparators | public static final String | AUTO_GENERATE_SQL | public static final String | CLIENT_JAR_PATH | public static final String | CLIENT_ARGS |
Constructors Summary |
---|
public PluginData() // NOI18N
this(Common.USE_DEFAULT_VALUES);
| public PluginData(int options)
super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
// Properties (see root bean comments for the bean graph)
this.createProperty("auto-generate-sql", // NOI18N
AUTO_GENERATE_SQL,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("client-jar-path", // NOI18N
CLIENT_JAR_PATH,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("client-args", // NOI18N
CLIENT_ARGS,
Common.TYPE_0_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("AutoGenerateSql"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getAutoGenerateSql();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(AUTO_GENERATE_SQL, 0, str, indent);
str.append(indent);
str.append("ClientJarPath"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getClientJarPath();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(CLIENT_JAR_PATH, 0, str, indent);
str.append(indent);
str.append("ClientArgs"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getClientArgs();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(CLIENT_ARGS, 0, str, indent);
| public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("PluginData\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
| public java.lang.String | getAutoGenerateSql()
return (String)this.getValue(AUTO_GENERATE_SQL);
| public java.lang.String | getClientArgs()
return (String)this.getValue(CLIENT_ARGS);
| public java.lang.String | getClientJarPath()
return (String)this.getValue(CLIENT_JAR_PATH);
| void | initialize(int options)
| public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
| public void | setAutoGenerateSql(java.lang.String value)
this.setValue(AUTO_GENERATE_SQL, value);
| public void | setClientArgs(java.lang.String value)
this.setValue(CLIENT_ARGS, value);
| public void | setClientJarPath(java.lang.String value)
this.setValue(CLIENT_JAR_PATH, value);
| public void | validate()
boolean restrictionFailure = false;
// Validating property autoGenerateSql
if (getAutoGenerateSql() != null) {
}
// Validating property clientJarPath
if (getClientJarPath() != null) {
}
// Validating property clientArgs
if (getClientArgs() != null) {
}
|
|