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

All Superinterfaces:
Child<T>

public interface EnterpriseBeansType<T>
extends Child<T>

This interface defines the contract for the enterprise-beansType xsd type

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

Method Summary
 ConsumerBeanType<EnterpriseBeansType<T>> createConsumer()
          Creates a new consumer element
 GenericBeanType<EnterpriseBeansType<T>> createEjb()
          Creates a new ejb element
 MessageDrivenBeanType<EnterpriseBeansType<T>> createMessageDriven()
          Creates a new message-driven element
 ServiceBeanType<EnterpriseBeansType<T>> createService()
          Creates a new service element
 SessionBeanType<EnterpriseBeansType<T>> createSession()
          Creates a new session element
 List<ConsumerBeanType<EnterpriseBeansType<T>>> getAllConsumer()
          Returns all consumer elements
 List<GenericBeanType<EnterpriseBeansType<T>>> getAllEjb()
          Returns all ejb elements
 List<MessageDrivenBeanType<EnterpriseBeansType<T>>> getAllMessageDriven()
          Returns all message-driven elements
 List<ServiceBeanType<EnterpriseBeansType<T>>> getAllService()
          Returns all service elements
 List<SessionBeanType<EnterpriseBeansType<T>>> getAllSession()
          Returns all session elements
 String getId()
          Returns the id attribute
 ConsumerBeanType<EnterpriseBeansType<T>> getOrCreateConsumer()
          If not already created, a new consumer element will be created and returned.
 GenericBeanType<EnterpriseBeansType<T>> getOrCreateEjb()
          If not already created, a new ejb element will be created and returned.
 MessageDrivenBeanType<EnterpriseBeansType<T>> getOrCreateMessageDriven()
          If not already created, a new message-driven element will be created and returned.
 ServiceBeanType<EnterpriseBeansType<T>> getOrCreateService()
          If not already created, a new service element will be created and returned.
 SessionBeanType<EnterpriseBeansType<T>> getOrCreateSession()
          If not already created, a new session element will be created and returned.
 EnterpriseBeansType<T> id(String id)
          Sets the id attribute
 EnterpriseBeansType<T> removeAllConsumer()
          Removes all consumer elements
 EnterpriseBeansType<T> removeAllEjb()
          Removes all ejb elements
 EnterpriseBeansType<T> removeAllMessageDriven()
          Removes all message-driven elements
 EnterpriseBeansType<T> removeAllService()
          Removes all service elements
 EnterpriseBeansType<T> removeAllSession()
          Removes all session elements
 EnterpriseBeansType<T> removeId()
          Removes the id attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateSession

SessionBeanType<EnterpriseBeansType<T>> getOrCreateSession()
If not already created, a new session element will be created and returned. Otherwise, the first existing session element will be returned.

Returns:
the instance defined for the element session

createSession

SessionBeanType<EnterpriseBeansType<T>> createSession()
Creates a new session element

Returns:
the new created instance of SessionBeanType>

getAllSession

List<SessionBeanType<EnterpriseBeansType<T>>> getAllSession()
Returns all session elements

Returns:
list of session

removeAllSession

EnterpriseBeansType<T> removeAllSession()
Removes all session elements

Returns:
the current instance of SessionBeanType>

getOrCreateMessageDriven

MessageDrivenBeanType<EnterpriseBeansType<T>> getOrCreateMessageDriven()
If not already created, a new message-driven element will be created and returned. Otherwise, the first existing message-driven element will be returned.

Returns:
the instance defined for the element message-driven

createMessageDriven

MessageDrivenBeanType<EnterpriseBeansType<T>> createMessageDriven()
Creates a new message-driven element

Returns:
the new created instance of MessageDrivenBeanType>

getAllMessageDriven

List<MessageDrivenBeanType<EnterpriseBeansType<T>>> getAllMessageDriven()
Returns all message-driven elements

Returns:
list of message-driven

removeAllMessageDriven

EnterpriseBeansType<T> removeAllMessageDriven()
Removes all message-driven elements

Returns:
the current instance of MessageDrivenBeanType>

getOrCreateService

ServiceBeanType<EnterpriseBeansType<T>> getOrCreateService()
If not already created, a new service element will be created and returned. Otherwise, the first existing service element will be returned.

Returns:
the instance defined for the element service

createService

ServiceBeanType<EnterpriseBeansType<T>> createService()
Creates a new service element

Returns:
the new created instance of ServiceBeanType>

getAllService

List<ServiceBeanType<EnterpriseBeansType<T>>> getAllService()
Returns all service elements

Returns:
list of service

removeAllService

EnterpriseBeansType<T> removeAllService()
Removes all service elements

Returns:
the current instance of ServiceBeanType>

getOrCreateConsumer

ConsumerBeanType<EnterpriseBeansType<T>> getOrCreateConsumer()
If not already created, a new consumer element will be created and returned. Otherwise, the first existing consumer element will be returned.

Returns:
the instance defined for the element consumer

createConsumer

ConsumerBeanType<EnterpriseBeansType<T>> createConsumer()
Creates a new consumer element

Returns:
the new created instance of ConsumerBeanType>

getAllConsumer

List<ConsumerBeanType<EnterpriseBeansType<T>>> getAllConsumer()
Returns all consumer elements

Returns:
list of consumer

removeAllConsumer

EnterpriseBeansType<T> removeAllConsumer()
Removes all consumer elements

Returns:
the current instance of ConsumerBeanType>

getOrCreateEjb

GenericBeanType<EnterpriseBeansType<T>> getOrCreateEjb()
If not already created, a new ejb element will be created and returned. Otherwise, the first existing ejb element will be returned.

Returns:
the instance defined for the element ejb

createEjb

GenericBeanType<EnterpriseBeansType<T>> createEjb()
Creates a new ejb element

Returns:
the new created instance of GenericBeanType>

getAllEjb

List<GenericBeanType<EnterpriseBeansType<T>>> getAllEjb()
Returns all ejb elements

Returns:
list of ejb

removeAllEjb

EnterpriseBeansType<T> removeAllEjb()
Removes all ejb elements

Returns:
the current instance of GenericBeanType>

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

EnterpriseBeansType<T> removeId()
Removes the id attribute

Returns:
the current instance of EnterpriseBeansType


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