@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented public @interface Region
Annotation
defining the Region
in which the application persistent entity will be stored.Region
Modifier and Type | Fields and Description |
---|---|
static List<Class<? extends Annotation>> |
REGION_ANNOTATION_TYPES |
Modifier and Type | Optional Element and Description |
---|---|
boolean |
ignoreIfExists
Determines whether an entity annotated with this Region annotation will ignore any existing Region definition
identified by the given
name() for this entity. |
String |
name
Name, or fully-qualified bean name of the
Region
in which the application persistent entity will be stored (e.g. |
String |
value
Name, or fully-qualified bean name of the
Region
in which the application persistent entity will be stored (e.g. |
public static final List<Class<? extends Annotation>> REGION_ANNOTATION_TYPES
@AliasFor(attribute="value") public abstract String name
Region
in which the application persistent entity will be stored (e.g. "Users", or "/Local/Admin/Users").
Defaults to simple name of the application persistent entity defined by Class.getSimpleName()
.Region
in which the application persistent entity
will be stored.@AliasFor(attribute="name") public abstract String value
Region
in which the application persistent entity will be stored (e.g. "Users", or "/Local/Admin/Users").
Defaults to simple name of the application persistent entity defined by Class.getSimpleName()
.Region
in which the application persistent entity
will be stored.public abstract boolean ignoreIfExists
name()
for this entity.
Defaults to true.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.