public class WrapperParameter extends ParameterImpl
ParameterImpl
that represents a wrapper,
which is a parameter that consists of multiple nested ParameterImpl
s
within, which together form a body part.
Java method parameters represented by nested ParameterImpl
s will be
packed into a "wrapper bean" and it becomes the ParameterImpl
for the
body.
This parameter is only used for the ParameterBinding.BODY
binding.
Other parameters that bind to other parts (such as headers or unbound)
will show up directly under JavaMethod
.
Modifier and Type | Field and Description |
---|---|
protected List<ParameterImpl> |
wrapperChildren |
Constructor and Description |
---|
WrapperParameter(JavaMethodImpl parent,
TypeInfo typeRef,
WebParam.Mode mode,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
addWrapperChild(ParameterImpl wrapperChild)
Adds a new child parameter.
|
void |
clear() |
List<ParameterImpl> |
getWrapperChildren() |
boolean |
isWrapperStyle()
Deprecated.
Why are you calling a method that always return true?
|
getBinding, getBridge, getBridge, getHolderValue, getInBinding, getIndex, getInlinedRepeatedElementBridge, getItemType, getMode, getName, getOutBinding, getOwner, getParent, getPartName, getTypeInfo, getTypeReference, getXMLBridge, isIN, isINOUT, isOUT, isResponse, isReturnValue, setBinding, setInBinding, setOutBinding, setPartName
protected final List<ParameterImpl> wrapperChildren
public WrapperParameter(JavaMethodImpl parent, TypeInfo typeRef, WebParam.Mode mode, int index)
public boolean isWrapperStyle()
isWrapperStyle
in interface Parameter
isWrapperStyle
in class ParameterImpl
WrapperParameter
.public List<ParameterImpl> getWrapperChildren()
public void addWrapperChild(ParameterImpl wrapperChild)
wrapperChild
- public void clear()
Copyright © 2015 Oracle Corporation. All rights reserved.