2
The contents of this file are subject to the Initial Developer's Public
3
License Version 1.0 (the "License"); you may not use this file except in
4
compliance with the License. You may obtain a copy of the License here:
5
http://www.flamerobin.org/license.html.
7
Software distributed under the License is distributed on an "AS IS"
8
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
9
License for the specific language governing rights and limitations under
12
The Original Code is FlameRobin (TM).
14
The Initial Developer of the Original Code is Milan Babuskov.
16
Portions created by the original developer
17
are Copyright (C) 2004 Milan Babuskov.
21
Contributor(s): Nando Dessena
28
//------------------------------------------------------------------------------
33
#include "metadataitem.h"
35
class YDomain: public YxMetadataItem
38
short datatypeM, subtypeM, lengthM, precisionM, scaleM;
46
std::string getDatatypeAsString();
47
void getDatatypeParts(std::string& type, std::string& size, std::string& scale);
48
std::string getCharset();
49
virtual const std::string getTypeName() const;
50
virtual std::string getCreateSqlTemplate() const;
52
//------------------------------------------------------------------------------