
public interface MethodType<T> extends Child<T>, MapMethodCommonType<T,MethodType<T>,ParameterType<MethodType<T>>,CrossParameterType<MethodType<T>>,ReturnValueType<MethodType<T>>>
methodType xsd type| Modifier and Type | Method and Description |
|---|---|
ParameterType<MethodType<T>> |
createParameter()
Creates a new
parameter element |
List<ParameterType<MethodType<T>>> |
getAllParameter()
Returns all
parameter elements |
String |
getName()
Returns the
name attribute |
CrossParameterType<MethodType<T>> |
getOrCreateCrossParameter()
If not already created, a new
cross-parameter element with the given value will be created. |
ParameterType<MethodType<T>> |
getOrCreateParameter()
If not already created, a new
parameter element will be created and returned. |
ReturnValueType<MethodType<T>> |
getOrCreateReturnValue()
If not already created, a new
return-value element with the given value will be created. |
MethodType<T> |
ignoreAnnotations(Boolean ignoreAnnotations)
Sets the
ignore-annotations attribute |
Boolean |
isIgnoreAnnotations()
Returns the
ignore-annotations attribute |
MethodType<T> |
name(String name)
Sets the
name attribute |
MethodType<T> |
removeAllParameter()
Removes all
parameter elements |
MethodType<T> |
removeCrossParameter()
Removes the
cross-parameter element |
MethodType<T> |
removeIgnoreAnnotations()
Removes the
ignore-annotations attribute |
MethodType<T> |
removeName()
Removes the
name attribute |
MethodType<T> |
removeReturnValue()
Removes the
return-value element |
ParameterType<MethodType<T>> getOrCreateParameter()
parameter element will be created and returned.
Otherwise, the first existing parameter element will be returned.parameterParameterType<MethodType<T>> createParameter()
parameter elementParameterType> List<ParameterType<MethodType<T>>> getAllParameter()
parameter elementsparameterMethodType<T> removeAllParameter()
parameter elementsParameterType> CrossParameterType<MethodType<T>> getOrCreateCrossParameter()
cross-parameter element with the given value will be created.
Otherwise, the existing cross-parameter element will be returned.CrossParameterType> MethodType<T> removeCrossParameter()
cross-parameter elementMethodTypeReturnValueType<MethodType<T>> getOrCreateReturnValue()
return-value element with the given value will be created.
Otherwise, the existing return-value element will be returned.ReturnValueType> MethodType<T> removeReturnValue()
return-value elementMethodTypeMethodType<T> name(String name)
name attributename - the value for the attribute nameMethodTypeString getName()
name attributenameMethodType<T> removeName()
name attributeMethodTypeMethodType<T> ignoreAnnotations(Boolean ignoreAnnotations)
ignore-annotations attributeignoreAnnotations - the value for the attribute ignore-annotationsMethodTypeBoolean isIgnoreAnnotations()
ignore-annotations attributeignore-annotationsMethodType<T> removeIgnoreAnnotations()
ignore-annotations attributeMethodTypeCopyright © 2025 JBoss by Red Hat. All rights reserved.