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

Public Member Functions

def __init__
 
def factory (args_, kwargs_)
 
def get_tables (self)
 
def set_tables (self, tables)
 
def get_views (self)
 
def set_views (self, views)
 
def get_username (self)
 
def set_username (self, username)
 
def get_name (self)
 
def set_name (self, name)
 
def get_driver (self)
 
def set_driver (self, driver)
 
def get_host (self)
 
def set_host (self, host)
 
def get_path (self)
 
def set_path (self, path)
 
def get_password (self)
 
def set_password (self, password)
 
def get_port (self)
 
def set_port (self, port)
 
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_
 
 username
 
 name
 
 driver
 
 host
 
 path
 
 password
 
 port
 
 tables
 
 views
 

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

Describes a database and (optionally) connection details.Name of the
database.The actual kind of this database.The path on local
computer where database is located (for SqLite, for
example).Database user that will access the database.Password
for database user.The host for databases on remote hosts.The
port for databases on remote hosts.

Member Data Documentation

dictionary pile_schema_api.database.member_data_items_
static
Initial value:
1 = {
2  'username': MemberSpec_('username', 'xs:string', 0),
3  'name': MemberSpec_('name', 'xs:string', 0),
4  'driver': MemberSpec_('driver', 'xs:string', 0),
5  'host': MemberSpec_('host', 'xs:string', 0),
6  'path': MemberSpec_('path', 'xs:string', 0),
7  'password': MemberSpec_('password', 'xs:string', 0),
8  'port': MemberSpec_('port', 'xs:unsignedShort', 0),
9  'tables': MemberSpec_('tables', 'tables', 0),
10  'views': MemberSpec_('views', 'views', 0),
11  }

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