Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Attribute properties

argouml-sql
Discussion topic

Back to topic list

Attribute properties

Author Kai Drahmann <kai dot drahmann at mueritz-comp-greifswald dot de>
Full name Kai Drahmann <kai dot drahmann at mueritz-comp-greifswald dot de>
Date 2006-12-21 06:56:39 PST
Message Hi Linus,

For generating SQL the attributes of classes need to have
some properties, such as NULL/NOT NULL etc. I looked a bit
through ArgoUML and sources and have not found a place
where I can define own attribute properties easily. As far
as I can say now there has to be done something in the
main project.

These are the properties that I need at the moment:

NULL/NOT NULL:
   I could use muliplicity for this, but it defaults to the
   value of 1. I think it is common that most db-attributes
   can have null values. So changing perhaps hundreds of
   attributes to be null may become annoying for the user.

default value:
   I found the initial value in the properties, and I think
   I should use this.

auto increment:
   I found nothing with this meaning in ArgoUML.

enumeration:
   Therefor I can define an enumeration and put the desired
   elements into it.

There can also be calculated and conditional fields - I
read something about it but didn't understand it really.
And I think the above mentioned attribute properties are
much more meaningful.

Discussions wanted. ;)

Kai

« Previous message in topic | 1 of 4 | Next message in topic »

Messages

Show all messages in topic

Attribute properties Kai Drahmann <kai dot drahmann at mueritz-comp-greifswald dot de> Kai Drahmann <kai dot drahmann at mueritz-comp-greifswald dot de> 2006-12-21 06:56:39 PST
     RE: [argouml-sql-dev] Attribute properties Linus Tolke <linus dot tolke at enea dot com> Linus Tolke <linus dot tolke at enea dot com> 2006-12-22 02:46:25 PST
         Re: [argouml-sql-dev] Attribute properties Kai Drahmann <kai dot drahmann at mueritz-comp-greifswald dot de> Kai Drahmann <kai dot drahmann at mueritz-comp-greifswald dot de> 2006-12-22 09:28:46 PST
             RE: [argouml-sql-dev] Attribute properties Linus Tolke <linus dot tolke at enea dot com> Linus Tolke <linus dot tolke at enea dot com> 2006-12-24 23:20:26 PST
Messages per page: