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 IntegergetLength()The specified length.IntegergetPrecision()The specified precision.IntegergetScale()The specified scale.
-
-
-
Method Detail
-
getLength
public Integer getLength()
Description copied from interface:SizeSourceThe specified length. Will returnnullif none was specified.- Specified by:
getLengthin interfaceSizeSource- Returns:
- The length, or
nullif not defined.
-
getPrecision
public Integer getPrecision()
Description copied from interface:SizeSourceThe specified precision. Will returnnullif none was specified.- Specified by:
getPrecisionin interfaceSizeSource- Returns:
- The precision, or
nullif not defined.
-
getScale
public Integer getScale()
Description copied from interface:SizeSourceThe specified scale. Will returnnullif none was specified.- Specified by:
getScalein interfaceSizeSource- Returns:
- The scale, or
nullif not defined.
-
-