|
Re: Set custom datatype attributes [message #1681854 is a reply to message #1681326] |
Tue, 17 March 2015 13:41 |
|
Hi, Wolfgang,
What do you mean by "us[ing] one of the custom types"? Is this
DataType the type of Stereotype attributes in a Profile, and you want
to set its values in applications of that Stereotype in a model? Are
you generating (Java? C? C++?) code from your UML class model?
Cheers,
Christian
On 2015-03-17 09:07:01 +0000, Missing name Mising name said:
> Hi there!
>
> My problem is as follows:
> I created some custom DataTypes with a few properties to specify
> additional Information, in my case to generate additional database
> relevant data (for example the concrete length of a field).
> So far, so good, but when I use one of the custom types, I am not able
> to find out how to use the additional attributes to specify a concrete
> field length. I just can't find out where I can set them...
> So my question is: where can I set attributes of a custom DataType or
> is there a special trick to define a custom DataType to do so?
>
> Thanks,
>
> Wolfgang
|
|
|
|
Re: Set custom datatype attributes [message #1681943 is a reply to message #1681922] |
Tue, 17 March 2015 14:26 |
|
Hi, Wolfgang,
Thanks for replying, and I'm glad you've got it solved. That sounds
about right to me. :-)
Christian
On 2015-03-17 14:15:46 +0000, Missing name Mising name said:
> Hi Christian,
>
> I solved the problem. What I want to to is to generate Java Code, but
> with annotations for JPA, so I need some extra information about the
> DB-Layout.
> I was just wrong with my assumption, that I can use a UML-DataType for
> that. What I have to do is to define separate Stereotypes that extend
> Property, define the additional attributes there and apply the
> according Profile/Stereotype on my classes where I want to specify the
> additional information.
>
> Greetings,
>
> Wolfgang
|
|
|
Powered by
FUDForum. Page generated in 0.03490 seconds