public class DataColumn extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DataColumn.ODataDataType |
| Constructor and Description |
|---|
DataColumn(String columnName,
DataColumn.ODataDataType columnType,
boolean isNullable) |
DataColumn(String columnName,
DataColumn.ODataDataType columnType,
int order,
boolean isNullable,
int length) |
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnName() |
DataColumn.ODataDataType |
getColumnType() |
String |
getDefaultValue() |
int |
getMaxLength() |
int |
getOrdinalPosition() |
int |
getPrecision() |
int |
getScale() |
boolean |
isNullable() |
void |
setDefaultValue(String defaultValue) |
void |
setPrecision(int precision) |
void |
setScale(int scale) |
public DataColumn(String columnName, DataColumn.ODataDataType columnType, int order, boolean isNullable, int length)
public DataColumn(String columnName, DataColumn.ODataDataType columnType, boolean isNullable)
public String getColumnName()
public DataColumn.ODataDataType getColumnType()
public int getMaxLength()
public void setPrecision(int precision)
public void setScale(int scale)
public int getOrdinalPosition()
public boolean isNullable()
public int getPrecision()
public int getScale()
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
Copyright © 2015 WSO2. All rights reserved.