Top Description Fields Constructors Methods
org.hibernate.boot.model.source.internal.hbm

public Class SizeSourceImpl

extends Object
implements SizeSource
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.model.source.spi.SizeSource
Imports
org.hibernate.boot.model.source.spi.SizeSource

Implementation of SizeSource
Authors
Steve Ebersole, Gail Badner

Field Summary

Modifier and TypeField and Description
private final Integer
private final Integer
private final Integer

Constructor Summary

AccessConstructor and Description
public
SizeSourceImpl(Integer length, Integer scale, Integer precision)

Method Summary

Modifier and TypeMethod and Description
public Integer
public Integer
public Integer
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

lengthback to summary
private final Integer length
precisionback to summary
private final Integer precision
scaleback to summary
private final Integer scale

Constructor Detail

SizeSourceImplback to summary
public SizeSourceImpl(Integer length, Integer scale, Integer precision)

Method Detail

getLengthback to summary
public Integer getLength()

Implements org.hibernate.boot.model.source.spi.SizeSource.getLength.

Doc from org.hibernate.boot.model.source.spi.SizeSource.getLength.

The specified length. Will return null if none was specified.

Returns:Integer

The length, or null if not defined.

Annotations
@Override
getPrecisionback to summary
public Integer getPrecision()

Implements org.hibernate.boot.model.source.spi.SizeSource.getPrecision.

Doc from org.hibernate.boot.model.source.spi.SizeSource.getPrecision.

The specified precision. Will return null if none was specified.

Returns:Integer

The precision, or null if not defined.

Annotations
@Override
getScaleback to summary
public Integer getScale()

Implements org.hibernate.boot.model.source.spi.SizeSource.getScale.

Doc from org.hibernate.boot.model.source.spi.SizeSource.getScale.

The specified scale. Will return null if none was specified.

Returns:Integer

The scale, or null if not defined.

Annotations
@Override