Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## com.opensymphony.xwork2.util
Annotation Type CreateIfNull

    @Retention(value=RUNTIME)
    @Target(value={FIELD,METHOD})
    public @interface CreateIfNull

Sets the CreateIfNull for type conversion.

Annotation usage:

The CreateIfNull annotation must be applied at field or method 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 1350 2007-02-16 09:07:53Z 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.