public static final class ValidationSqliteUtil.ColumnDescription
extends java.lang.Object
| Constructor and Description |
|---|
ColumnDescription(java.lang.String name,
java.lang.String type,
boolean isNotNull,
boolean isPrimaryKey)
Constructs table column description from all properties.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Gets the column name.
|
java.lang.String |
getType()
Gets the column SQLite data type.
|
boolean |
isNotNull()
Gets "NOT NULL" constaint flag of this column.
|
boolean |
isPrimaryKey()
Gets primary key flag of this column.
|
public ColumnDescription(java.lang.String name,
java.lang.String type,
boolean isNotNull,
boolean isPrimaryKey)
name - Name of the column.type - Column SQLite data type ("INTEGER", "REAL", "TEXT" or "BLOB").isNotNull - true if column has "NOT NULL" constraint.isPrimaryKey - true if column is primary key.public java.lang.String getName()
public java.lang.String getType()
public boolean isNotNull()
public boolean isPrimaryKey()
Last updated 2025-10-02 14:26:25