|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.ejbjar30.NamedMethodTypeImpl<T>
public class NamedMethodTypeImpl<T>
This class implements the named-methodType
xsd type
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 |
---|
public NamedMethodTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public NamedMethodTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public NamedMethodType<T> setMethodName(java.lang.String methodName)
method-name
element with the given value will be created.
Otherwise, the existing method-name
element will be updated with the given value.
setMethodName
in interface NamedMethodType<T>
NamedMethodType
public NamedMethodType<T> removeMethodName()
method-name
element
removeMethodName
in interface NamedMethodType<T>
NamedMethodType
public java.lang.String getMethodName()
method-name
element
getMethodName
in interface NamedMethodType<T>
method-name
public NamedMethodType<T> removeMethodParams()
method-params
element
removeMethodParams
in interface NamedMethodType<T>
NamedMethodType
public MethodParamsType<NamedMethodType<T>> methodParams()
method-params
element will be created and returned.
Otherwise, the existing method-params
element will be returned.
methodParams
in interface NamedMethodType<T>
method-params
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |