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

JavaMethod

public class JavaMethod extends org.netbeans.modules.schema2beans.BaseBean
This generated bean class JavaMethod matches the schema element 'java-method'. The root bean class is SunEjbJar Generated on Tue Aug 08 09:56:25 PDT 2006
Generated

Fields Summary
static Vector
comparators
private static final org.netbeans.modules.schema2beans.Version
runtimeVersion
public static final String
METHOD_NAME
public static final String
METHOD_PARAMS
Constructors Summary
public JavaMethod()

	// NOI18N

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

		super(comparators, runtimeVersion);
		// Properties (see root bean comments for the bean graph)
		initPropertyTables(2);
		this.createProperty("method-name", 	// NOI18N
			METHOD_NAME, 
			Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("method-params", 	// NOI18N
			METHOD_PARAMS, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			MethodParams.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("MethodName");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		o = this.getMethodName();
		str.append((o==null?"null":o.toString().trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(METHOD_NAME, 0, str, indent);

		str.append(indent);
		str.append("MethodParams");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getMethodParams();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(METHOD_PARAMS, 0, str, indent);

	
public java.lang.StringdumpBeanNode()

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

		return (String)this.getValue(METHOD_NAME);
	
public MethodParamsgetMethodParams()

		return (MethodParams)this.getValue(METHOD_PARAMS);
	
voidinitialize(int options)


	
public MethodParamsnewMethodParams()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new MethodParams();
	
public static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c)

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

		this.setValue(METHOD_NAME, value);
	
public voidsetMethodParams(MethodParams value)

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