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

Message

public class Message extends org.netbeans.modules.schema2beans.BaseBean
This generated bean class Message matches the schema element 'message'. 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
JAVA_METHOD
public static final String
OPERATION_NAME
Constructors Summary
public Message()

	// NOI18N

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

		super(comparators, runtimeVersion);
		// Properties (see root bean comments for the bean graph)
		initPropertyTables(2);
		this.createProperty("java-method", 	// NOI18N
			JAVA_METHOD, Common.SEQUENCE_OR | 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			JavaMethod.class);
		this.createProperty("operation-name", 	// NOI18N
			OPERATION_NAME, Common.SEQUENCE_OR | 
			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("JavaMethod");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getJavaMethod();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(JAVA_METHOD, 0, str, indent);

		str.append(indent);
		str.append("OperationName");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		o = this.getOperationName();
		str.append((o==null?"null":o.toString().trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(OPERATION_NAME, 0, str, indent);

	
public java.lang.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("Message\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public JavaMethodgetJavaMethod()

		return (JavaMethod)this.getValue(JAVA_METHOD);
	
public java.lang.StringgetOperationName()

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


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

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

		comparators.remove(c);
	
public voidsetJavaMethod(JavaMethod value)

		this.setValue(JAVA_METHOD, value);
		if (value != null) {
			// It's a mutually exclusive property.
			setOperationName(null);
		}
	
public voidsetOperationName(java.lang.String value)

		this.setValue(OPERATION_NAME, value);
		if (value != null) {
			// It's a mutually exclusive property.
			setJavaMethod(null);
		}
	
public voidvalidate()