org.jboss.shrinkwrap.descriptor.api.jbosscommon51
Interface ResourceRefType<T>

All Superinterfaces:
Child<T>

public interface ResourceRefType<T>
extends Child<T>

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

Since:
Generation date :2013-01-26T19:27:00.777+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 InjectionTargetType<ResourceRefType<T>> createInjectionTarget()
          Creates a new injection-target element
 ResourceRefType<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<ResourceRefType<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<ResourceRefType<T>> getOrCreateInjectionTarget()
          If not already created, a new injection-target element will be created and returned.
 ResAuthType getResAuth()
          Returns the res-auth element
 String getResAuthAsString()
          Returns the res-auth element
 String getResourceName()
          Returns the resource-name element
 String getResRefName()
          Returns the res-ref-name element
 ResSharingScopeType getResSharingScope()
          Returns the res-sharing-scope element
 String getResSharingScopeAsString()
          Returns the res-sharing-scope element
 String getResType()
          Returns the res-type element
 String getResUrl()
          Returns the res-url element
 ResourceRefType<T> id(String id)
          Sets the id attribute
 ResourceRefType<T> ignoreDependency()
          Sets the ignore-dependency element
 Boolean isIgnoreDependency()
          Removes the ignore-dependency element
 ResourceRefType<T> jndiName(String jndiName)
          Sets the jndi-name element
 ResourceRefType<T> mappedName(String mappedName)
          Sets the mapped-name element
 ResourceRefType<T> removeAllDescription()
          Removes the description element
 ResourceRefType<T> removeAllInjectionTarget()
          Removes all injection-target elements
 ResourceRefType<T> removeId()
          Removes the id attribute
 ResourceRefType<T> removeIgnoreDependency()
          Removes the ignore-dependency element
 ResourceRefType<T> removeJndiName()
          Removes the jndi-name element
 ResourceRefType<T> removeMappedName()
          Removes the mapped-name element
 ResourceRefType<T> removeResAuth()
          Removes the res-auth attribute
 ResourceRefType<T> removeResourceName()
          Removes the resource-name element
 ResourceRefType<T> removeResRefName()
          Removes the res-ref-name element
 ResourceRefType<T> removeResSharingScope()
          Removes the res-sharing-scope attribute
 ResourceRefType<T> removeResType()
          Removes the res-type element
 ResourceRefType<T> removeResUrl()
          Removes the res-url element
 ResourceRefType<T> resAuth(ResAuthType resAuth)
          Sets the res-auth element
 ResourceRefType<T> resAuth(String resAuth)
          Sets the res-auth element
 ResourceRefType<T> resourceName(String resourceName)
          Sets the resource-name element
 ResourceRefType<T> resRefName(String resRefName)
          Sets the res-ref-name element
 ResourceRefType<T> resSharingScope(ResSharingScopeType resSharingScope)
          Sets the res-sharing-scope element
 ResourceRefType<T> resSharingScope(String resSharingScope)
          Sets the res-sharing-scope element
 ResourceRefType<T> resType(String resType)
          Sets the res-type element
 ResourceRefType<T> resUrl(String resUrl)
          Sets the res-url element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

ResourceRefType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of ResourceRefType

resRefName

ResourceRefType<T> resRefName(String resRefName)
Sets the res-ref-name element

Parameters:
resRefName - the value for the element res-ref-name
Returns:
the current instance of ResourceRefType

getResRefName

String getResRefName()
Returns the res-ref-name element

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

removeResRefName

ResourceRefType<T> removeResRefName()
Removes the res-ref-name element

Returns:
the current instance of ResourceRefType

resType

ResourceRefType<T> resType(String resType)
Sets the res-type element

Parameters:
resType - the value for the element res-type
Returns:
the current instance of ResourceRefType

getResType

String getResType()
Returns the res-type element

Returns:
the node defined for the element res-type

removeResType

ResourceRefType<T> removeResType()
Removes the res-type element

Returns:
the current instance of ResourceRefType

resAuth

ResourceRefType<T> resAuth(ResAuthType resAuth)
Sets the res-auth element

Parameters:
resAuth - the value for the element res-auth
Returns:
the current instance of ResourceRefType

resAuth

ResourceRefType<T> resAuth(String resAuth)
Sets the res-auth element

Parameters:
resAuth - the value for the element res-auth
Returns:
the current instance of ResourceRefType

getResAuth

ResAuthType getResAuth()
Returns the res-auth element

Returns:
the value found for the element res-auth

getResAuthAsString

String getResAuthAsString()
Returns the res-auth element

Returns:
the value found for the element res-auth

removeResAuth

ResourceRefType<T> removeResAuth()
Removes the res-auth attribute

Returns:
the current instance of ResourceRefType

resSharingScope

ResourceRefType<T> resSharingScope(ResSharingScopeType resSharingScope)
Sets the res-sharing-scope element

Parameters:
resSharingScope - the value for the element res-sharing-scope
Returns:
the current instance of ResourceRefType

resSharingScope

ResourceRefType<T> resSharingScope(String resSharingScope)
Sets the res-sharing-scope element

Parameters:
resSharingScope - the value for the element res-sharing-scope
Returns:
the current instance of ResourceRefType

getResSharingScope

ResSharingScopeType getResSharingScope()
Returns the res-sharing-scope element

Returns:
the value found for the element res-sharing-scope

getResSharingScopeAsString

String getResSharingScopeAsString()
Returns the res-sharing-scope element

Returns:
the value found for the element res-sharing-scope

removeResSharingScope

ResourceRefType<T> removeResSharingScope()
Removes the res-sharing-scope attribute

Returns:
the current instance of ResourceRefType

resourceName

ResourceRefType<T> resourceName(String resourceName)
Sets the resource-name element

Parameters:
resourceName - the value for the element resource-name
Returns:
the current instance of ResourceRefType

getResourceName

String getResourceName()
Returns the resource-name element

Returns:
the node defined for the element resource-name

removeResourceName

ResourceRefType<T> removeResourceName()
Removes the resource-name element

Returns:
the current instance of ResourceRefType

jndiName

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

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

getJndiName

String getJndiName()
Returns the jndi-name element

Returns:
the node defined for the element jndi-name

removeJndiName

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

Returns:
the current instance of ResourceRefType

mappedName

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

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

getMappedName

String getMappedName()
Returns the mapped-name element

Returns:
the node defined for the element mapped-name

removeMappedName

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

Returns:
the current instance of ResourceRefType

resUrl

ResourceRefType<T> resUrl(String resUrl)
Sets the res-url element

Parameters:
resUrl - the value for the element res-url
Returns:
the current instance of ResourceRefType

getResUrl

String getResUrl()
Returns the res-url element

Returns:
the node defined for the element res-url

removeResUrl

ResourceRefType<T> removeResUrl()
Removes the res-url element

Returns:
the current instance of ResourceRefType

getOrCreateInjectionTarget

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

Returns:
the new created instance of InjectionTargetType>

getAllInjectionTarget

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

Returns:
list of injection-target

removeAllInjectionTarget

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

Returns:
the current instance of InjectionTargetType>

ignoreDependency

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

Returns:
the current instance of ResourceRefType

isIgnoreDependency

Boolean isIgnoreDependency()
Removes the ignore-dependency element

Returns:
the current instance of ResourceRefType

removeIgnoreDependency

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

Returns:
the current instance of ResourceRefType

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

ResourceRefType<T> removeId()
Removes the id attribute

Returns:
the current instance of ResourceRefType


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