net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee
Class ServiceRefHandlerChainType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.ServiceRefHandlerChainType
All Implemented Interfaces:
Serializable, Cloneable

public class ServiceRefHandlerChainType
extends Object
implements Serializable, Cloneable

The handler-chain element defines the handlerchain. Handlerchain can be defined such that the handlers in the handlerchain operate,all ports of a service, on a specific port or on a list of protocol-bindings. The choice of elements service-name-pattern, port-name-pattern and protocol-bindings are used to specify whether the handlers in handler-chain are for a service, port or protocol binding. If none of these choices are specified with the handler-chain element then the handlers specified in the handler-chain will be applied on everything.

Java class for service-ref_handler-chainType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="service-ref_handler-chainType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice minOccurs="0">
           <element name="service-name-pattern" type="{http://java.sun.com/xml/ns/javaee}service-ref_qname-pattern"/>
           <element name="port-name-pattern" type="{http://java.sun.com/xml/ns/javaee}service-ref_qname-pattern"/>
           <element name="protocol-bindings" type="{http://java.sun.com/xml/ns/javaee}service-ref_protocol-bindingListType"/>
         </choice>
         <element name="handler" type="{http://java.sun.com/xml/ns/javaee}service-ref_handlerType" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  ServiceRefHandlerType[] handler
           
protected  String id
           
protected  String portNamePattern
           
protected  String[] protocolBindings
           
protected  String serviceNamePattern
           
 
Constructor Summary
ServiceRefHandlerChainType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.ServiceRefHandlerChainType instance.
ServiceRefHandlerChainType(ServiceRefHandlerChainType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.ServiceRefHandlerChainType instance by copying a given instance.
 
Method Summary
 ServiceRefHandlerChainType clone()
          Creates and returns a copy of this object.
 void copyHandler(ServiceRefHandlerType[] source)
          Copies all values of property Handler.
 void copyProtocolBindings(String[] source)
          Copies all values of property ProtocolBindings.
 ServiceRefHandlerType[] getHandler()
           
 ServiceRefHandlerType getHandler(int idx)
           
 int getHandlerLength()
           
 String getId()
          Gets the value of the id property.
 String getPortNamePattern()
          Gets the value of the portNamePattern property.
 String[] getProtocolBindings()
           
 String getProtocolBindings(int idx)
           
 int getProtocolBindingsLength()
           
 String getServiceNamePattern()
          Gets the value of the serviceNamePattern property.
 ServiceRefHandlerType setHandler(int idx, ServiceRefHandlerType value)
           
 void setHandler(ServiceRefHandlerType[] values)
           
 void setId(String value)
          Sets the value of the id property.
 void setPortNamePattern(String value)
          Sets the value of the portNamePattern property.
 String setProtocolBindings(int idx, String value)
           
 void setProtocolBindings(String[] values)
           
 void setServiceNamePattern(String value)
          Sets the value of the serviceNamePattern property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceNamePattern

protected String serviceNamePattern

portNamePattern

protected String portNamePattern

protocolBindings

protected String[] protocolBindings

handler

protected ServiceRefHandlerType[] handler

id

protected String id
Constructor Detail

ServiceRefHandlerChainType

public ServiceRefHandlerChainType()
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.ServiceRefHandlerChainType instance.


ServiceRefHandlerChainType

public ServiceRefHandlerChainType(ServiceRefHandlerChainType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.ServiceRefHandlerChainType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getServiceNamePattern

public String getServiceNamePattern()
Gets the value of the serviceNamePattern property.

Returns:
possible object is String

setServiceNamePattern

public void setServiceNamePattern(String value)
Sets the value of the serviceNamePattern property.

Parameters:
value - allowed object is String

getPortNamePattern

public String getPortNamePattern()
Gets the value of the portNamePattern property.

Returns:
possible object is String

setPortNamePattern

public void setPortNamePattern(String value)
Sets the value of the portNamePattern property.

Parameters:
value - allowed object is String

getProtocolBindings

public String[] getProtocolBindings()
Returns:
array of String

getProtocolBindings

public String getProtocolBindings(int idx)
Returns:
one of String

getProtocolBindingsLength

public int getProtocolBindingsLength()

setProtocolBindings

public void setProtocolBindings(String[] values)
Parameters:
values - allowed objects are String

setProtocolBindings

public String setProtocolBindings(int idx,
                                  String value)
Parameters:
value - allowed object is String

getHandler

public ServiceRefHandlerType[] getHandler()
Returns:
array of ServiceRefHandlerType

getHandler

public ServiceRefHandlerType getHandler(int idx)
Returns:
one of ServiceRefHandlerType

getHandlerLength

public int getHandlerLength()

setHandler

public void setHandler(ServiceRefHandlerType[] values)
Parameters:
values - allowed objects are ServiceRefHandlerType

setHandler

public ServiceRefHandlerType setHandler(int idx,
                                        ServiceRefHandlerType value)
Parameters:
value - allowed object is ServiceRefHandlerType

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

copyProtocolBindings

public void copyProtocolBindings(String[] source)
Copies all values of property ProtocolBindings.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copyHandler

public void copyHandler(ServiceRefHandlerType[] source)
Copies all values of property Handler.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

clone

public ServiceRefHandlerChainType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.