org.jboss.shrinkwrap.descriptor.api.jboss51
Interface LocalBindingType<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
LocalBindingTypeImpl

public interface LocalBindingType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>

This interface defines the contract for the local-bindingType xsd type

Original Documentation:



Element for specifying the local jndi binding for a bean.


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

Method Summary
 java.util.List<java.lang.String> getDescriptionList()
          Returns all description elements
 java.lang.String getJndiName()
          Returns the jndi-name element
 LocalBindingType<T> removeAllDescription()
          Removes the description element
 LocalBindingType<T> removeJndiName()
          Removes the jndi-name element
 LocalBindingType<T> setDescription(java.lang.String description)
          Creates a new description element
 LocalBindingType<T> setDescriptionList(java.lang.String... values)
          Creates for all String objects representing description elements, a new description element
 LocalBindingType<T> setJndiName(java.lang.String jndiName)
          If not already created, a new jndi-name element with the given value will be created.
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

setDescription

LocalBindingType<T> setDescription(java.lang.String description)
Creates a new description element

Returns:
the current instance of LocalBindingType

setDescriptionList

LocalBindingType<T> setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
list - of description objects
Returns:
the current instance of LocalBindingType

removeAllDescription

LocalBindingType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of LocalBindingType

getDescriptionList

java.util.List<java.lang.String> getDescriptionList()
Returns all description elements

Returns:
list of description

setJndiName

LocalBindingType<T> setJndiName(java.lang.String jndiName)
If not already created, a new jndi-name element with the given value will be created. Otherwise, the existing jndi-name element will be updated with the given value.

Returns:
the current instance of LocalBindingType

removeJndiName

LocalBindingType<T> removeJndiName()
Removes the jndi-name element

Returns:
the current instance of LocalBindingType

getJndiName

java.lang.String getJndiName()
Returns the jndi-name element

Returns:
the node defined for the element jndi-name