public class Size extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Size.LobMultiplier |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_LENGTH |
static int |
DEFAULT_PRECISION |
static int |
DEFAULT_SCALE |
Constructor and Description |
---|
Size() |
Size(int precision,
int scale,
long length,
Size.LobMultiplier lobMultiplier)
Complete constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getLength() |
Size.LobMultiplier |
getLobMultiplier() |
int |
getPrecision() |
int |
getScale() |
void |
initialize(Size size) |
static Size |
length(long length) |
static Size |
length(long length,
Size.LobMultiplier lobMultiplier) |
static Size |
precision(int precision) |
static Size |
precision(int precision,
int scale) |
void |
setLength(long length) |
void |
setLobMultiplier(Size.LobMultiplier lobMultiplier) |
void |
setPrecision(int precision) |
void |
setScale(int scale) |
public static final int DEFAULT_LENGTH
public static final int DEFAULT_PRECISION
public static final int DEFAULT_SCALE
public Size()
public Size(int precision, int scale, long length, Size.LobMultiplier lobMultiplier)
precision
- numeric precisionscale
- numeric scalelength
- type lengthlobMultiplier
- LOB length multiplierpublic static Size precision(int precision)
public static Size precision(int precision, int scale)
public static Size length(long length)
public static Size length(long length, Size.LobMultiplier lobMultiplier)
public int getPrecision()
public int getScale()
public long getLength()
public Size.LobMultiplier getLobMultiplier()
public void initialize(Size size)
public void setPrecision(int precision)
public void setScale(int scale)
public void setLength(long length)
public void setLobMultiplier(Size.LobMultiplier lobMultiplier)
Copyright © 2017 JBoss by Red Hat. All rights reserved.