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 the 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 boosted in the future.
|
| Constructor and Description |
|---|
DeSelectFields() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(DeSelectFields.DeSelectType type)
Determine to 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 © 2008–2024 Apache Software Foundation. All rights reserved.