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 SummaryConstructors Constructor Description MapControl()
 - 
Method SummaryAll 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- 
isNullIncludedpublic 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.
 
 - 
setNullIncludedpublic 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.
 
 - 
isZeroIncludedpublic 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.
 
 - 
setZeroIncludedpublic 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.
 
 - 
isFalseIncludedpublic 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.
 
 - 
setFalseIncludedpublic 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.
 
 
- 
 
-