Class TypeBigDecimal

java.lang.Object
dk.mada.jaxrs.model.types.TypeBigDecimal
All Implemented Interfaces:
Type

public final class TypeBigDecimal extends Object implements Type
Special type for handing number schema.
  • Method Details

    • get

      public static TypeBigDecimal get()
      Returns the single instance.
      Returns:
      the single instance
    • typeName

      public TypeName typeName()
      Description copied from interface: Type
      Returns the type name.
      Specified by:
      typeName in interface Type
      Returns:
      the type name
    • neededImports

      public Set<String> neededImports()
      Description copied from interface: Type
      Returns the set of imports needed to use this type in a DTO.
      Specified by:
      neededImports in interface Type
      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 interface Type
      Returns:
      true if this type represents big-decimal