public class DataColumn extends Object
DataColumn class.
Constructor and Description |
---|
DataColumn() |
Modifier and Type | Method and Description |
---|---|
String |
getColumnName()
Getter for the field
columnName . |
int |
getOrdinal()
Getter for the field
ordinal . |
void |
setAllowDBNull(boolean allowDBNull)
setAllowDBNull.
|
void |
setColumnName(String columnName)
Setter for the field
columnName . |
void |
setOrdinal(int ordinal)
Setter for the field
ordinal . |
void |
setReadOnly(boolean readOnly)
setReadOnly.
|
void |
setUnique(boolean unique)
setUnique.
|
public String getColumnName()
Getter for the field columnName
.
String
object.public void setColumnName(String columnName)
Setter for the field columnName
.
columnName
- a String
object.public int getOrdinal()
Getter for the field ordinal
.
public void setOrdinal(int ordinal)
Setter for the field ordinal
.
ordinal
- a int.public void setUnique(boolean unique)
setUnique.
unique
- a boolean.public void setAllowDBNull(boolean allowDBNull)
setAllowDBNull.
allowDBNull
- a boolean.public void setReadOnly(boolean readOnly)
setReadOnly.
readOnly
- a boolean.