public interface MethodType<T> extends Child<T>, MapMethodCommonType<T,MethodType<T>,ParameterType<MethodType<T>>,CrossParameterType<MethodType<T>>,ReturnValueType<MethodType<T>>>
methodType
xsd typeModifier 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.parameter
ParameterType<MethodType<T>> createParameter()
parameter
elementParameterType>
List<ParameterType<MethodType<T>>> getAllParameter()
parameter
elementsparameter
MethodType<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
elementMethodType
ReturnValueType<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
elementMethodType
MethodType<T> name(String name)
name
attributename
- the value for the attribute name
MethodType
String getName()
name
attributename
MethodType<T> removeName()
name
attributeMethodType
MethodType<T> ignoreAnnotations(Boolean ignoreAnnotations)
ignore-annotations
attributeignoreAnnotations
- the value for the attribute ignore-annotations
MethodType
Boolean isIgnoreAnnotations()
ignore-annotations
attributeignore-annotations
MethodType<T> removeIgnoreAnnotations()
ignore-annotations
attributeMethodType
Copyright © 2023 JBoss by Red Hat. All rights reserved.