ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.javaee6
Interface ResourceEnvRefType<T>

All Superinterfaces:
Child<T>

public interface ResourceEnvRefType<T>
extends Child<T>

This interface defines the contract for the resource-env-refType xsd type

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

Method Summary
 InjectionTargetType<ResourceEnvRefType<T>> createInjectionTarget()
          Creates a new injection-target element
 ResourceEnvRefType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllDescription()
          Returns all description elements
 List<InjectionTargetType<ResourceEnvRefType<T>>> getAllInjectionTarget()
          Returns all injection-target elements
 String getLookupName()
          Returns the lookup-name element
 String getMappedName()
          Returns the mapped-name element
 InjectionTargetType<ResourceEnvRefType<T>> getOrCreateInjectionTarget()
          If not already created, a new injection-target element will be created and returned.
 String getResourceEnvRefName()
          Returns the resource-env-ref-name element
 String getResourceEnvRefType()
          Returns the resource-env-ref-type element
 ResourceEnvRefType<T> lookupName(String lookupName)
          Sets the lookup-name element
 ResourceEnvRefType<T> mappedName(String mappedName)
          Sets the mapped-name element
 ResourceEnvRefType<T> removeAllDescription()
          Removes the description element
 ResourceEnvRefType<T> removeAllInjectionTarget()
          Removes all injection-target elements
 ResourceEnvRefType<T> removeLookupName()
          Removes the lookup-name element
 ResourceEnvRefType<T> removeMappedName()
          Removes the mapped-name element
 ResourceEnvRefType<T> removeResourceEnvRefName()
          Removes the resource-env-ref-name element
 ResourceEnvRefType<T> removeResourceEnvRefType()
          Removes the resource-env-ref-type element
 ResourceEnvRefType<T> resourceEnvRefName(String resourceEnvRefName)
          Sets the resource-env-ref-name element
 ResourceEnvRefType<T> resourceEnvRefType(String resourceEnvRefType)
          Sets the resource-env-ref-type element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

lookupName

ResourceEnvRefType<T> lookupName(String lookupName)
Sets the lookup-name element

Parameters:
lookupName - the value for the element lookup-name
Returns:
the current instance of ResourceEnvRefType

getLookupName

String getLookupName()
Returns the lookup-name element

Returns:
the node defined for the element lookup-name

removeLookupName

ResourceEnvRefType<T> removeLookupName()
Removes the lookup-name element

Returns:
the current instance of ResourceEnvRefType

mappedName

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

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

getMappedName

String getMappedName()
Returns the mapped-name element

Returns:
the node defined for the element mapped-name

removeMappedName

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

Returns:
the current instance of ResourceEnvRefType

getOrCreateInjectionTarget

InjectionTargetType<ResourceEnvRefType<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<ResourceEnvRefType<T>> createInjectionTarget()
Creates a new injection-target element

Returns:
the new created instance of InjectionTargetType>

getAllInjectionTarget

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

Returns:
list of injection-target

removeAllInjectionTarget

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

Returns:
the current instance of InjectionTargetType>

description

ResourceEnvRefType<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 ResourceEnvRefType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

ResourceEnvRefType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of ResourceEnvRefType

resourceEnvRefName

ResourceEnvRefType<T> resourceEnvRefName(String resourceEnvRefName)
Sets the resource-env-ref-name element

Parameters:
resourceEnvRefName - the value for the element resource-env-ref-name
Returns:
the current instance of ResourceEnvRefType

getResourceEnvRefName

String getResourceEnvRefName()
Returns the resource-env-ref-name element

Returns:
the node defined for the element resource-env-ref-name

removeResourceEnvRefName

ResourceEnvRefType<T> removeResourceEnvRefName()
Removes the resource-env-ref-name element

Returns:
the current instance of ResourceEnvRefType

resourceEnvRefType

ResourceEnvRefType<T> resourceEnvRefType(String resourceEnvRefType)
Sets the resource-env-ref-type element

Parameters:
resourceEnvRefType - the value for the element resource-env-ref-type
Returns:
the current instance of ResourceEnvRefType

getResourceEnvRefType

String getResourceEnvRefType()
Returns the resource-env-ref-type element

Returns:
the node defined for the element resource-env-ref-type

removeResourceEnvRefType

ResourceEnvRefType<T> removeResourceEnvRefType()
Removes the resource-env-ref-type element

Returns:
the current instance of ResourceEnvRefType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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