Please note: this project is inactive since early 2006

 
2.4.6.4 AString

The component AString redefines the following defaults:

Prop.  Type  Default  Comment 
name string no default The name is the only mandatory arguments when instanciating a AString. Once set, it should not be changed
type string 'string' No matter whether you run python2.1 (where type('').__name__=='string') or python2.2 (where type('').__name__=='str'), you should always use 'string' for a character type.
externalType string 'VARCHAR'  
width int 255  
defaultValue   ''  
usedForLocking int 1  

Note: For details about these properties and their meaning, please refer to 2.3.3.
Of course, you can redefine the defaults for AString in your PyModel to fit your needs. For example, if you prefer to use TEXT, you'll probably add this to your PyModel:

AString.defaults['externalType'] = 'TEXT'
AString.defaults['width'] = 0

Comments are welcome: Sebastien Bigaret / Modeling Home Page
Hosted by:SourceForge.net Logo