FileDocCategorySizeDatePackage
PluginData.javaAPI DocGlassfish v2 API14354Fri May 04 22:34:38 BST 2007com.sun.enterprise.tools.common.dd

PluginData

public 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 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("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.StringdumpBeanNode()

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

		return (String)this.getValue(AUTO_GENERATE_SQL);
	
public java.lang.StringgetClientArgs()

		return (String)this.getValue(CLIENT_ARGS);
	
public java.lang.StringgetClientJarPath()

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

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

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

		this.setValue(AUTO_GENERATE_SQL, value);
	
public voidsetClientArgs(java.lang.String value)

		this.setValue(CLIENT_ARGS, value);
	
public voidsetClientJarPath(java.lang.String value)

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

		boolean restrictionFailure = false;
		// Validating property autoGenerateSql
		if (getAutoGenerateSql() != null) {
		}
		// Validating property clientJarPath
		if (getClientJarPath() != null) {
		}
		// Validating property clientArgs
		if (getClientArgs() != null) {
		}