public class DbType extends Object
DbType class.
| Modifier and Type | Class and Description |
|---|---|
static class |
DbType.TYPE |
| Constructor and Description |
|---|
DbType(DbType.TYPE type,
int size,
String[] options)
Constructor for DbType.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getOption(int index,
String def)
Return the option corresponding to the index or the def value if this is not possible.
|
String[] |
getOptions()
Getter for the field
options. |
int |
getSize()
Getter for the field
size. |
DbType.TYPE |
getType()
Getter for the field
type. |
public DbType(DbType.TYPE type, int size, String[] options)
Constructor for DbType.
type - a DbType.TYPE object.size - a int.options - an array of String objects.public DbType.TYPE getType()
Getter for the field type.
DbType.TYPE object.public int getSize()
Getter for the field size.
public String[] getOptions()
Getter for the field options.
String objects.Copyright © 2016. All Rights Reserved.