Interface FieldsParameter.Setter
- All Known Subinterfaces:
FieldsParameter.Builder
- Enclosing interface:
- FieldsParameter
public static interface FieldsParameter.Setter
- Since:
- 3.9.2
-
Method Summary
Modifier and TypeMethodDescriptionallowedFields
(Iterable<String> fields) Used to select allowed field ids.disallowedFields
(Iterable<String> fields) Used to select allowed field ids.PrototypeSelector<? extends FieldsParameter.Setter>
Clears the subtype set bysubtype(String)
, so this method must be used before usingsubtype(String)
.ScopeSelector<? extends FieldsParameter.Setter>
scope()
Not using this method means to use the current scope.StructureSelector<? extends FieldsParameter.Setter>
Used to select one of available structure types.Must be used afterprototype()
otherwise the value is lost.
-
Method Details
-
scope
Not using this method means to use the current scope.- Since:
- 3.9.3
-
prototype
Clears the subtype set bysubtype(String)
, so this method must be used before usingsubtype(String)
. Also clears the structure type selected using selector returned bystructure()
method.- Since:
- 3.9.3
-
structure
Used to select one of available structure types. After invoking this method values set by methodsprototype()
andsubtype(String)
will be ignored.- Since:
- 3.10.0
- See Also:
-
subtype
Must be used afterprototype()
otherwise the value is lost.- Since:
- 3.9.3
-
allowedFields
Used to select allowed field ids. Can be used in combination with other methods. Using this method in combination withdisallowedFields(Iterable)
will reset disallowed field ids collection.- Parameters:
fields
- collection of not null field ids. Fields that are not in this collection will be excluded from available fields gotten by applyingscope()
,prototype()
,subtype(String)
andstructure()
methods. If set to null all available fields are allowed.- Since:
- 3.10.0
-
disallowedFields
Used to select allowed field ids. Can be used in combination with other methods. Using this method in combination withallowedFields(Iterable)
will reset allowed field ids collection.- Parameters:
fields
- collection of not null field ids. Fields in this collection will be excluded from available fields gotten by applyingscope()
,prototype()
,subtype(String)
andstructure()
methods. If set to null or empty all available fields are allowed.- Since:
- 3.10.0
-
fields
-