JavaScud | Forum | JIRA | Blog |
  Dashboard > WebWork2文档中文化计划 > ... > J2SE 5 Support > CreateIfNull Annotation
  WebWork2文档中文化计划 Log In View a printable version of the current page.  
  CreateIfNull Annotation
Added by scud, last edited by scud on May 18, 2006  (view change)
Labels: 
(None)

CreateIfNull 标注

为类型转换设置 CreateIfNull

使用

CreateIfNull标注必须在字段级别上使用.

参数

参数 必填 缺省值 备注
value no false CreateIfNull 属性值.

例子

@CreateIfNull( value = true )
private List<User> users;
Site running on a free Atlassian Confluence Open Source Project License granted to WebWork China. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.3 Build:#808 May 29, 2007) - Bug/feature request - Contact Administrators