public class TableColumn extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TableColumn.Type |
Constructor and Description |
---|
TableColumn(String name,
TableColumn.Type type) |
TableColumn(String name,
TableColumn.Type type,
boolean primary) |
Modifier and Type | Method and Description |
---|---|
int |
getDecimal() |
int |
getLength() |
String |
getName() |
TableColumn.Type |
getType() |
boolean |
isNullable() |
boolean |
isPrimary() |
boolean |
isUnique() |
TableColumn |
setDecimal(int decimal) |
TableColumn |
setLength(int length) |
TableColumn |
setNullable(boolean nullable) |
TableColumn |
setUnique(boolean unique) |
public TableColumn(String name, TableColumn.Type type)
public TableColumn(String name, TableColumn.Type type, boolean primary)
public int getDecimal()
public TableColumn setDecimal(int decimal)
public int getLength()
public TableColumn setLength(int length)
public boolean isNullable()
public TableColumn setNullable(boolean nullable)
public boolean isPrimary()
public String getName()
public TableColumn.Type getType()
public boolean isUnique()
public TableColumn setUnique(boolean unique)
Copyright © 2016–2017. All rights reserved.