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 boolean
isFalseIncluded()
Get the flag indicating whether properties should be included even when their values are false.boolean
isNullIncluded()
Get the flag indicating whether properties should be included even when their values are null.boolean
isZeroIncluded()
Get the flag indicating whether properties should be included even when their values are zero.MapControl
setFalseIncluded(boolean included)
Set the flag indicating whether properties should be included even when their values are false.MapControl
setNullIncluded(boolean included)
Set the flag indicating whether properties should be included even when their values are null.MapControl
setZeroIncluded(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:
true
if properties are included even when their values are null.false
if 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
-true
to include properties even when their values are null.false
not to include properties when their values are null.- Returns:
this
object.
-
isZeroIncluded
public boolean isZeroIncluded()
Get the flag indicating whether properties should be included even when their values are zero.- Returns:
true
if properties are included even when their values are zero.false
if 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
-true
to include properties even when their values are zero.false
not to include properties when their values are zero.- Returns:
this
object.
-
isFalseIncluded
public boolean isFalseIncluded()
Get the flag indicating whether properties should be included even when their values are false.- Returns:
true
if properties are included even when their values are false.false
if 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
-true
to include properties even when their values are false.false
not to include properties when their values are false.- Returns:
this
object.
-
-