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

All Superinterfaces:
Child<T>

public interface ResourceManagerType<T>
extends Child<T>

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

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

Method Summary
 ResourceManagerType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllDescription()
          Returns all description elements
 String getId()
          Returns the id attribute
 String getResClass()
          Returns the res-class attribute
 String getResJndiName()
          Returns the res-jndi-name element
 String getResName()
          Returns the res-name element
 String getResUrl()
          Returns the res-url element
 ResourceManagerType<T> id(String id)
          Sets the id attribute
 ResourceManagerType<T> removeAllDescription()
          Removes the description element
 ResourceManagerType<T> removeId()
          Removes the id attribute
 ResourceManagerType<T> removeResClass()
          Removes the res-class attribute
 ResourceManagerType<T> removeResJndiName()
          Removes the res-jndi-name element
 ResourceManagerType<T> removeResName()
          Removes the res-name element
 ResourceManagerType<T> removeResUrl()
          Removes the res-url element
 ResourceManagerType<T> resClass(String resClass)
          Sets the res-class attribute
 ResourceManagerType<T> resJndiName(String resJndiName)
          Sets the res-jndi-name element
 ResourceManagerType<T> resName(String resName)
          Sets the res-name element
 ResourceManagerType<T> resUrl(String resUrl)
          Sets the res-url element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

ResourceManagerType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of ResourceManagerType

resName

ResourceManagerType<T> resName(String resName)
Sets the res-name element

Parameters:
resName - the value for the element res-name
Returns:
the current instance of ResourceManagerType

getResName

String getResName()
Returns the res-name element

Returns:
the node defined for the element res-name

removeResName

ResourceManagerType<T> removeResName()
Removes the res-name element

Returns:
the current instance of ResourceManagerType

resJndiName

ResourceManagerType<T> resJndiName(String resJndiName)
Sets the res-jndi-name element

Parameters:
resJndiName - the value for the element res-jndi-name
Returns:
the current instance of ResourceManagerType

getResJndiName

String getResJndiName()
Returns the res-jndi-name element

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

removeResJndiName

ResourceManagerType<T> removeResJndiName()
Removes the res-jndi-name element

Returns:
the current instance of ResourceManagerType

resUrl

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

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

getResUrl

String getResUrl()
Returns the res-url element

Returns:
the node defined for the element res-url

removeResUrl

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

Returns:
the current instance of ResourceManagerType

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

ResourceManagerType<T> removeId()
Removes the id attribute

Returns:
the current instance of ResourceManagerType

resClass

ResourceManagerType<T> resClass(String resClass)
Sets the res-class attribute

Parameters:
resClass - the value for the attribute res-class
Returns:
the current instance of ResourceManagerType

getResClass

String getResClass()
Returns the res-class attribute

Returns:
the value defined for the attribute res-class

removeResClass

ResourceManagerType<T> removeResClass()
Removes the res-class attribute

Returns:
the current instance of ResourceManagerType


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