Class SizeSourceImpl
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.SizeSourceImpl
-
- All Implemented Interfaces:
SizeSource
public class SizeSourceImpl extends Object implements SizeSource
Implementation of SizeSource
-
-
Constructor Summary
Constructors Constructor Description SizeSourceImpl(Integer length, Integer scale, Integer precision)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getLength()
The specified length.Integer
getPrecision()
The specified precision.Integer
getScale()
The specified scale.
-
-
-
Method Detail
-
getLength
public Integer getLength()
Description copied from interface:SizeSource
The specified length. Will returnnull
if none was specified.- Specified by:
getLength
in interfaceSizeSource
- Returns:
- The length, or
null
if not defined.
-
getPrecision
public Integer getPrecision()
Description copied from interface:SizeSource
The specified precision. Will returnnull
if none was specified.- Specified by:
getPrecision
in interfaceSizeSource
- Returns:
- The precision, or
null
if not defined.
-
getScale
public Integer getScale()
Description copied from interface:SizeSource
The specified scale. Will returnnull
if none was specified.- Specified by:
getScale
in interfaceSizeSource
- Returns:
- The scale, or
null
if not defined.
-
-