public static final class Person.AgeRange extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Person.AgeRange() |
Modifier and Type | Method and Description |
---|---|
Person.AgeRange |
clone() |
Integer |
getMax()
The age range's upper bound, if any.
|
Integer |
getMin()
The age range's lower bound, if any.
|
Person.AgeRange |
set(String fieldName,
Object value) |
Person.AgeRange |
setMax(Integer max)
The age range's upper bound, if any.
|
Person.AgeRange |
setMin(Integer min)
The age range's lower bound, if any.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Integer getMax()
null
for nonepublic Person.AgeRange setMax(Integer max)
max
- max or null
for nonepublic Integer getMin()
null
for nonepublic Person.AgeRange setMin(Integer min)
min
- min or null
for nonepublic Person.AgeRange set(String fieldName, Object value)
set
in class GenericJson
public Person.AgeRange clone()
clone
in class GenericJson