net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee
Class ServiceRefType

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

public class ServiceRefType
extends Object
implements Serializable, Cloneable

The service-ref element declares a reference to a Web service. It contains optional description, display name and icons, a declaration of the required Service interface, an optional WSDL document location, an optional set of JAX-RPC mappings, an optional QName for the service element, an optional set of Service Endpoint Interfaces to be resolved by the container to a WSDL port, and an optional set of handlers.

Java class for service-refType complex type.

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

 <complexType name="service-refType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
         <element name="service-ref-name" type="{http://java.sun.com/xml/ns/javaee}jndi-nameType"/>
         <element name="service-interface" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
         <element name="service-ref-type" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
         <element name="wsdl-file" type="{http://java.sun.com/xml/ns/javaee}xsdAnyURIType" minOccurs="0"/>
         <element name="jaxrpc-mapping-file" type="{http://java.sun.com/xml/ns/javaee}pathType" minOccurs="0"/>
         <element name="service-qname" type="{http://java.sun.com/xml/ns/javaee}xsdQNameType" minOccurs="0"/>
         <element name="port-component-ref" type="{http://java.sun.com/xml/ns/javaee}port-component-refType" maxOccurs="unbounded" minOccurs="0"/>
         <choice>
           <element name="handler" type="{http://java.sun.com/xml/ns/javaee}service-ref_handlerType" maxOccurs="unbounded" minOccurs="0"/>
           <element name="handler-chains" type="{http://java.sun.com/xml/ns/javaee}service-ref_handler-chainsType" minOccurs="0"/>
         </choice>
         <group ref="{http://java.sun.com/xml/ns/javaee}resourceGroup"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  DescriptionType[] description
           
protected  DisplayNameType[] displayName
           
protected  ServiceRefHandlerType[] handler
           
protected  ServiceRefHandlerChainsType handlerChains
           
protected  IconType[] icon
           
protected  String id
           
protected  InjectionTargetType[] injectionTarget
           
protected  PathType jaxrpcMappingFile
           
protected  XsdStringType mappedName
           
protected  PortComponentRefType[] portComponentRef
           
protected  FullyQualifiedClassType serviceInterface
           
protected  XsdQNameType serviceQname
           
protected  JndiNameType serviceRefName
           
protected  FullyQualifiedClassType serviceRefType
           
