@Retention(value=RUNTIME) @Target(value=METHOD) @Inherited public @interface Merge
Marker for model bean property that should be merged with other.
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
overwrite
If true, target value should be overwritten, otherwise only null values will be replaced. |
boolean |
preferTrue
If true and attribute is type of boolean, then result of merging will be true if one of merged values is true.
|
public abstract boolean overwrite
If true, target value should be overwritten, otherwise only null values will be replaced.
public abstract boolean preferTrue
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.