Please note: this project is inactive since early 2006

 
2.5.4 Attribute

The <attribute> element is a child of the <entity> element. It may have the following attributes:

<attribute 
    name            = ''   -- class attribute name
    type = ( string | int | float | DateTime ) : string  -- python type
    isClassProperty = '1'  -- '0' or '1'; attribute is also a class property
    isRequired      = '1'  -- '0' or '1'; cannot be null
    columnName      = ''   -- database table column name
    externalType    = ''   -- database type
    width           = ''   -- qualifier for some values of externalType
    precision       = ''   -- qualifier for some values of externalType
    scale           = ''   -- qualifier for some values of externalType
    defaultValue    = ''   -- class attribute default value
    displayLabel    = ''   -- text label to use in applications
    comment         = ''   -- a comment
/>
All these attributes are described in section 2.3.3.

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