protected  XsdAnyURIType wsdlFile
           
 
Constructor Summary
ServiceRefType()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.ServiceRefType instance.
ServiceRefType(ServiceRefType o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.javaee.ServiceRefType instance by copying a given instance.
 
Method Summary
 ServiceRefType clone()
          Creates and returns a copy of this object.
 DescriptionType[] getDescription()
           
 DescriptionType getDescription(int idx)
           
 int getDescriptionLength()
           
 DisplayNameType[] getDisplayName()
           
 DisplayNameType getDisplayName(int idx)
           
 int getDisplayNameLength()
           
 ServiceRefHandlerType[] getHandler()
           
 ServiceRefHandlerType getHandler(int idx)
           
 ServiceRefHandlerChainsType getHandlerChains()
          Gets the value of the handlerChains property.
 int getHandlerLength()
           
 IconType[] getIcon()
           
 IconType getIcon(int idx)
           
 int getIconLength()
           
 String getId()
          Gets the value of the id property.
 InjectionTargetType[] getInjectionTarget()
           
 InjectionTargetType getInjectionTarget(int idx)
           
 int getInjectionTargetLength()
           
 PathType getJaxrpcMappingFile()
          Gets the value of the jaxrpcMappingFile property.
 XsdStringType getMappedName()
          Gets the value of the mappedName property.
 PortComponentRefType[] getPortComponentRef()
           
 PortComponentRefType getPortComponentRef(int idx)
           
 int getPortComponentRefLength()
           
 FullyQualifiedClassType getServiceInterface()
          Gets the value of the serviceInterface property.
 XsdQNameType getServiceQname()
          Gets the value of the serviceQname property.
 JndiNameType getServiceRefName()
          Gets the value of the serviceRefName property.
 FullyQualifiedClassType getServiceRefType()
          Gets the value of the serviceRefType property.
 XsdAnyURIType getWsdlFile()
          Gets the value of the wsdlFile property.
 void setDescription(DescriptionType[] values)
           
 DescriptionType setDescription(int idx, DescriptionType value)
           
 void setDisplayName(DisplayNameType[] values)
           
 DisplayNameType setDisplayName(int idx, DisplayNameType value)
           
 ServiceRefHandlerType setHandler(int idx, ServiceRefHandlerType value)
           
 void setHandler(ServiceRefHandlerType[] values)
           
 void setHandlerChains(ServiceRefHandlerChainsType value)
          Sets the value of the handlerChains property.
 void setIcon(IconType[] values)
           
 IconType setIcon(int idx, IconType value)
           
 void setId(String value)
          Sets the value of the id property.
 void setInjectionTarget(InjectionTargetType[] values)
           
 InjectionTargetType setInjectionTarget(int idx, InjectionTargetType value)
           
 void setJaxrpcMappingFile(PathType value)
          Sets the value of the jaxrpcMappingFile property.
 void setMappedName(XsdStringType value)
          Sets the value of the mappedName property.
 PortComponentRefType setPortComponentRef(int idx, PortComponentRefType value)
           
 void setPortComponentRef(PortComponentRefType[] values)
           
 void setServiceInterface(FullyQualifiedClassType value)
          Sets the value of the serviceInterface property.
 void setServiceQname(XsdQNameType value)
          Sets the value of the serviceQname property.
 void setServiceRefName(JndiNameType value)
          Sets the value of the serviceRefName property.
 void setServiceRefType(FullyQualifiedClassType value)
          Sets the value of the serviceRefType property.
 void setWsdlFile(XsdAnyURIType value)
          Sets the value of the wsdlFile property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected DescriptionType[] description

displayName

protected DisplayNameType[] displayName

icon

protected IconType[] icon

serviceRefName

protected JndiNameType serviceRefName

serviceInterface

protected FullyQualifiedClassType serviceInterface

serviceRefType

protected FullyQualifiedClassType serviceRefType

wsdlFile

protected XsdAnyURIType wsdlFile

jaxrpcMappingFile

protected PathType jaxrpcMappingFile

serviceQname

protected XsdQNameType serviceQname

portComponentRef

protected PortComponentRefType[] portComponentRef

handler

protected ServiceRefHandlerType[] handler

handlerChains

protected ServiceRefHandlerChainsType handlerChains

mappedName

protected XsdStringType mappedName

injectionTarget

protected InjectionTargetType[] injectionTarget

id

protected String id
Constructor Detail

ServiceRefType

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


ServiceRefType

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

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

getDescription

public DescriptionType[] getDescription()
Returns:
array of DescriptionType

getDescription

public DescriptionType getDescription(int idx)
Returns:
one of DescriptionType

getDescriptionLength

public int getDescriptionLength()

setDescription

public void setDescription(DescriptionType[] values)
Parameters:
values - allowed objects are DescriptionType

setDescription

public DescriptionType setDescription(int idx,
                                      DescriptionType value)
Parameters:
value - allowed object is DescriptionType

getDisplayName

public DisplayNameType[] getDisplayName()
Returns:
array of DisplayNameType

getDisplayName

public DisplayNameType getDisplayName(int idx)
Returns:
one of DisplayNameType

getDisplayNameLength

public int getDisplayNameLength()

setDisplayName

public void setDisplayName(DisplayNameType[] values)
Parameters:
values - allowed objects are DisplayNameType

setDisplayName

public DisplayNameType setDisplayName(int idx,
                                      DisplayNameType value)
Parameters:
value - allowed object is DisplayNameType

getIcon

public IconType[] getIcon()
Returns:
array of IconType

getIcon

public IconType getIcon(int idx)
Returns:
one of IconType

getIconLength

public int getIconLength()

setIcon

public void setIcon(IconType[] values)
Parameters:
values - allowed objects are IconType

setIcon

public IconType setIcon(int idx,
                        IconType value)
Parameters:
value - allowed object is IconType

getServiceRefName

public JndiNameType getServiceRefName()
Gets the value of the serviceRefName property.

Returns:
possible object is JndiNameType

setServiceRefName

public void setServiceRefName(JndiNameType value)
Sets the value of the serviceRefName property.

Parameters:
value - allowed object is JndiNameType

getServiceInterface

public FullyQualifiedClassType getServiceInterface()
Gets the value of the serviceInterface property.

Returns:
possible object is FullyQualifiedClassType

setServiceInterface

public void setServiceInterface(FullyQualifiedClassType value)
Sets the value of the serviceInterface property.

Parameters:
value - allowed object is FullyQualifiedClassType

getServiceRefType

public FullyQualifiedClassType getServiceRefType()
Gets the value of the serviceRefType property.

Returns:
possible object is FullyQualifiedClassType

setServiceRefType

public void setServiceRefType(FullyQualifiedClassType value)
Sets the value of the serviceRefType property.

Parameters:
value - allowed object is FullyQualifiedClassType

getWsdlFile

public XsdAnyURIType getWsdlFile()
Gets the value of the wsdlFile property.

Returns:
possible object is XsdAnyURIType

setWsdlFile

public void setWsdlFile(XsdAnyURIType value)
Sets the value of the wsdlFile property.

Parameters:
value - allowed object is XsdAnyURIType

getJaxrpcMappingFile

public PathType getJaxrpcMappingFile()
Gets the value of the jaxrpcMappingFile property.

Returns:
possible object is PathType

setJaxrpcMappingFile

public void setJaxrpcMappingFile(PathType value)
Sets the value of the jaxrpcMappingFile property.

Parameters:
value - allowed object is PathType

getServiceQname

public XsdQNameType getServiceQname()
Gets the value of the serviceQname property.

Returns:
possible object is XsdQNameType

setServiceQname

public void setServiceQname(XsdQNameType value)
Sets the value of the serviceQname property.

Parameters:
value - allowed object is XsdQNameType

getPortComponentRef

public PortComponentRefType[] getPortComponentRef()
Returns:
array of PortComponentRefType

getPortComponentRef

public PortComponentRefType getPortComponentRef(int idx)
Returns:
one of PortComponentRefType

getPortComponentRefLength

public int getPortComponentRefLength()

setPortComponentRef

public void setPortComponentRef(PortComponentRefType[] values)
Parameters:
values - allowed objects are PortComponentRefType

setPortComponentRef

public PortComponentRefType setPortComponentRef(int idx,
                                                PortComponentRefType value)
Parameters:
value - allowed object is PortComponentRefType

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

getHandlerChains

public ServiceRefHandlerChainsType getHandlerChains()
Gets the value of the handlerChains property.

Returns:
possible object is ServiceRefHandlerChainsType

setHandlerChains

public void setHandlerChains(ServiceRefHandlerChainsType value)
Sets the value of the handlerChains property.

Parameters:
value - allowed object is ServiceRefHandlerChainsType

getMappedName

public XsdStringType getMappedName()
Gets the value of the mappedName property.

Returns:
possible object is XsdStringType

setMappedName

public void setMappedName(XsdStringType value)
Sets the value of the mappedName property.

Parameters:
value - allowed object is XsdStringType

getInjectionTarget

public InjectionTargetType[] getInjectionTarget()
Returns:
array of InjectionTargetType

getInjectionTarget

public InjectionTargetType getInjectionTarget(int idx)
Returns:
one of InjectionTargetType

getInjectionTargetLength

public int getInjectionTargetLength()

setInjectionTarget

public void setInjectionTarget(InjectionTargetType[] values)
Parameters:
values - allowed objects are InjectionTargetType

setInjectionTarget

public InjectionTargetType setInjectionTarget(int idx,
                                              InjectionTargetType value)
Parameters:
value - allowed object is InjectionTargetType

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

clone

public ServiceRefType 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.