Can I set the default field value for EntityProxy?

Say I have this:

TimeEntryProxy timeEntry = someRequestContext.create(TimeEntryProxy.class);

Created proxy is empty. Is there a way to set some of its fields with a default value? For example, this proxy has timeAllocation , which is double. Is it possible to set the value 0 without the need:

timeEntry.setTimeAllocation(0);

thank

+5
source share
1 answer

How to set default values ​​in your regular Locator.create method (class c)?

+1
source

All Articles