Class BaseJavaType
java.lang.Object
com.github.muehmar.gradle.openapi.generator.java.model.type.BaseJavaType
- All Implemented Interfaces:
JavaType
- Direct Known Subclasses:
NonGenericJavaType
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseJavaType(QualifiedClassName className, Optional<ApiType> apiType, Nullability nullability) -
Method Summary
Modifier and TypeMethodDescriptionReturns the qualified classname of the java type used internally in the DTO for serialization and validation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.muehmar.gradle.openapi.generator.java.model.type.JavaType
fold, getAllQualifiedClassNames, getConstraints, getImports, getImportsAsString, getParameterizedApiClassName, getParameterizedClassName, getWriteableParameterizedClassName, hasApiTypeDeep, hasNoApiTypeDeep, isAnyType, isArrayType, isContainerType, isIntegerType, isJavaArray, isMapType, isNullableContainerValueType, isNullableItemsArrayType, isNullableValuesMapType, isNumericType, onArrayType, onMapType, withNullability
-
Field Details
-
className
-
apiType
-
-
Constructor Details
-
BaseJavaType
protected BaseJavaType(QualifiedClassName className, Optional<ApiType> apiType, Nullability nullability)
-
-
Method Details
-
getQualifiedClassName
Description copied from interface:JavaTypeReturns the qualified classname of the java type used internally in the DTO for serialization and validation.- Specified by:
getQualifiedClassNamein interfaceJavaType
-
getApiType
Description copied from interface:JavaTypeReturns theApiTypeof thisJavaType, not for possible generics. I.e. it returns also an emptyOptionalin case theJavaTypeitself has noApiTypebut it has generics with anApiType.- Specified by:
getApiTypein interfaceJavaType
-
getNullability
- Specified by:
getNullabilityin interfaceJavaType
-