Say I have this:
TimeEntryProxy timeEntry = someRequestContext.create(TimeEntryProxy.class);
The created proxy is empty. Is there a way to set some of it's fields with a default value? For example, this proxy has a timeAllocation which is a double. Can it be set to 0 without having to do this:
timeEntry.setTimeAllocation(0);
Thank you
How about setting default values in your custom Locator.create(Class c) method?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With