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 |
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