ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar31
Interface InitMethodType<T>

All Superinterfaces:
Child<T>

public interface InitMethodType<T>
extends Child<T>

This interface defines the contract for the init-methodType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 NamedMethodType<InitMethodType<T>> getOrCreateBeanMethod()
          If not already created, a new bean-method element with the given value will be created.
 NamedMethodType<InitMethodType<T>> getOrCreateCreateMethod()
          If not already created, a new create-method element with the given value will be created.
 InitMethodType<T> removeBeanMethod()
          Removes the bean-method element
 InitMethodType<T> removeCreateMethod()
          Removes the create-method element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateCreateMethod

NamedMethodType<InitMethodType<T>> getOrCreateCreateMethod()
If not already created, a new create-method element with the given value will be created. Otherwise, the existing create-method element will be returned.

Returns:
a new or existing instance of NamedMethodType>

removeCreateMethod

InitMethodType<T> removeCreateMethod()
Removes the create-method element

Returns:
the current instance of InitMethodType

getOrCreateBeanMethod

NamedMethodType<InitMethodType<T>> getOrCreateBeanMethod()
If not already created, a new bean-method element with the given value will be created. Otherwise, the existing bean-method element will be returned.

Returns:
a new or existing instance of NamedMethodType>

removeBeanMethod

InitMethodType<T> removeBeanMethod()
Removes the bean-method element

Returns:
the current instance of InitMethodType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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