|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MethodType<T>
This interface defines the contract for the methodType
xsd type
Method Summary | |
---|---|
MethodType<T> |
description(String... values)
Creates for all String objects representing description elements,
a new description element |
MethodType<T> |
ejbName(String ejbName)
Sets the ejb-name element |
List<String> |
getAllDescription()
Returns all description elements |
String |
getEjbName()
Returns the ejb-name element |
MethodIntfType |
getMethodIntf()
Returns the method-intf element |
String |
getMethodIntfAsString()
Returns the method-intf element |
String |
getMethodName()
Returns the method-name element |
MethodParamsType<MethodType<T>> |
getOrCreateMethodParams()
If not already created, a new method-params element with the given value will be created. |
MethodType<T> |
methodIntf(MethodIntfType methodIntf)
Sets the method-intf element |
MethodType<T> |
methodIntf(String methodIntf)
Sets the method-intf element |
MethodType<T> |
methodName(String methodName)
Sets the method-name element |
MethodType<T> |
removeAllDescription()
Removes the description element |
MethodType<T> |
removeEjbName()
Removes the ejb-name element |
MethodType<T> |
removeMethodIntf()
Removes the method-intf attribute |
MethodType<T> |
removeMethodName()
Removes the method-name element |
MethodType<T> |
removeMethodParams()
Removes the method-params element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
MethodType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
MethodType
List<String> getAllDescription()
description
elements
description
MethodType<T> removeAllDescription()
description
element
MethodType
MethodType<T> ejbName(String ejbName)
ejb-name
element
ejbName
- the value for the element ejb-name
MethodType
String getEjbName()
ejb-name
element
ejb-name
MethodType<T> removeEjbName()
ejb-name
element
MethodType
MethodType<T> methodIntf(MethodIntfType methodIntf)
method-intf
element
methodIntf
- the value for the element method-intf
MethodType
MethodType<T> methodIntf(String methodIntf)
method-intf
element
methodIntf
- the value for the element method-intf
MethodType
MethodIntfType getMethodIntf()
method-intf
element
method-intf
String getMethodIntfAsString()
method-intf
element
method-intf
MethodType<T> removeMethodIntf()
method-intf
attribute
MethodType
MethodType<T> methodName(String methodName)
method-name
element
methodName
- the value for the element method-name
MethodType
String getMethodName()
method-name
element
method-name
MethodType<T> removeMethodName()
method-name
element
MethodType
MethodParamsType<MethodType<T>> getOrCreateMethodParams()
method-params
element with the given value will be created.
Otherwise, the existing method-params
element will be returned.
MethodParamsType>
MethodType<T> removeMethodParams()
method-params
element
MethodType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |