public class FieldRole extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ROLE_ARRAY_ELEMENT
Field is to be treated as the element of an array.
|
static int |
ROLE_COLLECTION_ELEMENT
Field is to be treated as the element of a collection.
|
static int |
ROLE_CUSTOM
User defined name specified for the field, for use only with identifier creation.
|
static int |
ROLE_FIELD
Field is a reference to another object.
|
static int |
ROLE_INDEX
Field is to be treated as an ordering or index in a List.
|
static int |
ROLE_MAP_KEY
Field is to be treated as the key of a map.
|
static int |
ROLE_MAP_VALUE
Field is to be treated as the value of a map.
|
static int |
ROLE_NONE
No role defined for this field.
|
static int |
ROLE_OWNER
Field is the owner of a relation.
|
static int |
ROLE_PERSISTABLE_RELATION
Field is to be treated as the relation to a persistable (via join table).
|
Constructor and Description |
---|
FieldRole() |
public static final int ROLE_CUSTOM
public static final int ROLE_NONE
public static final int ROLE_OWNER
public static final int ROLE_FIELD
public static final int ROLE_COLLECTION_ELEMENT
public static final int ROLE_ARRAY_ELEMENT
public static final int ROLE_MAP_KEY
public static final int ROLE_MAP_VALUE
public static final int ROLE_INDEX
public static final int ROLE_PERSISTABLE_RELATION
Copyright © 2021. All rights reserved.