FileDocCategorySizeDatePackage
ServiceRefHandlerType.javaAPI DocGlassfish v2 API18134Fri May 04 22:34:54 BST 2007com.sun.enterprise.tools.common.dd.webservice

ServiceRefHandlerType

public class ServiceRefHandlerType extends org.netbeans.modules.schema2beans.BaseBean
This generated bean class ServiceRefHandlerType matches the schema element service-ref_handlerType =============================================================== This group keeps the usage of the contained description related elements consistent across J2EE deployment descriptors. All elements may occur multiple times with different languages, to support localization of the content. =============================================================== Generated on Fri Apr 22 15:42:50 PDT 2005

Fields Summary
static Vector
comparators
public static final String
DESCRIPTION
public static final String
DISPLAY_NAME
public static final String
ICON
public static final String
HANDLER_NAME
public static final String
HANDLER_CLASS
public static final String
INIT_PARAM
public static final String
SOAP_HEADER
public static final String
SOAP_ROLE
public static final String
PORT_NAME
Constructors Summary
public ServiceRefHandlerType()

	// NOI18N

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

		super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
		// Properties (see root bean comments for the bean graph)
		this.createProperty("description", 	// NOI18N
			DESCRIPTION, 
			Common.TYPE_0_N | Common.TYPE_STRING | Common.TYPE_KEY, 
			java.lang.String.class);
		this.createAttribute(DESCRIPTION, "id", "Id", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(DESCRIPTION, "xml:lang", "XmlLang", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createProperty("display-name", 	// NOI18N
			DISPLAY_NAME, 
			Common.TYPE_0_N | Common.TYPE_STRING | Common.TYPE_KEY, 
			java.lang.String.class);
		this.createAttribute(DISPLAY_NAME, "id", "Id", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(DISPLAY_NAME, "xml:lang", "XmlLang", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createProperty("icon", 	// NOI18N
			ICON, 
			Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			IconType.class);
		this.createAttribute(ICON, "xml:lang", "XmlLang", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(ICON, "id", "Id", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createProperty("handler-name", 	// NOI18N
			HANDLER_NAME, 
			Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			java.lang.String.class);
		this.createAttribute(HANDLER_NAME, "id", "Id", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createProperty("handler-class", 	// NOI18N
			HANDLER_CLASS, 
			Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			java.lang.String.class);
		this.createProperty("init-param", 	// NOI18N
			INIT_PARAM, 
			Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			ParamValueType.class);
		this.createAttribute(INIT_PARAM, "id", "Id", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createProperty("soap-header", 	// NOI18N
			SOAP_HEADER, 
			Common.TYPE_0_N | Common.TYPE_STRING | Common.TYPE_KEY, 
			javax.xml.namespace.QName.class);
		this.createAttribute(SOAP_HEADER, "id", "Id", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createProperty("soap-role", 	// NOI18N
			SOAP_ROLE, 
			Common.TYPE_0_N | Common.TYPE_STRING | Common.TYPE_KEY, 
			java.lang.String.class);
		this.createAttribute(SOAP_ROLE, "id", "Id", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createProperty("port-name", 	// NOI18N
			PORT_NAME, 
			Common.TYPE_0_N | Common.TYPE_STRING | Common.TYPE_KEY, 
			java.lang.String.class);
		this.createAttribute(PORT_NAME, "id", "Id", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.initialize(options);
	
Methods Summary
public static voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.add(c);
	
public intaddDescription(java.lang.String value)

		return this.addValue(DESCRIPTION, value);
	
public intaddDisplayName(java.lang.String value)

		return this.addValue(DISPLAY_NAME, value);
	
public intaddIcon(com.sun.enterprise.tools.common.dd.webservice.IconType value)

		return this.addValue(ICON, value);
	
public intaddInitParam(com.sun.enterprise.tools.common.dd.webservice.ParamValueType value)

		return this.addValue(INIT_PARAM, value);
	
public intaddPortName(java.lang.String value)

		return this.addValue(PORT_NAME, value);
	
public intaddSoapHeader(javax.xml.namespace.QName value)

		return this.addValue(SOAP_HEADER, value);
	
public intaddSoapRole(java.lang.String value)

		return this.addValue(SOAP_ROLE, value);
	
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("Description["+this.sizeDescription()+"]");	// NOI18N
		for(int i=0; i<this.sizeDescription(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			str.append(indent+"\t");	// NOI18N
			str.append("<");	// NOI18N
			s = this.getDescription(i);
			str.append((s==null?"null":s.trim()));	// NOI18N
			str.append(">\n");	// NOI18N
			this.dumpAttributes(DESCRIPTION, i, str, indent);
		}

		str.append(indent);
		str.append("DisplayName["+this.sizeDisplayName()+"]");	// NOI18N
		for(int i=0; i<this.sizeDisplayName(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			str.append(indent+"\t");	// NOI18N
			str.append("<");	// NOI18N
			s = this.getDisplayName(i);
			str.append((s==null?"null":s.trim()));	// NOI18N
			str.append(">\n");	// NOI18N
			this.dumpAttributes(DISPLAY_NAME, i, str, indent);
		}

		str.append(indent);
		str.append("Icon["+this.sizeIcon()+"]");	// NOI18N
		for(int i=0; i<this.sizeIcon(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getIcon(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(ICON, i, str, indent);
		}

		str.append(indent);
		str.append("HandlerName");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getHandlerName();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(HANDLER_NAME, 0, str, indent);

		str.append(indent);
		str.append("HandlerClass");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getHandlerClass();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(HANDLER_CLASS, 0, str, indent);

		str.append(indent);
		str.append("InitParam["+this.sizeInitParam()+"]");	// NOI18N
		for(int i=0; i<this.sizeInitParam(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getInitParam(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(INIT_PARAM, i, str, indent);
		}

		str.append(indent);
		str.append("SoapHeader["+this.sizeSoapHeader()+"]");	// NOI18N
		for(int i=0; i<this.sizeSoapHeader(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			str.append(indent+"\t");	// NOI18N
			str.append("<");	// NOI18N
			o = this.getSoapHeader(i);
			str.append((o==null?"null":o.toString().trim()));	// NOI18N
			str.append(">\n");	// NOI18N
			this.dumpAttributes(SOAP_HEADER, i, str, indent);
		}

		str.append(indent);
		str.append("SoapRole["+this.sizeSoapRole()+"]");	// NOI18N
		for(int i=0; i<this.sizeSoapRole(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			str.append(indent+"\t");	// NOI18N
			str.append("<");	// NOI18N
			s = this.getSoapRole(i);
			str.append((s==null?"null":s.trim()));	// NOI18N
			str.append(">\n");	// NOI18N
			this.dumpAttributes(SOAP_ROLE, i, str, indent);
		}

		str.append(indent);
		str.append("PortName["+this.sizePortName()+"]");	// NOI18N
		for(int i=0; i<this.sizePortName(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			str.append(indent+"\t");	// NOI18N
			str.append("<");	// NOI18N
			s = this.getPortName(i);
			str.append((s==null?"null":s.trim()));	// NOI18N
			str.append(">\n");	// NOI18N
			this.dumpAttributes(PORT_NAME, i, str, indent);
		}

	
public java.lang.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("ServiceRefHandlerType\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public java.lang.StringgetDescription(int index)

		return (java.lang.String)this.getValue(DESCRIPTION, index);
	
public java.lang.String[]getDescription()

		return (java.lang.String[])this.getValues(DESCRIPTION);
	
public java.lang.StringgetDisplayName(int index)

		return (java.lang.String)this.getValue(DISPLAY_NAME, index);
	
public java.lang.String[]getDisplayName()

		return (java.lang.String[])this.getValues(DISPLAY_NAME);
	
public java.lang.StringgetHandlerClass()

		return (java.lang.String)this.getValue(HANDLER_CLASS);
	
public java.lang.StringgetHandlerName()

		return (java.lang.String)this.getValue(HANDLER_NAME);
	
public com.sun.enterprise.tools.common.dd.webservice.IconTypegetIcon(int index)

		return (IconType)this.getValue(ICON, index);
	
public com.sun.enterprise.tools.common.dd.webservice.IconType[]getIcon()

		return (IconType[])this.getValues(ICON);
	
public com.sun.enterprise.tools.common.dd.webservice.ParamValueTypegetInitParam(int index)

		return (ParamValueType)this.getValue(INIT_PARAM, index);
	
public com.sun.enterprise.tools.common.dd.webservice.ParamValueType[]getInitParam()

		return (ParamValueType[])this.getValues(INIT_PARAM);
	
public java.lang.StringgetPortName(int index)

		return (java.lang.String)this.getValue(PORT_NAME, index);
	
public java.lang.String[]getPortName()

		return (java.lang.String[])this.getValues(PORT_NAME);
	
public javax.xml.namespace.QNamegetSoapHeader(int index)

		return (javax.xml.namespace.QName)this.getValue(SOAP_HEADER, index);
	
public javax.xml.namespace.QName[]getSoapHeader()

		return (javax.xml.namespace.QName[])this.getValues(SOAP_HEADER);
	
public java.lang.StringgetSoapRole(int index)

		return (java.lang.String)this.getValue(SOAP_ROLE, index);
	
public java.lang.String[]getSoapRole()

		return (java.lang.String[])this.getValues(SOAP_ROLE);
	
voidinitialize(int options)


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

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

		return this.removeValue(DESCRIPTION, value);
	
public intremoveDisplayName(java.lang.String value)

		return this.removeValue(DISPLAY_NAME, value);
	
public intremoveIcon(com.sun.enterprise.tools.common.dd.webservice.IconType value)

		return this.removeValue(ICON, value);
	
public intremoveInitParam(com.sun.enterprise.tools.common.dd.webservice.ParamValueType value)

		return this.removeValue(INIT_PARAM, value);
	
public intremovePortName(java.lang.String value)

		return this.removeValue(PORT_NAME, value);
	
public intremoveSoapHeader(javax.xml.namespace.QName value)

		return this.removeValue(SOAP_HEADER, value);
	
public intremoveSoapRole(java.lang.String value)

		return this.removeValue(SOAP_ROLE, value);
	
public voidsetDescription(int index, java.lang.String value)

		this.setValue(DESCRIPTION, index, value);
	
public voidsetDescription(java.lang.String[] value)

		this.setValue(DESCRIPTION, value);
	
public voidsetDisplayName(int index, java.lang.String value)

		this.setValue(DISPLAY_NAME, index, value);
	
public voidsetDisplayName(java.lang.String[] value)

		this.setValue(DISPLAY_NAME, value);
	
public voidsetHandlerClass(java.lang.String value)

		this.setValue(HANDLER_CLASS, value);
	
public voidsetHandlerName(java.lang.String value)

		this.setValue(HANDLER_NAME, value);
	
public voidsetIcon(int index, com.sun.enterprise.tools.common.dd.webservice.IconType value)

		this.setValue(ICON, index, value);
	
public voidsetIcon(com.sun.enterprise.tools.common.dd.webservice.IconType[] value)

		this.setValue(ICON, value);
	
public voidsetInitParam(int index, com.sun.enterprise.tools.common.dd.webservice.ParamValueType value)

		this.setValue(INIT_PARAM, index, value);
	
public voidsetInitParam(com.sun.enterprise.tools.common.dd.webservice.ParamValueType[] value)

		this.setValue(INIT_PARAM, value);
	
public voidsetPortName(int index, java.lang.String value)

		this.setValue(PORT_NAME, index, value);
	
public voidsetPortName(java.lang.String[] value)

		this.setValue(PORT_NAME, value);
	
public voidsetSoapHeader(int index, javax.xml.namespace.QName value)

		this.setValue(SOAP_HEADER, index, value);
	
public voidsetSoapHeader(javax.xml.namespace.QName[] value)

		this.setValue(SOAP_HEADER, value);
	
public voidsetSoapRole(int index, java.lang.String value)

		this.setValue(SOAP_ROLE, index, value);
	
public voidsetSoapRole(java.lang.String[] value)

		this.setValue(SOAP_ROLE, value);
	
public intsizeDescription()

		return this.size(DESCRIPTION);
	
public intsizeDisplayName()

		return this.size(DISPLAY_NAME);
	
public intsizeIcon()

		return this.size(ICON);
	
public intsizeInitParam()

		return this.size(INIT_PARAM);
	
public intsizePortName()

		return this.size(PORT_NAME);
	
public intsizeSoapHeader()

		return this.size(SOAP_HEADER);
	
public intsizeSoapRole()

		return this.size(SOAP_ROLE);
	
public voidvalidate()