ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar30
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 :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 EntityBeanType<EnterpriseBeansType<T>> createEntity()
          Creates a new entity element
 MessageDrivenBeanType<EnterpriseBeansType<T>> createMessageDriven()
          Creates a new message-driven element
 SessionBeanType<EnterpriseBeansType<T>> createSession()
          Creates a new session element
 List<EntityBeanType<EnterpriseBeansType<T>>> getAllEntity()
          Returns all entity elements
 List<MessageDrivenBeanType<EnterpriseBeansType<T>>> getAllMessageDriven()
          Returns all message-driven elements
 List<SessionBeanType<EnterpriseBeansType<T>>> getAllSession()
          Returns all session elements
 EntityBeanType<EnterpriseBeansType<T>> getOrCreateEntity()
          If not already created, a new entity element will be created and returned.
 MessageDrivenBeanType<EnterpriseBeansType<T>> getOrCreateMessageDriven()
          If not already created, a new message-driven 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> removeAllEntity()
          Removes all entity elements
 EnterpriseBeansType<T> removeAllMessageDriven()
          Removes all message-driven elements
 EnterpriseBeansType<T> removeAllSession()
          Removes all session elements
 
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>

getOrCreateEntity

EntityBeanType<EnterpriseBeansType<T>> getOrCreateEntity()
If not already created, a new entity element will be created and returned. Otherwise, the first existing entity element will be returned.

Returns:
the instance defined for the element entity

createEntity

EntityBeanType<EnterpriseBeansType<T>> createEntity()
Creates a new entity element

Returns:
the new created instance of EntityBeanType>

getAllEntity

List<EntityBeanType<EnterpriseBeansType<T>>> getAllEntity()
Returns all entity elements

Returns:
list of entity

removeAllEntity

EnterpriseBeansType<T> removeAllEntity()
Removes all entity elements

Returns:
the current instance of EntityBeanType>

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>

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.