public class DeSelectFields extends Object
/apps
api more flexible.
It can be used to strip off more fields if there's such use case in future.
You can simply extend it via two steps:
DeSelectType
enum with a string literals
Modifier and Type | Class and Description |
---|---|
static class |
DeSelectFields.DeSelectType
Deselect field type, can be boost in future.
|
Constructor and Description |
---|
DeSelectFields() |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(DeSelectFields.DeSelectType type)
Determine the deselect type should be handled or not.
|
void |
initFields(Set<String> unselectedFields)
Initial DeSelectFields with unselected fields.
|
public void initFields(Set<String> unselectedFields)
unselectedFields
- a set of unselected field.public boolean contains(DeSelectFields.DeSelectType type)
type
- deselected typeCopyright © 2020 Apache Software Foundation. All rights reserved.