Package dk.mada.jaxrs.model.types
Class TypeBigDecimal
java.lang.Object
dk.mada.jaxrs.model.types.TypeBigDecimal
- All Implemented Interfaces:
Type
Special type for handing number schema.
-
Method Summary
Modifier and TypeMethodDescriptionstatic TypeBigDecimal
get()
Returns the single instance.boolean
Returns true if this type represents big-decimal.Returns the set of imports needed to use this type in a DTO.typeName()
Returns the type name.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dk.mada.jaxrs.model.types.Type
isContainer, isDate, isDateTime, isDto, isEnum, isPlainObject, isPrimitive, isPrimitive, isTime, isUUID, isValidation, isVoid, wrapperTypeName
-
Method Details
-
get
Returns the single instance.- Returns:
- the single instance
-
typeName
Description copied from interface:Type
Returns the type name. -
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
-
isBigDecimal
public boolean isBigDecimal()Description copied from interface:Type
Returns true if this type represents big-decimal.- Specified by:
isBigDecimal
in interfaceType
- Returns:
- true if this type represents big-decimal
-