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 NamedMethodTypeImpl<T>

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

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

    public class NamedMethodTypeImpl<T>

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

This class implements the `named-methodType` xsd type

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

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

Method Summary
`java.lang.String` | `getMethodName()` Returns the `method-name` element
`MethodParamsType<NamedMethodType<T>>` | `methodParams()` If not already created, a new `method-params` element will be created and returned.
`NamedMethodType<T>` | `removeMethodName()` Removes the `method-name` element
`NamedMethodType<T>` | `removeMethodParams()` Removes the `method-params` element
`NamedMethodType<T>` | `setMethodName(java.lang.String methodName)` If not already created, a new `method-name` element with the given value will be created.
`T` | `up()`

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

Constructor Detail

### NamedMethodTypeImpl

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

### NamedMethodTypeImpl

    public NamedMethodTypeImpl(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>`

### setMethodName

    public NamedMethodType<T> setMethodName(java.lang.String methodName)

  If not already created, a new `method-name` element with the given value will be created. Otherwise, the existing `method-name` element will be updated with the given value.

  Specified by:
    `setMethodName` in interface `NamedMethodType<T>`
  Returns:
    the current instance of `NamedMethodType`

### removeMethodName

    public NamedMethodType<T> removeMethodName()

  Removes the `method-name` element

  Specified by:
    `removeMethodName` in interface `NamedMethodType<T>`
  Returns:
    the current instance of `NamedMethodType`

### getMethodName

    public java.lang.String getMethodName()

  Returns the `method-name` element

  Specified by:
    `getMethodName` in interface `NamedMethodType<T>`
  Returns:
    the node defined for the element `method-name`

### removeMethodParams

    public NamedMethodType<T> removeMethodParams()

  Removes the `method-params` element

  Specified by:
    `removeMethodParams` in interface `NamedMethodType<T>`
  Returns:
    the current instance of `NamedMethodType`

### methodParams

    public MethodParamsType<NamedMethodType<T>> methodParams()

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

  Specified by:
    `methodParams` in interface `NamedMethodType<T>`
  Returns:
    the node defined for the element `method-params`

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