Class PrimitiveTypeWrapper
java.lang.Object
org.mybatis.generator.api.dom.java.FullyQualifiedJavaType
org.mybatis.generator.api.dom.java.PrimitiveTypeWrapper
- All Implemented Interfaces:
Comparable<FullyQualifiedJavaType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static PrimitiveTypeWrapperprivate static PrimitiveTypeWrapperprivate static PrimitiveTypeWrapperprivate static PrimitiveTypeWrapperprivate static PrimitiveTypeWrapperprivate static PrimitiveTypeWrapperprivate static PrimitiveTypeWrapperprivate static PrimitiveTypeWrapperprivate final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePrimitiveTypeWrapper(String fullyQualifiedName, String toPrimitiveMethod) Use the static getXXXInstance methods to gain access to one of the type wrappers. -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PrimitiveTypeWrapperstatic PrimitiveTypeWrapperstatic PrimitiveTypeWrapperstatic PrimitiveTypeWrapperstatic PrimitiveTypeWrapperstatic PrimitiveTypeWrapperstatic PrimitiveTypeWrapperstatic PrimitiveTypeWrapperinthashCode()Methods inherited from class org.mybatis.generator.api.dom.java.FullyQualifiedJavaType
addTypeArgument, compareTo, getBooleanPrimitiveInstance, getCriteriaInstance, getDateInstance, getFullyQualifiedName, getFullyQualifiedNameWithoutTypeParameters, getGeneratedCriteriaInstance, getImportList, getIntInstance, getNewArrayListInstance, getNewHashMapInstance, getNewIteratorInstance, getNewListInstance, getObjectInstance, getPackageName, getPrimitiveTypeWrapper, getShortName, getShortNameWithoutTypeArguments, getStringInstance, getTypeArguments, isArray, isExplicitlyImported, isPrimitive, toString
-
Field Details
-
booleanInstance
-
byteInstance
-
characterInstance
-
doubleInstance
-
floatInstance
-
integerInstance
-
longInstance
-
shortInstance
-
toPrimitiveMethod
-
-
Constructor Details
-
PrimitiveTypeWrapper
Use the static getXXXInstance methods to gain access to one of the type wrappers.- Parameters:
fullyQualifiedName- fully qualified name of the wrapper typetoPrimitiveMethod- the method that returns the wrapped primitive
-
-
Method Details
-
getToPrimitiveMethod
-
equals
- Overrides:
equalsin classFullyQualifiedJavaType
-
hashCode
public int hashCode()- Overrides:
hashCodein classFullyQualifiedJavaType
-
getBooleanInstance
-
getByteInstance
-
getCharacterInstance
-
getDoubleInstance
-
getFloatInstance
-
getIntegerInstance
-
getLongInstance
-
getShortInstance
-