#include <ColumnDefinition.h>
Public Member Functions | |
ColumnDefinition (std::string columnName, std::string type, int size, bool isNotNull, bool isPrimaryKey) | |
ColumnDefinition (const ColumnDefinition &type) | |
ColumnDefinition & | operator= (const ColumnDefinition &type) |
bool | operator== (const ColumnDefinition &type) |
void | setName (std::string name) |
std::string | getName () |
void | setNotNull (bool notNull) |
bool | isNotNull () |
void | setPrimaryKey (bool primaryKey) |
bool | isPrimaryKey () |
void | setType (std::string type) |
std::string | getType () |
int | getSize () |
bool | containsValidSize () |
|
Creates a new ColumnDefinition object. |
|
Creates a new ColumnDefinition object. |
|
|
|
Returns the name.
|
|
|
|
Returns the type.
|
|
Returns the NOT NULL flag.
|
|
Returns the PRIMARY KEY flag.
|
|
Sets the name.
|
|
Sets the NOT NULL flag.
|
|
Sets the PRIMARY KEY flag.
|
|
Sets the type.
|