bool Domain::getDefault(wxString& value) { ensurePropertiesLoaded(); if (hasDefaultM) { value = defaultM; return true; } value = wxEmptyString; return false; }
wxString Function::getCreateSql() { ensurePropertiesLoaded(); StatementBuilder sb; sb << kwDECLARE << ' ' << kwEXTERNAL << ' ' << kwFUNCTION << ' ' << getQuotedName() << StatementBuilder::NewLine << paramListM << StatementBuilder::NewLine << kwRETURNS << ' ' << retstrM << StatementBuilder::NewLine << kwENTRY_POINT << " '" << entryPointM << '\'' << StatementBuilder::NewLine << kwMODULE_NAME << " '" << libraryNameM << "\';" << StatementBuilder::NewLine; return sb; }
//----------------------------------------------------------------------------- int Exception::getNumber() { ensurePropertiesLoaded(); return numberM; }
//----------------------------------------------------------------------------- QString Exception::getMessage() { ensurePropertiesLoaded(); return messageM; }
//----------------------------------------------------------------------------- int64_t Generator::getValue() { ensurePropertiesLoaded(); return valueM; }
wxString Function::getEntryPoint() { ensurePropertiesLoaded(); return entryPointM; }
wxString Function::getLibraryName() { ensurePropertiesLoaded(); return libraryNameM; }
wxString Function::getDefinition() { ensurePropertiesLoaded(); return definitionM; }
wxString Table::getExternalPath() { ensurePropertiesLoaded(); return externalPathM; }
wxString Domain::getCharset() { ensurePropertiesLoaded(); return charsetM; }
bool Domain::isNullable() { ensurePropertiesLoaded(); return nullableM; }
wxString Domain::getCheckConstraint() { ensurePropertiesLoaded(); return checkM; }
wxString Domain::getCollation() { ensurePropertiesLoaded(); return collationM; }
//! returns column's datatype as human readable wxString. wxString Domain::getDatatypeAsString() { ensurePropertiesLoaded(); return dataTypeToString(datatypeM, scaleM, precisionM, subtypeM, lengthM); }
bool Domain::isString() { ensurePropertiesLoaded(); return (datatypeM == 14 || datatypeM == 10 || datatypeM == 37); }