Friday 15 February 2013

How to use Grails belongsTo in Java -



How to use Grails belongsTo in Java -

i have situation in grails

static belongsto = [owner: publisher]

how can convert in java?

the short reply you can not convert java.

the longer answer, , reason why, because static property used grails enhance class additional methods , functionality using groovy meta programming. type of meta programming isn't available in java , 1 of primary reasons why groovy used in case.

without knowing why want it's impossible suggest alternative approach.

java grails belongs-to

No comments:

Post a Comment