Interface TypeMap
- All Superinterfaces:
Type, TypeContainer
- All Known Implementing Classes:
ImmutableTypeMap
Keys in a map must be a scalar string.
https://swagger.io/specification/#format
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the java implementation used to instantiate this container.default StringReturns the java implementation declaration with generic types.booleanReturns true if this is a free-from object.static TypeMapnewFreeFormObject(TypeNames typeNames) Creates a new free-form object-type instance.static TypeMapCreates a new map-type instance.default TypeNametypeName()Returns the type name.Methods inherited from interface Type
isBigDecimal, isDate, isDateTime, isDto, isEnum, isPlainObject, isPrimitive, isPrimitive, isTime, isUUID, isValidation, isVoid, wrapperTypeNameMethods inherited from interface TypeContainer
innerType, isContainer, neededImports, typeNames
-
Method Details
-
of
-
newFreeFormObject
-
isFreeFormObject
boolean isFreeFormObject()Returns true if this is a free-from object.- Returns:
- true if this is a free-from object
-
containerImplementation
Description copied from interface:TypeContainerReturns the java implementation used to instantiate this container.- Specified by:
containerImplementationin interfaceTypeContainer- Returns:
- the java implementation used to instantiate this container
-
containerImplementationDeclaration
Description copied from interface:TypeContainerReturns the java implementation declaration with generic types.- Specified by:
containerImplementationDeclarationin interfaceTypeContainer- Returns:
- the java implementation declaration with generic types
-
typeName
-