-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Array of UserType/PersistentStringEnum
PostPosted: Wed Aug 04, 2004 1:48 pm 
Beginner
Beginner

Joined: Wed Mar 10, 2004 9:51 am
Posts: 42
Location: France
I have a class called KitchenEquipmentType which
extends PersistentStringEnum.

It has the following attributes ( currently )

KitchenEquipmentType.MICROWAVE
KitchenEquipmentType.ELECTRIC_OVEN
KitchenEquipmentType.GAS_OVEN
KitchenEquipmentType.DISH_WASHER

My House class has got the following attribute.

protected KitchenEquipmentType [] kitchenEquipmentTypes;

Now I'm a little bit unsure here. I've tried a couple of things
and I just don't seem to be able to get XDoclet to generate my
mapping file.

XDoclet isn't exactly one of those projects where you can
easily find out stuff.

So my question is this.

Is it even possible to have an array of usertypes ?


--b

_________________
Pesimist: The glass is half empty
Optimist: The glass is half full
Engineer:The glass should be half that size


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 11, 2004 10:13 am 
Beginner
Beginner

Joined: Mon Aug 09, 2004 12:31 pm
Posts: 47
Location: New York, NY, USA
Please post your code and resulting mapping file so someone can help you.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 11, 2004 10:23 am 
Beginner
Beginner

Joined: Wed Mar 10, 2004 9:51 am
Posts: 42
Location: France
Thanks dplass, I've moved on though. I decided it would probably be
worthwhile wrapping all these things up in regular objects and doing it
thatway.

--b

Thank you for taking the time to reply though.

_________________
Pesimist: The glass is half empty
Optimist: The glass is half full
Engineer:The glass should be half that size


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.