Class BottomType

All Implemented Interfaces:
BasicType<Void>, Type<Void>, Serializable, BasicValuedMapping, Bindable, JdbcMapping, JdbcMappingContainer, MappingModelExpressible, MappingType, SqlExpressible, ValueMapping, BasicDomainType<Void>, DomainType<Void>, SimpleDomainType<Void>, BindableType<Void>, OutputableType<Void>, ReturnableType<Void>, SqmExpressible<Void>, BasicType<Void>, JavaTypedExpressible, ProcedureParameterExtractionAware<Void>, ProcedureParameterNamedBinder<Void>, Type

@Internal public class BottomType extends AbstractSingleColumnStandardBasicType<Void>
A type that is assignable to every non-primitive type, that is, the type of null. Note that this not a true bottom type, since null cannot be assigned to primitive types.

Since the Java language does not have an explicit bottom type, we follow the type system developed for the Ceylon language and treat Void as the Java bottom type.

See Also:
  • Field Details

    • INSTANCE

      public static final BottomType INSTANCE
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Type
      Returns the abbreviated name of the type.
      Returns:
      the Hibernate type name