org.jboss.shrinkwrap.descriptor.api.jbosscommon60
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 :2013-01-26T19:27:01.083+01: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 getId()
          Returns the id attribute
 String getJndiName()
          Returns the jndi-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> id(String id)
          Sets the id attribute
 ResourceEnvRefType<T> ignoreDependency()
          Sets the ignore-dependency element
 Boolean isIgnoreDependency()
          Removes the ignore-dependency element
 ResourceEnvRefType<T> jndiName(String jndiName)
          Sets the jndi-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> removeId()
          Removes the id attribute
 ResourceEnvRefType<T> removeIgnoreDependency()
          Removes the ignore-dependency element
 ResourceEnvRefType<T> removeJndiName()
          Removes the jndi-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

jndiName

ResourceEnvRefType<T> jndiName(String jndiName)
Sets the jndi-name element

Parameters:
jndiName - the value for the element jndi-name
Returns:
the current instance of ResourceEnvRefType

getJndiName

String getJndiName()
Returns the jndi-name element

Returns:
the node defined for the element jndi-name

removeJndiName

ResourceEnvRefType<T> removeJndiName()
Removes the jndi-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>

ignoreDependency

ResourceEnvRefType<T> ignoreDependency()
Sets the ignore-dependency element

Returns:
the current instance of ResourceEnvRefType

isIgnoreDependency

Boolean isIgnoreDependency()
Removes the ignore-dependency element

Returns:
the current instance of ResourceEnvRefType

removeIgnoreDependency

ResourceEnvRefType<T> removeIgnoreDependency()
Removes the ignore-dependency element

Returns:
the current instance of ResourceEnvRefType

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

id

ResourceEnvRefType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of ResourceEnvRefType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

ResourceEnvRefType<T> removeId()
Removes the id attribute

Returns:
the current instance of ResourceEnvRefType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.