LibreOffice Module dbaccess (master) 1
|
nAutoIncrement: column is auto incremented started with value nAutoIncrement More...
#include <columndef.hxx>
Public Member Functions | |
ColumnDefinition (OUString sName, sal_Int32 eType, std::vector< sal_Int32 > &&aParams, bool bPrimary=false, sal_Int32 nAutoIncr=-1, bool bNullable=true, bool bCaseInsensitive=false, OUString sDefault=OUString{}) | |
OUString const & | getName () const |
sal_Int32 | getDataType () const |
bool | isPrimaryKey () const |
bool | isNullable () const |
bool | isAutoIncremental () const |
bool | isCaseInsensitive () const |
sal_Int32 | getStartValue () const |
const std::vector< sal_Int32 > & | getParams () const |
OUString const & | getDefault () const |
Private Attributes | |
OUString | m_sName |
sal_Int32 | m_eType |
std::vector< sal_Int32 > | m_aParams |
bool | m_bPrimaryKey |
sal_Int32 | m_nAutoIncrement |
bool | m_bNullable |
bool | m_bCaseInsensitive |
OUString | m_sDefaultValue |
nAutoIncrement: column is auto incremented started with value nAutoIncrement
Definition at line 18 of file columndef.hxx.
dbahsql::ColumnDefinition::ColumnDefinition | ( | OUString | sName, |
sal_Int32 | eType, | ||
std::vector< sal_Int32 > && | aParams, | ||
bool | bPrimary = false , |
||
sal_Int32 | nAutoIncr = -1 , |
||
bool | bNullable = true , |
||
bool | bCaseInsensitive = false , |
||
OUString | sDefault = OUString{} |
||
) |
Definition at line 29 of file columndef.cxx.
References m_eType.
|
inline |
Definition at line 36 of file columndef.hxx.
References m_eType.
|
inline |
Definition at line 43 of file columndef.hxx.
References m_sDefaultValue.
|
inline |
Definition at line 35 of file columndef.hxx.
References m_sName.
|
inline |
Definition at line 42 of file columndef.hxx.
References m_aParams.
|
inline |
Definition at line 41 of file columndef.hxx.
References m_nAutoIncrement.
|
inline |
Definition at line 39 of file columndef.hxx.
References m_nAutoIncrement.
|
inline |
Definition at line 40 of file columndef.hxx.
References m_bCaseInsensitive.
|
inline |
Definition at line 38 of file columndef.hxx.
References m_bNullable.
|
inline |
Definition at line 37 of file columndef.hxx.
References m_bPrimaryKey.
|
private |
Definition at line 23 of file columndef.hxx.
Referenced by getParams().
|
private |
Definition at line 27 of file columndef.hxx.
Referenced by isCaseInsensitive().
|
private |
Definition at line 26 of file columndef.hxx.
Referenced by isNullable().
|
private |
Definition at line 24 of file columndef.hxx.
Referenced by isPrimaryKey().
|
private |
Definition at line 22 of file columndef.hxx.
Referenced by getDataType().
|
private |
Definition at line 25 of file columndef.hxx.
Referenced by getStartValue(), and isAutoIncremental().
|
private |
Definition at line 28 of file columndef.hxx.
Referenced by getDefault().
|
private |
Definition at line 21 of file columndef.hxx.
Referenced by getName().