Interface TypeSet
- All Superinterfaces:
Type, TypeContainer
- All Known Implementing Classes:
ImmutableTypeSet
Type representing an array schema with unique elements (aka a set).
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the java implementation used to instantiate this container.default StringReturns the java implementation declaration with generic types.static TypeSetCreates a type for a set.default TypeNametypeName()Returns the type name.default StringtypeNameWithRuntimeAnnotations(String runtimeAnnotations) Returns the type name but includes runtime annotations.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
-
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
-
typeNameWithRuntimeAnnotations
Description copied from interface:TypeContainerReturns the type name but includes runtime annotations.- Specified by:
typeNameWithRuntimeAnnotationsin interfaceTypeContainer- Parameters:
runtimeAnnotations- the runtime annotations to prefix- Returns:
- the type name but includes runtime annotations
-