Package com.vaadin.flow.component.grid
Enum Grid.NestedNullBehavior
- java.lang.Object
-
- java.lang.Enum<Grid.NestedNullBehavior>
-
- com.vaadin.flow.component.grid.Grid.NestedNullBehavior
-
- All Implemented Interfaces:
Serializable
,Comparable<Grid.NestedNullBehavior>
public static enum Grid.NestedNullBehavior extends Enum<Grid.NestedNullBehavior>
behavior when parsing nested properties which may containnull
values in the property chain
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOW_NULLS
silently ignore any exceptions caused by nestednull
valuesTHROW
throw a NullPointerException if there is a nestednull
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Grid.NestedNullBehavior
valueOf(String name)
Returns the enum constant of this type with the specified name.static Grid.NestedNullBehavior[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
THROW
public static final Grid.NestedNullBehavior THROW
throw a NullPointerException if there is a nestednull
value
-
ALLOW_NULLS
public static final Grid.NestedNullBehavior ALLOW_NULLS
silently ignore any exceptions caused by nestednull
values
-
-
Method Detail
-
values
public static Grid.NestedNullBehavior[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Grid.NestedNullBehavior c : Grid.NestedNullBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Grid.NestedNullBehavior valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-