Thank you for reply Fabio. This question is related to Torque. I am trying to get a a field from the object by position as specified in a database schema. The method is in a class BaseObject and needs to be implemented. The way I have implemented this method is that I used switch and am returning the field based on the position. There is definitely a better way to do it. Thank you.

pavel kusch

Fabio Daprile wrote:

Hello,

i think this is a little bit generic question.
Can you specify a little bit more..

greetings

Fabio


pavel wrote:

Hello,

Please could you tell me what is the best way to implement a method public Object getByPosition(int pos)?

Thank you in advance.

Pavel Kusch



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to