Does Objectify Allow Visibility for Entity Fields?

The Objectify code sample shows entity fields declared with default visibility, for example,

public class Car { @Id Long id; String vin; int color; @Transient String doNotPersist; } 

It doesn't matter if I declare private , protected or public fields?

+4
source share
1 answer

Based on this example , which I found a few hours after the publication of my question, stored fields can be closed.

+3
source

All Articles