You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, this throws a NoAccessorMethodException: Class ... requires a public accessor method for field count when saving.
Is it possible to "ignore" the field type and save like this? Exposing an AtomicInteger setter breaks abstraction (and thread safety in this case).
The text was updated successfully, but these errors were encountered:
RichardInnocent
changed the title
Is it possible to have different getter and setter method types to the property?
Is it possible to have different getter and setter types to the property field?
Jan 16, 2020
Let's say I have this class...
At the moment, this throws a
NoAccessorMethodException: Class ... requires a public accessor method for field count
when saving.Is it possible to "ignore" the field type and save like this? Exposing an
AtomicInteger
setter breaks abstraction (and thread safety in this case).The text was updated successfully, but these errors were encountered: