Package dk.mada.jaxrs.model.types
Interface TypeContainer
- All Superinterfaces:
Type
Type representing a container.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the java implementation used to instantiate this container.Returns the type of data in the container.default boolean
Returns true if this type represents a container, otherwise false.Returns the set of imports needed to use this type in a DTO.Returns the type names instance.Methods inherited from interface dk.mada.jaxrs.model.types.Type
isBigDecimal, isDate, isDateTime, isDto, isEnum, isPlainObject, isPrimitive, isPrimitive, isTime, isUUID, isValidation, isVoid, typeName, wrapperTypeName
-
Method Details
-
innerType
Type innerType()Returns the type of data in the container.- Returns:
- the type of data in the container
-
containerImplementation
String containerImplementation()Returns the java implementation used to instantiate this container.- Returns:
- the java implementation used to instantiate this container
-
typeNames
TypeNames typeNames()Returns the type names instance.- Returns:
- the type names instance
-
isContainer
default boolean isContainer()Description copied from interface:Type
Returns true if this type represents a container, otherwise false.- Specified by:
isContainer
in interfaceType
- Returns:
- true if this type represents a container, otherwise false
-
neededImports
Description copied from interface:Type
Returns the set of imports needed to use this type in a DTO.- Specified by:
neededImports
in interfaceType
- Returns:
- the set of imports needed to use this type in a DTO
-