org.jboss.shrinkwrap.descriptor.impl.jboss51
Class PortComponentTypeImpl<T>

java.lang.Object
  extended by org.jboss.shrinkwrap.descriptor.impl.jboss51.PortComponentTypeImpl<T>
All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>, PortComponentType<T>

public class PortComponentTypeImpl<T>
extends java.lang.Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, PortComponentType<T>

This class implements the port-componentType xsd type

Original Documentation:



The port-component element specifies a mapping from a webservice
port-component whose service-impl-bean/ejb-link value maps to an ejb.
Used in: session



Since:
Generation date :2011-07-19T22:54:35.59+02:00
Author:
Ralf Battenfeld

Constructor Summary
PortComponentTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
           
PortComponentTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
           
 
Method Summary
 java.lang.String getAuthMethod()
          Returns the auth-method element
 java.lang.String getPortComponentName()
          Returns the port-component-name element
 java.lang.String getPortComponentUri()
          Returns the port-component-uri element
 java.lang.String getTransportGuarantee()
          Returns the transport-guarantee element
 java.lang.Boolean isSecureWsdlAccess()
          Returns the secure-wsdl-access element
 PortComponentType<T> removeAuthMethod()
          Removes the auth-method element
 PortComponentType<T> removePortComponentName()
          Removes the port-component-name element
 PortComponentType<T> removePortComponentUri()
          Removes the port-component-uri element
 PortComponentType<T> removeSecureWsdlAccess()
          Removes the secure-wsdl-access element
 PortComponentType<T> removeTransportGuarantee()
          Removes the transport-guarantee element
 PortComponentType<T> setAuthMethod(java.lang.String authMethod)
          If not already created, a new auth-method element with the given value will be created.
 PortComponentType<T> setPortComponentName(java.lang.String portComponentName)
          If not already created, a new port-component-name element with the given value will be created.
 PortComponentType<T> setPortComponentUri(java.lang.String portComponentUri)
          If not already created, a new port-component-uri element with the given value will be created.
 PortComponentType<T> setSecureWsdlAccess(java.lang.Boolean secureWsdlAccess)
          If not already created, a new secure-wsdl-access element with the given value will be created.
 PortComponentType<T> setTransportGuarantee(java.lang.String transportGuarantee)
          If not already created, a new transport-guarantee element with the given value will be created.
 T up()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortComponentTypeImpl

public PortComponentTypeImpl(T t,
                             java.lang.String nodeName,
                             org.jboss.shrinkwrap.descriptor.spi.Node node)

PortComponentTypeImpl

public PortComponentTypeImpl(T t,
                             java.lang.String nodeName,
                             org.jboss.shrinkwrap.descriptor.spi.Node node,
                             org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail

up

public T up()
Specified by:
up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>

setPortComponentName

public PortComponentType<T> setPortComponentName(java.lang.String portComponentName)
If not already created, a new port-component-name element with the given value will be created. Otherwise, the existing port-component-name element will be updated with the given value.

Specified by:
setPortComponentName in interface PortComponentType<T>
Returns:
the current instance of PortComponentType

removePortComponentName

public PortComponentType<T> removePortComponentName()
Removes the port-component-name element

Specified by:
removePortComponentName in interface PortComponentType<T>
Returns:
the current instance of PortComponentType

getPortComponentName

public java.lang.String getPortComponentName()
Returns the port-component-name element

Specified by:
getPortComponentName in interface PortComponentType<T>
Returns:
the node defined for the element port-component-name

setPortComponentUri

public PortComponentType<T> setPortComponentUri(java.lang.String portComponentUri)
If not already created, a new port-component-uri element with the given value will be created. Otherwise, the existing port-component-uri element will be updated with the given value.

Specified by:
setPortComponentUri in interface PortComponentType<T>
Returns:
the current instance of PortComponentType

removePortComponentUri

public PortComponentType<T> removePortComponentUri()
Removes the port-component-uri element

Specified by:
removePortComponentUri in interface PortComponentType<T>
Returns:
the current instance of PortComponentType

getPortComponentUri

public java.lang.String getPortComponentUri()
Returns the port-component-uri element

Specified by:
getPortComponentUri in interface PortComponentType<T>
Returns:
the node defined for the element port-component-uri

setAuthMethod

public PortComponentType<T> setAuthMethod(java.lang.String authMethod)
If not already created, a new auth-method element with the given value will be created. Otherwise, the existing auth-method element will be updated with the given value.

Specified by:
setAuthMethod in interface PortComponentType<T>
Returns:
the current instance of PortComponentType

removeAuthMethod

public PortComponentType<T> removeAuthMethod()
Removes the auth-method element

Specified by:
removeAuthMethod in interface PortComponentType<T>
Returns:
the current instance of PortComponentType

getAuthMethod

public java.lang.String getAuthMethod()
Returns the auth-method element

Specified by:
getAuthMethod in interface PortComponentType<T>
Returns:
the node defined for the element auth-method

setTransportGuarantee

public PortComponentType<T> setTransportGuarantee(java.lang.String transportGuarantee)
If not already created, a new transport-guarantee element with the given value will be created. Otherwise, the existing transport-guarantee element will be updated with the given value.

Specified by:
setTransportGuarantee in interface PortComponentType<T>
Returns:
the current instance of PortComponentType

removeTransportGuarantee

public PortComponentType<T> removeTransportGuarantee()
Removes the transport-guarantee element

Specified by:
removeTransportGuarantee in interface PortComponentType<T>
Returns:
the current instance of PortComponentType

getTransportGuarantee

public java.lang.String getTransportGuarantee()
Returns the transport-guarantee element

Specified by:
getTransportGuarantee in interface PortComponentType<T>
Returns:
the node defined for the element transport-guarantee

setSecureWsdlAccess

public PortComponentType<T> setSecureWsdlAccess(java.lang.Boolean secureWsdlAccess)
If not already created, a new secure-wsdl-access element with the given value will be created. Otherwise, the existing secure-wsdl-access element will be updated with the given value.

Specified by:
setSecureWsdlAccess in interface PortComponentType<T>
Returns:
the current instance of PortComponentType

removeSecureWsdlAccess

public PortComponentType<T> removeSecureWsdlAccess()
Removes the secure-wsdl-access element

Specified by:
removeSecureWsdlAccess in interface PortComponentType<T>
Returns:
the current instance of PortComponentType

isSecureWsdlAccess

public java.lang.Boolean isSecureWsdlAccess()
Returns the secure-wsdl-access element

Specified by:
isSecureWsdlAccess in interface PortComponentType<T>
Returns:
the node defined for the element secure-wsdl-access