@TransientPermalink

since 8.0.0

SyntaxPermalink

@Transient

DescriptionPermalink

Target: getter method

Purpose: mark an getter transient, and the field will be ignored by the proxy handler. This is useful to implement calculated fields (often readonly) that depend on other getters (which may be cached in a form proxy).

ExamplePermalink

public class VM {
    @Transient
    public Object getTotal() {
        return getFoo() * getbar();
    }
}