Package com.authlete.common.util
Class MapControl
- java.lang.Object
-
- com.authlete.common.util.MapControl
-
- Direct Known Subclasses:
ClientMetadataControl
public class MapControl extends Object
Flags to control contents of a map.- Since:
- 3.45
-
-
Constructor Summary
Constructors Constructor Description MapControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisFalseIncluded()Get the flag indicating whether properties should be included even when their values are false.booleanisNullIncluded()Get the flag indicating whether properties should be included even when their values are null.booleanisZeroIncluded()Get the flag indicating whether properties should be included even when their values are zero.MapControlsetFalseIncluded(boolean included)Set the flag indicating whether properties should be included even when their values are false.MapControlsetNullIncluded(boolean included)Set the flag indicating whether properties should be included even when their values are null.MapControlsetZeroIncluded(boolean included)Set the flag indicating whether properties should be included even when their values are zero.
-
-
-
Method Detail
-
isNullIncluded
public boolean isNullIncluded()
Get the flag indicating whether properties should be included even when their values are null.- Returns:
trueif properties are included even when their values are null.falseif properties are not included when their values are null.
-
setNullIncluded
public MapControl setNullIncluded(boolean included)
Set the flag indicating whether properties should be included even when their values are null.- Parameters:
included-trueto include properties even when their values are null.falsenot to include properties when their values are null.- Returns:
thisobject.
-
isZeroIncluded
public boolean isZeroIncluded()
Get the flag indicating whether properties should be included even when their values are zero.- Returns:
trueif properties are included even when their values are zero.falseif properties are not included when their values are zero.
-
setZeroIncluded
public MapControl setZeroIncluded(boolean included)
Set the flag indicating whether properties should be included even when their values are zero.- Parameters:
included-trueto include properties even when their values are zero.falsenot to include properties when their values are zero.- Returns:
thisobject.
-
isFalseIncluded
public boolean isFalseIncluded()
Get the flag indicating whether properties should be included even when their values are false.- Returns:
trueif properties are included even when their values are false.falseif properties are not included when their values are false.
-
setFalseIncluded
public MapControl setFalseIncluded(boolean included)
Set the flag indicating whether properties should be included even when their values are false.- Parameters:
included-trueto include properties even when their values are false.falsenot to include properties when their values are false.- Returns:
thisobject.
-
-