Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.shrinkwrap.descriptor.impl.ejbjar31
Class InitMethodTypeImpl<T>

    java.lang.Object
      org.jboss.shrinkwrap.descriptor.impl.ejbjar31.InitMethodTypeImpl<T>

All Implemented Interfaces:
  org.jboss.shrinkwrap.descriptor.api.Child<T>, InitMethodType<T>

    public class InitMethodTypeImpl<T>

extends java.lang.Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, InitMethodType<T>

This class implements the `init-methodType` xsd type

Since:
  Generation date :2011-07-19T22:55:02.759+02:00
Author:
  Ralf Battenfeld

Constructor Summary
`InitMethodTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)`
`InitMethodTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)`

Method Summary
`NamedMethodType<InitMethodType<T>>` | `beanMethod()` If not already created, a new `bean-method` element will be created and returned.
`NamedMethodType<InitMethodType<T>>` | `createMethod()` If not already created, a new `create-method` element will be created and returned.
`InitMethodType<T>` | `removeBeanMethod()` Removes the `bean-method` element
`InitMethodType<T>` | `removeCreateMethod()` Removes the `create-method` element
`T` | `up()`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### InitMethodTypeImpl

    public InitMethodTypeImpl(T t,
                              java.lang.String nodeName,
                              org.jboss.shrinkwrap.descriptor.spi.Node node)

### InitMethodTypeImpl

    public InitMethodTypeImpl(T t,
                              java.lang.String nodeName,
                              org.jboss.shrinkwrap.descriptor.spi.Node node,
                              org.jboss.shrinkwrap.descriptor.spi.Node childNode)

Method Detail

### up

    public T up()

  Specified by:
    `up` in interface `org.jboss.shrinkwrap.descriptor.api.Child<T>`

### removeCreateMethod

    public InitMethodType<T> removeCreateMethod()

  Removes the `create-method` element

  Specified by:
    `removeCreateMethod` in interface `InitMethodType<T>`
  Returns:
    the current instance of `InitMethodType`

### createMethod

    public NamedMethodType<InitMethodType<T>> createMethod()

  If not already created, a new `create-method` element will be created and returned. Otherwise, the existing `create-method` element will be returned.

  Specified by:
    `createMethod` in interface `InitMethodType<T>`
  Returns:
    the node defined for the element `create-method`

### removeBeanMethod

    public InitMethodType<T> removeBeanMethod()

  Removes the `bean-method` element

  Specified by:
    `removeBeanMethod` in interface `InitMethodType<T>`
  Returns:
    the current instance of `InitMethodType`

### beanMethod

    public NamedMethodType<InitMethodType<T>> beanMethod()

  If not already created, a new `bean-method` element will be created and returned. Otherwise, the existing `bean-method` element will be returned.

  Specified by:
    `beanMethod` in interface `InitMethodType<T>`
  Returns:
    the node defined for the element `bean-method`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD