Class MethodParameter
- java.lang.Object
-
- org.jboss.resteasy.reactive.common.model.MethodParameter
-
public class MethodParameter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description String
declaredType
Generally this will be the same as type, unless the parameter is a collection, in which case 'type' will be the element type and this will be the collection typeString
declaredUnresolvedType
This will only be different from the declaredType if a TypeVariable was used.boolean
encoded
String
mimeType
String
name
ParameterType
parameterType
String
partFileName
String
signature
String
type
-
Constructor Summary
Constructors Constructor Description MethodParameter()
MethodParameter(String name, String type, String declaredType, String declaredUnresolvedType, String signature, ParameterType parameterType, boolean single, String defaultValue, boolean isObtainedAsCollection, boolean optional, boolean encoded, String mimeType, String partFileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getDeclaredType()
String
getDefaultValue()
String
getName()
ParameterType
getParameterType()
String
getType()
int
hashCode()
boolean
isObtainedAsCollection()
boolean
isOptional()
boolean
isSingle()
MethodParameter
setDeclaredType(String declaredType)
MethodParameter
setDefaultValue(String defaultValue)
void
setName(String name)
MethodParameter
setObtainedAsCollection(boolean isObtainedAsCollection)
void
setOptional(boolean optional)
void
setParameterType(ParameterType parameterType)
MethodParameter
setSingle(boolean single)
void
setType(String type)
String
toString()
-
-
-
Field Detail
-
name
public String name
-
type
public String type
-
declaredType
public String declaredType
Generally this will be the same as type, unless the parameter is a collection, in which case 'type' will be the element type and this will be the collection type
-
declaredUnresolvedType
public String declaredUnresolvedType
This will only be different from the declaredType if a TypeVariable was used. It is needed for proper reflection method lookups
-
signature
public String signature
-
parameterType
public ParameterType parameterType
-
encoded
public boolean encoded
-
mimeType
public String mimeType
-
partFileName
public String partFileName
-
-
Constructor Detail
-
MethodParameter
public MethodParameter()
-
MethodParameter
public MethodParameter(String name, String type, String declaredType, String declaredUnresolvedType, String signature, ParameterType parameterType, boolean single, String defaultValue, boolean isObtainedAsCollection, boolean optional, boolean encoded, String mimeType, String partFileName)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getParameterType
public ParameterType getParameterType()
-
setParameterType
public void setParameterType(ParameterType parameterType)
-
getDefaultValue
public String getDefaultValue()
-
setDefaultValue
public MethodParameter setDefaultValue(String defaultValue)
-
isSingle
public boolean isSingle()
-
setSingle
public MethodParameter setSingle(boolean single)
-
getDeclaredType
public String getDeclaredType()
-
setDeclaredType
public MethodParameter setDeclaredType(String declaredType)
-
isObtainedAsCollection
public boolean isObtainedAsCollection()
-
isOptional
public boolean isOptional()
-
setOptional
public void setOptional(boolean optional)
-
setObtainedAsCollection
public MethodParameter setObtainedAsCollection(boolean isObtainedAsCollection)
-
-