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

All Superinterfaces:
Child<T>

public interface ResourceManagersType<T>
extends Child<T>

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

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

Method Summary
 ResourceManagerType<ResourceManagersType<T>> createResourceManager()
          Creates a new resource-manager element
 ResourceManagersType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllDescription()
          Returns all description elements
 List<ResourceManagerType<ResourceManagersType<T>>> getAllResourceManager()
          Returns all resource-manager elements
 String getId()
          Returns the id attribute
 ResourceManagerType<ResourceManagersType<T>> getOrCreateResourceManager()
          If not already created, a new resource-manager element will be created and returned.
 ResourceManagersType<T> id(String id)
          Sets the id attribute
 ResourceManagersType<T> removeAllDescription()
          Removes the description element
 ResourceManagersType<T> removeAllResourceManager()
          Removes all resource-manager elements
 ResourceManagersType<T> removeId()
          Removes the id attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

ResourceManagersType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of ResourceManagersType

getOrCreateResourceManager

ResourceManagerType<ResourceManagersType<T>> getOrCreateResourceManager()
If not already created, a new resource-manager element will be created and returned. Otherwise, the first existing resource-manager element will be returned.

Returns:
the instance defined for the element resource-manager

createResourceManager

ResourceManagerType<ResourceManagersType<T>> createResourceManager()
Creates a new resource-manager element

Returns:
the new created instance of ResourceManagerType>

getAllResourceManager

List<ResourceManagerType<ResourceManagersType<T>>> getAllResourceManager()
Returns all resource-manager elements

Returns:
list of resource-manager

removeAllResourceManager

ResourceManagersType<T> removeAllResourceManager()
Removes all resource-manager elements

Returns:
the current instance of ResourceManagerType>

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

ResourceManagersType<T> removeId()
Removes the id attribute

Returns:
the current instance of ResourceManagersType


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