Package restx.factory
Class ParamDef<T>
java.lang.Object
restx.factory.ParamDef<T>
- Author:
- fcamblor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()getType()inthashCode()booleanbooleanstatic <T> ParamDef<T>static <T> ParamDef<T>of(Class<T> rawType, String name, com.google.common.collect.ImmutableMap<String, ParamDef.SpecialParamHandling> pathSpecialParamsHandlig) static <T> ParamDef<T>of(TypeReference<T> type, String name) static <T> ParamDef<T>of(TypeReference<T> type, String name, com.google.common.collect.ImmutableMap<String, ParamDef.SpecialParamHandling> pathSpecialParamsHandlig) toString()
-
Constructor Details
-
ParamDef
-
ParamDef
-
ParamDef
-
ParamDef
protected ParamDef(String name, TypeReference<T> typeRef, Class<T> primitiveType, ParamDef.ParamValuesHandlings paramValuesHandlings)
-
-
Method Details
-
of
-
of
public static <T> ParamDef<T> of(TypeReference<T> type, String name, com.google.common.collect.ImmutableMap<String, ParamDef.SpecialParamHandling> pathSpecialParamsHandlig) -
of
-
of
public static <T> ParamDef<T> of(Class<T> rawType, String name, com.google.common.collect.ImmutableMap<String, ParamDef.SpecialParamHandling> pathSpecialParamsHandlig) -
getName
-
getType
-
isPrimitiveType
public boolean isPrimitiveType() -
getRawType
-
isAggregateType
public boolean isAggregateType() -
getAggregateType
-
getParamValuesHandlings
-
equals
-
hashCode
public int hashCode() -
toString
-