public interface FieldSet<ENTITY> extends HasLabelSet<ENTITY>
Modifier and Type | Method and Description |
---|---|
static <ENTITY> FieldSet<ENTITY> |
allExcept(Collection<Field<ENTITY>> fields)
Creates a new FieldSet that represents the set of all fields of an entity except for the given ones
|
static <ENTITY> FieldSet<ENTITY> |
allExcept(Field<ENTITY>... fields)
Creates a new FieldSet that represents the set of all fields of an entity except for the given ones
|
static <ENTITY> FieldSet<ENTITY> |
allOf(Class<ENTITY> classToken)
Returns a FieldSet that represents all the fields of the given entity
|
FieldSet<ENTITY> |
and(Field<ENTITY> field)
Creates a new FieldSet with the given field added to the original set.
|
FieldSet<ENTITY> |
except(Field<ENTITY> field)
Creates a new FieldSet with the given field removed from the original set.
|
static <ENTITY> FieldSet<ENTITY> |
noneOf(Class<ENTITY> classToken)
Returns a FieldSet that represents the empty set of fields of the given entity
|
static <ENTITY> FieldSet<ENTITY> |
of(Collection<Field<ENTITY>> fields)
Creates a new FieldSet that represents the given set of fields
|
static <ENTITY> FieldSet<ENTITY> |
of(Field<ENTITY>... fields)
Creates a new FieldSet that represents the given set of fields
|
FieldSet<ENTITY> except(Field<ENTITY> field)
field
- the field to removeFieldSet<ENTITY> and(Field<ENTITY> field)
field
- the field to add@SafeVarargs static <ENTITY> FieldSet<ENTITY> allExcept(Field<ENTITY>... fields)
ENTITY
- the type of entityfields
- the fields to exclude from the set@SafeVarargs static <ENTITY> FieldSet<ENTITY> of(Field<ENTITY>... fields)
ENTITY
- the type of entityfields
- the fields to include in the setstatic <ENTITY> FieldSet<ENTITY> allExcept(Collection<Field<ENTITY>> fields)
ENTITY
- the type of entityfields
- the fields to exclude from the setstatic <ENTITY> FieldSet<ENTITY> of(Collection<Field<ENTITY>> fields)
ENTITY
- the type of entityfields
- the fields to include in the setstatic <ENTITY> FieldSet<ENTITY> allOf(Class<ENTITY> classToken)
ENTITY
- the type of entityclassToken
- class token used to determine entity typestatic <ENTITY> FieldSet<ENTITY> noneOf(Class<ENTITY> classToken)
ENTITY
- the type of entityclassToken
- class token used to determine entity typeCopyright © 2019 Speedment, Inc.. All rights reserved.