Enum SelectionPropagation
- java.lang.Object
-
- java.lang.Enum<SelectionPropagation>
-
- net.n2oapp.platform.selection.api.SelectionPropagation
-
- All Implemented Interfaces:
Serializable,Comparable<SelectionPropagation>
public enum SelectionPropagation extends Enum<SelectionPropagation>
Задает как на определенном уровне вложенности будут выбраны поля для отображения.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLВыборка всех полей (то есть игнорирование значенийSelectionEnum) на этом (и только на этом) уровне вложенности.NESTEDПолное игнорирование всехSelectionEnumна этом уровне, а так же на любом вложенном уровне.NORMALВыборка поля полностью определяется значениямиSelectionEnum.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SelectionPropagationvalueOf(String name)Returns the enum constant of this type with the specified name.static SelectionPropagation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final SelectionPropagation NORMAL
Выборка поля полностью определяется значениямиSelectionEnum. Это дефолтное поведение.
-
ALL
public static final SelectionPropagation ALL
Выборка всех полей (то есть игнорирование значенийSelectionEnum) на этом (и только на этом) уровне вложенности.
-
NESTED
public static final SelectionPropagation NESTED
Полное игнорирование всехSelectionEnumна этом уровне, а так же на любом вложенном уровне. То есть будет выбрано каждое поле.
-
-
Method Detail
-
values
public static SelectionPropagation[] 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 (SelectionPropagation c : SelectionPropagation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SelectionPropagation 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
-
-