org.jboss.shrinkwrap.descriptor.api.ejbjar30
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 :2013-01-26T19:26:58.657+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 String getId()
          Returns the id attribute
 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> id(String id)
          Sets the id attribute
 InitMethodType<T> removeBeanMethod()
          Removes the bean-method element
 InitMethodType<T> removeCreateMethod()
          Removes the create-method element
 InitMethodType<T> removeId()
          Removes the id attribute
 
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

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

InitMethodType<T> removeId()
Removes the id attribute

Returns:
the current instance of InitMethodType


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