@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface IndexField
Annotation that can be used on a public getter method to indicate that its return value or object should be indexed. If a name is specified, the value of the name will be used as the indexing field. If name is missing, the name of the getter method is used without the 'get' or 'is' part and the first letter lowercased. Thus for example
public class NewsBean extends BaseBean{
Modifier and Type | Optional Element and Description |
---|---|
boolean |
ignoreInCompound |
String |
name |
public abstract String name
public abstract boolean ignoreInCompound
Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.