[aerogear-dev] Make id configurable

Daniel Passos daniel at passos.me
Thu Nov 15 08:29:32 EST 2012


Hey Guys,

I'm working on AEROGEAR-565 to make id configurable.

I've been taking a look at the JS and iOS and apis are very similar, both
are getting a configuration parameter with the name of the field that
represents the id. I like to see libraries close to but I don't know if
this the best approach for the android.

I'm in doubt in what would be the best solution (for android)

* Configuration

# Pros
It requires no change in entity/model

# Cons
Use reflections

* Interfaces

# Pros
Typed paras

# Cons
Requires implement on entity/model

* Annotation

# Pros
Clean configuration

# Cons
Use Scan/Reflection

Anyone have any thoughts or see any other solution?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20121115/55f81665/attachment.html 


More information about the aerogear-dev mailing list