ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.javaee5
Interface EjbRefType<T>

All Superinterfaces:
Child<T>

public interface EjbRefType<T>
extends Child<T>

This interface defines the contract for the ejb-refType xsd type

Since:
Generation date :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 InjectionTargetType<EjbRefType<T>> createInjectionTarget()
          Creates a new injection-target element
 EjbRefType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 EjbRefType<T> ejbLink(String ejbLink)
          Sets the ejb-link element
 EjbRefType<T> ejbRefName(String ejbRefName)
          Sets the ejb-ref-name element
 EjbRefType<T> ejbRefType(EjbRefTypeType ejbRefType)
          Sets the ejb-ref-type element
 EjbRefType<T> ejbRefType(String ejbRefType)
          Sets the ejb-ref-type element
 List<String> getAllDescription()
          Returns all description elements
 List<InjectionTargetType<EjbRefType<T>>> getAllInjectionTarget()
          Returns all injection-target elements
 String getEjbLink()
          Returns the ejb-link element
 String getEjbRefName()
          Returns the ejb-ref-name element
 EjbRefTypeType getEjbRefType()
          Returns the ejb-ref-type element
 String getEjbRefTypeAsString()
          Returns the ejb-ref-type element
 String getHome()
          Returns the home element
 String getMappedName()
          Returns the mapped-name element
 InjectionTargetType<EjbRefType<T>> getOrCreateInjectionTarget()
          If not already created, a new injection-target element will be created and returned.
 String getRemote()
          Returns the remote element
 EjbRefType<T> home(String home)
          Sets the home element
 EjbRefType<T> mappedName(String mappedName)
          Sets the mapped-name element
 EjbRefType<T> remote(String remote)
          Sets the remote element
 EjbRefType<T> removeAllDescription()
          Removes the description element
 EjbRefType<T> removeAllInjectionTarget()
          Removes all injection-target elements
 EjbRefType<T> removeEjbLink()
          Removes the ejb-link element
 EjbRefType<T> removeEjbRefName()
          Removes the ejb-ref-name element
 EjbRefType<T> removeEjbRefType()
          Removes the ejb-ref-type attribute
 EjbRefType<T> removeHome()
          Removes the home element
 EjbRefType<T> removeMappedName()
          Removes the mapped-name element
 EjbRefType<T> removeRemote()
          Removes the remote element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

mappedName

EjbRefType<T> mappedName(String mappedName)
Sets the mapped-name element

Parameters:
mappedName - the value for the element mapped-name
Returns:
the current instance of EjbRefType

getMappedName

String getMappedName()
Returns the mapped-name element

Returns:
the node defined for the element mapped-name

removeMappedName

EjbRefType<T> removeMappedName()
Removes the mapped-name element

Returns:
the current instance of EjbRefType

getOrCreateInjectionTarget

InjectionTargetType<EjbRefType<T>> getOrCreateInjectionTarget()
If not already created, a new injection-target element will be created and returned. Otherwise, the first existing injection-target element will be returned.

Returns:
the instance defined for the element injection-target

createInjectionTarget

InjectionTargetType<EjbRefType<T>> createInjectionTarget()
Creates a new injection-target element

Returns:
the new created instance of InjectionTargetType>

getAllInjectionTarget

List<InjectionTargetType<EjbRefType<T>>> getAllInjectionTarget()
Returns all injection-target elements

Returns:
list of injection-target

removeAllInjectionTarget

EjbRefType<T> removeAllInjectionTarget()
Removes all injection-target elements

Returns:
the current instance of InjectionTargetType>

description

EjbRefType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of EjbRefType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

EjbRefType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of EjbRefType

ejbRefName

EjbRefType<T> ejbRefName(String ejbRefName)
Sets the ejb-ref-name element

Parameters:
ejbRefName - the value for the element ejb-ref-name
Returns:
the current instance of EjbRefType

getEjbRefName

String getEjbRefName()
Returns the ejb-ref-name element

Returns:
the node defined for the element ejb-ref-name

removeEjbRefName

EjbRefType<T> removeEjbRefName()
Removes the ejb-ref-name element

Returns:
the current instance of EjbRefType

ejbRefType

EjbRefType<T> ejbRefType(EjbRefTypeType ejbRefType)
Sets the ejb-ref-type element

Parameters:
ejbRefType - the value for the element ejb-ref-type
Returns:
the current instance of EjbRefType

ejbRefType

EjbRefType<T> ejbRefType(String ejbRefType)
Sets the ejb-ref-type element

Parameters:
ejbRefType - the value for the element ejb-ref-type
Returns:
the current instance of EjbRefType

getEjbRefType

EjbRefTypeType getEjbRefType()
Returns the ejb-ref-type element

Returns:
the value found for the element ejb-ref-type

getEjbRefTypeAsString

String getEjbRefTypeAsString()
Returns the ejb-ref-type element

Returns:
the value found for the element ejb-ref-type

removeEjbRefType

EjbRefType<T> removeEjbRefType()
Removes the ejb-ref-type attribute

Returns:
the current instance of EjbRefType

home

EjbRefType<T> home(String home)
Sets the home element

Parameters:
home - the value for the element home
Returns:
the current instance of EjbRefType

getHome

String getHome()
Returns the home element

Returns:
the node defined for the element home

removeHome

EjbRefType<T> removeHome()
Removes the home element

Returns:
the current instance of EjbRefType

remote

EjbRefType<T> remote(String remote)
Sets the remote element

Parameters:
remote - the value for the element remote
Returns:
the current instance of EjbRefType

getRemote

String getRemote()
Returns the remote element

Returns:
the node defined for the element remote

removeRemote

EjbRefType<T> removeRemote()
Removes the remote element

Returns:
the current instance of EjbRefType

ejbLink

EjbRefType<T> ejbLink(String ejbLink)
Sets the ejb-link element

Parameters:
ejbLink - the value for the element ejb-link
Returns:
the current instance of EjbRefType

getEjbLink

String getEjbLink()
Returns the ejb-link element

Returns:
the node defined for the element ejb-link

removeEjbLink

EjbRefType<T> removeEjbLink()
Removes the ejb-link element

Returns:
the current instance of EjbRefType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.