DbStruct Pile   version 0.0.1
This pile contains classes that can be used to
pile_schema_api.column Class Reference
+ Inheritance diagram for pile_schema_api.column:

Public Member Functions

def __init__
 
def factory (args_, kwargs_)
 
def get_bit (self)
 
def set_bit (self, bit)
 
def get_tristate (self)
 
def set_tristate (self, tristate)
 
def get_integer (self)
 
def set_integer (self, integer)
 
def get_bigint (self)
 
def set_bigint (self, bigint)
 
def get_smallint (self)
 
def set_smallint (self, smallint)
 
def get_tinyint (self)
 
def set_tinyint (self, tinyint)
 
def get_numeric (self)
 
def set_numeric (self, numeric)
 
def get_decimal (self)
 
def set_decimal (self, decimal)
 
def get_numericScale0 (self)
 
def set_numericScale0 (self, numericScale0)
 
def get_decimalScale0 (self)
 
def set_decimalScale0 (self, decimalScale0)
 
def get_smallmoney (self)
 
def set_smallmoney (self, smallmoney)
 
def get_money (self)
 
def set_money (self, money)
 
def get_float (self)
 
def set_float (self, float_)
 
def get_real (self)
 
def set_real (self, real)
 
def get_date (self)
 
def set_date (self, date)
 
def get_datetime (self)
 
def set_datetime (self, datetime)
 
def get_time (self)
 
def set_time (self, time)
 
def get_datetimeoffset (self)
 
def set_datetimeoffset (self, datetimeoffset)
 
def get_datetime2 (self)
 
def set_datetime2 (self, datetime2)
 
def get_smalldatetime (self)
 
def set_smalldatetime (self, smalldatetime)
 
def get_char (self)
 
def set_char (self, char)
 
def get_varchar (self)
 
def set_varchar (self, varchar)
 
def get_text (self)
 
def set_text (self, text)
 
def get_nchar (self)
 
def set_nchar (self, nchar)
 
def get_nvarchar (self)
 
def set_nvarchar (self, nvarchar)
 
def get_ntext (self)
 
def set_ntext (self, ntext)
 
def get_binary (self)
 
def set_binary (self, binary)
 
def get_varbinary (self)
 
def set_varbinary (self, varbinary)
 
def get_image (self)
 
def set_image (self, image)
 
def get_rowversion (self)
 
def set_rowversion (self, rowversion)
 
def get_hierarchyid (self)
 
def set_hierarchyid (self, hierarchyid)
 
def get_uniqueidentifier (self)
 
def set_uniqueidentifier (self, uniqueidentifier)
 
def get_sql_variant (self)
 
def set_sql_variant (self, sql_variant)
 
def get_xml (self)
 
def set_xml (self, xml)
 
def get_vrtcol (self)
 
def set_vrtcol (self, vrtcol)
 
def get_foreignInsert (self)
 
def set_foreignInsert (self, foreignInsert)
 
def get_name (self)
 
def set_name (self, name)
 
def get_foreignBehaviour (self)
 
def set_foreignBehaviour (self, foreignBehaviour)
 
def get_foreignTable (self)
 
def set_foreignTable (self, foreignTable)
 
def get_label (self)
 
def set_label (self, label)
 
def get_allowNulls (self)
 
def set_allowNulls (self, allowNulls)
 
def get_readOnly (self)
 
def set_readOnly (self, readOnly)
 
def get_foreignColumn (self)
 
def set_foreignColumn (self, foreignColumn)
 
def get_userformat (self)
 
def set_userformat (self, userformat)
 
def hasContent_ (self)
 
def export
 
def exportAttributes
 
def exportChildren
 
def build (self, node)
 
def buildAttributes (self, node, attrs, already_processed)
 
def buildChildren
 
- Public Member Functions inherited from pile_schema_api.GeneratedsSuper
def gds_format_string
 
def gds_validate_string
 
def gds_format_base64
 
def gds_validate_base64
 
def gds_format_integer
 
def gds_validate_integer
 
def gds_format_integer_list
 
def gds_validate_integer_list
 
def gds_format_float
 
