com.opensymphony.xwork.util
Annotation Type CreateIfNull
public @interface CreateIfNull
Sets the CreateIfNull for type conversion.
Annotation usage:
The CreateIfNull annotation must be applied at field level.
Annotation parameters:
Parameter |
Required |
Default |
Description |
value |
no |
false |
The CreateIfNull property value. |
Example code:
@CreateIfNull( value = true )
private List users;
- Version:
- $Id: CreateIfNull.java 920 2006-03-21 18:39:15 +0100 (Tue, 21 Mar 2006) rainerh $
- Author:
- Rainer Hermanns
Optional Element Summary |
boolean |
value
The CreateIfNull value. |
value
public abstract boolean value
- The CreateIfNull value.
Defaults to false.
- Default:
- false