Class ParamDefinition
java.lang.Object
org.chenile.core.model.ParamDefinition
- All Implemented Interfaces:
Serializable
Defines an individual parameter that is accepted by an operation of a sevice.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) String(package private) String(package private) Class<?> (package private) Typeprivate static final long(package private) HttpBindingType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Class<?> Raw invocation type used internally for method matching and runtime conversion.The public metadata type for the parameter.getType()booleanvoidsetCacheKey(boolean cacheKey) voidsetDescription(String description) voidvoidsetParamClass(Class<?> paramClass) Internal setter for the raw invocation type.voidsetParamType(Type paramType) voidsetParamTypeAsString(String paramTypeName) voidsetType(HttpBindingType type) toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
name
String name -
type
HttpBindingType type -
description
String description -
paramClass
Class<?> paramClass -
paramType
Type paramType -
cacheKey
boolean cacheKey
-
-
Constructor Details
-
ParamDefinition
public ParamDefinition()
-
-
Method Details
-
getParamClass
Raw invocation type used internally for method matching and runtime conversion. External consumers should usegetParamType()instead. -
setParamClass
Internal setter for the raw invocation type. External metadata producers should prefersetParamType(Type)so generic type information is preserved. -
getParamType
The public metadata type for the parameter. External consumers should use this accessor instead ofgetParamClass()because it preserves generic type information. -
setParamType
-
getParamTypeAsString
-
setParamTypeAsString
- Throws:
ClassNotFoundException
-
getName
-
setName
-
getType
-
setType
-
getDescription
-
setDescription
-
isCacheKey
public boolean isCacheKey() -
setCacheKey
public void setCacheKey(boolean cacheKey) -
toString
-