def gds_validate_float
 
def gds_format_float_list
 
def gds_validate_float_list
 
def gds_format_double
 
def gds_validate_double
 
def gds_format_double_list
 
def gds_validate_double_list
 
def gds_format_boolean
 
def gds_validate_boolean
 
def gds_format_boolean_list
 
def gds_validate_boolean_list
 
def gds_validate_datetime
 
def gds_format_datetime
 
def gds_parse_datetime (cls, input_data)
 
def gds_validate_date
 
def gds_format_date
 
def gds_parse_date (cls, input_data)
 
def gds_validate_time
 
def gds_format_time
 
def gds_validate_simple_patterns (self, patterns, target)
 
def gds_parse_time (cls, input_data)
 
def gds_str_lower (self, instring)
 
def get_path_ (self, node)
 
def get_path_list_ (self, node, path_list)
 
def get_class_obj_
 
def gds_build_any
 
def gds_reverse_node_mapping (cls, mapping)
 

Public Attributes

 original_tagname_
 
 foreignInsert
 
 name
 
 foreignBehaviour
 
 foreignTable
 
 label
 
 allowNulls
 
 readOnly
 
 foreignColumn
 
 userformat
 
 bit
 
 tristate
 
 integer
 
 bigint
 
 smallint
 
 tinyint
 
 numeric
 
 decimal
 
 numericScale0
 
 decimalScale0
 
 smallmoney
 
 money
 
 float_
 
 real
 
 date
 
 datetime
 
 time
 
 datetimeoffset
 
 datetime2
 
 smalldatetime
 
 char
 
 varchar
 
 text
 
 nchar
 
 nvarchar
 
 ntext
 
 binary
 
 varbinary
 
 image
 
 rowversion
 
 hierarchyid
 
 uniqueidentifier
 
 sql_variant
 
 xml
 
 vrtcol
 

Static Public Attributes

dictionary member_data_items_
 
 subclass = None
 
 superclass = None
 
tuple factory = staticmethod(factory)
 
- Static Public Attributes inherited from pile_schema_api.GeneratedsSuper
tuple tzoff_pattern = re_.compile(r'(\+|-)((0\d|1[0-3]):[0-5]\d|14:00)$')
 
tuple Tag_strip_pattern_ = re_.compile(r'\{.*\}')
 

Detailed Description

A column in a table. Name of this column as it will be known to the
database.User visible string; if not provided `name` is
used.Formatting options for when the value is presented to the
user. The content depends on the type of value: bit: May be Yes,
yes, On, on, True, true or another string; in latter case the
string is shown if the value is true (1) and is hidden if the
value is false (0) decimal, float, numeric, real, etc:
fieldWidth`format`precision`fillChar Four values are used and
are delimited by the ` character. fieldWidth is the minimum
width of the generated text format can be e (format as
[-]9.9e[+|-]999), E (format as [-]9.9E[+|-]999), f (format as
[-]9.9), g (use e or f format, whichever is the most concise)
and G (use E or f format, whichever is the most concise)
precision number of digits after the decimal point or maximum
number of significant digits fillChar is the character used to
fill the space defined by fieldWidth For example 0`f`2` will
present number -1.25687 as -1.26 int, smallint, bigint, tinyint
fieldWidth`base`fillChar Three values are used and are delimited
by the ` character. fieldWidth is the minimum width of the
generated text base numeric base fillChar is the character used
to fill the space defined by fieldWidth For example 0`10` will
present number 1234 as 1234 text, varchar, etc The value of the
format is used as input mask; see inputMask. Should the user be
able to edit this column?.Does this column allows NULL values or
not?If this column references a column in another table, this is
the name of that table. This is the attribute to check if the
column is a foreign key or not.If this column references a
column in another table, this is the name of that column.If this
column references a column in another table, this attribute
decides which column get inserted into what is shown to the user
in place of the original column.This attribute hints about the
way this column interacts with the foreign table. The user can
choose from a predefined list of options provided by the foreign
table. The user may choose from the predefined list but it may
also add new values that are going to be inserted in the foreign
table.

The documentation for this class was generated from the following file: