Hi,
in the server there are several layers. One of them contains the entities 
(which you've listed) they include the database mapping which includes a 
lot of internal data such as relations etc.
There's the webservices themselves which include the client side API's. 
When you invoke the webservice it returns an object, that should be the DAO 
object. It's an object used to transfer the actual data and should be 
similar to the entity but not identical. It should include he data as you 
want the client to see it.

Here it looks like you return the entity or have a DAO that includes a list 
of entries for dispositivoId instead of a single long value (which might be 
what you want). You need to decide what you want to see on the client side 
and create the logic that transfers this. Based on the image you attached 
you're returning a list, which could also be fine but you need to decide 
what you want to have on that list and then I can help you with mapping 
that to a business object on the client side.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/cce9c318-61c8-4f15-bebd-79a86bd6a8e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to