Re: [Andromda-user] attribute not null tagged value

2004-09-08 Thread Martin West
Yes thats it. Hmm, when did you sneak it in? :<} It is not in the 3.0M2. Thanks On Wed, 2004-09-08 at 15:36, Chad Brandon wrote: > I just took this from the HibernateEntity.vsl: > > #if($attribute.required) > * not-null="true" > #end > > Is that not what you're talking about? > > --

Re: [Andromda-user] attribute not null tagged value

2004-09-08 Thread Chad Brandon
I just took this from the HibernateEntity.vsl: #if($attribute.required) * not-null="true" #end Is that not what you're talking about? --- Martin West <[EMAIL PROTECTED]> wrote: > hmmm, but there is no logic in the > HibernateEntity.vsl. I would have > expected some code that added hibe

Re: [Andromda-user] attribute not null tagged value

2004-09-08 Thread Martin West
hmmm, but there is no logic in the HibernateEntity.vsl. I would have expected some code that added hibernate logic not_null= as per http://www.hibernate.org/hib_docs/reference/en/html_single/#toolsetguide-s1-2 On Wed, 2004-09-08 at 15:14, Chad Brandon wrote: > Hey Martin, > > Nope no need for a

Re: [Andromda-user] attribute not null tagged value

2004-09-08 Thread Chad Brandon
Hey Martin, Nope no need for a tagged value, just define the multiplicity of the attribute as 1 (or don't define the multiplicity and it will be assumed to be 1)...if you want to make the attribute optional, give the attribute the multiplicity of 0..1. Chad --- Martin West <[EMAIL PROTECTED]> wro

[Andromda-user] attribute not null tagged value

2004-09-08 Thread Martin West
I cant find any reference to support for the hibernate not null tag. I assume something like a tagged value on attribute @andromda.hibernate.notnull Would you like an enhancement jira? -- Martin West Head of Product Design and Development http://www.star-map.net +44(0)207 318 0308 +44(0)787 968