Dashboard > WebWork > ... > J2SE 5 Support > CreateIfNull Annotation
  WebWork Log In View a printable version of the current page.  
  CreateIfNull Annotation
Added by Rainer Hermanns, last edited by Rainer Hermanns on Apr 13, 2007  (view change)
Labels: 
(None)

CreateIfNull Annotation

Sets the CreateIfNull for type conversion.

Usage

The CreateIfNull annotation must be applied at field or method level.

Parameters

Parameter Required Default Description
value no false The CreateIfNull property value.

Examples

@CreateIfNull( value = true )
private List<User> users;

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators