Format: <choice> (OrderType, a pair of Field + descending (boolean))
Note that OrderType#TABLE can only be used as "intermediate" setting. When passing SaveOrder
to org., the orderType must be different. Reason: The writer
does not have access to the UI.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | |
| public static record |
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final SaveOrder. | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public List | |
| public static SelfContainedSaveOrder | |
| public SaveOrder. | |
| public List | |
| public int | |
| public static SaveOrder | |
| public String |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| orderType | back to summary |
|---|---|
| private final SaveOrder. | |
| sortCriteria | back to summary |
|---|---|
| private final List<SaveOrder. | |
| SaveOrder | back to summary |
|---|---|
| public SaveOrder(SaveOrder. | |
| SaveOrder | back to summary |
|---|---|
| private SaveOrder(@NonNull List<String> data) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getAsStringList | back to summary |
|---|---|
| public List Outputs the current configuration to be consumed later by the constructor | |
| getDefaultSaveOrder | back to summary |
|---|---|
| public static SelfContainedSaveOrder getDefaultSaveOrder() | |
| getOrderType | back to summary |
|---|---|
| public SaveOrder. | |
| getSortCriteria | back to summary |
|---|---|
| public List | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| parse | back to summary |
|---|---|
| public static SaveOrder parse(List<String> orderedData) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Field and Description |
|---|---|
| private final String | name
Hides java. |
| public static final SaveOrder. | |
| public static final SaveOrder. | |
| public static final SaveOrder. |
| Modifier and Type | Method and Description |
|---|---|
| public static SaveOrder. | |
| public String | toString()
Overrides java. Returns the name of this enum constant, as contained in the declaration. |
| public static SaveOrder. | |
| public static SaveOrder. |
| name | back to summary |
|---|---|
| private final String name Hides java. | |
| ORIGINAL | back to summary |
|---|---|
| public static final SaveOrder. | |
| SPECIFIED | back to summary |
|---|---|
| public static final SaveOrder. | |
| TABLE | back to summary |
|---|---|
| public static final SaveOrder. | |
| OrderType | back to summary |
|---|---|
| private OrderType(String name) | |
| fromBooleans | back to summary |
|---|---|
| public static SaveOrder. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists.
| |
| valueOf | back to summary |
|---|---|
| public static SaveOrder. | |
| values | back to summary |
|---|---|
| public static SaveOrder. | |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | descending
Record Component accessed by descending(). |
| private final Field |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SortCriterion(Field
The field field, String Must be a boolean value as string, e.g. "true", "false" descending)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public Field | |
| public final int | |
| public @NonNull String | toString()
Implements abstract java. Returns a string representation of the record. |
| descending | back to summary |
|---|---|
| private final boolean descending Record Component accessed by descending(). | |
| field | back to summary |
|---|---|
| private final Field field Record Component accessed by field(). | |
| SortCriterion | back to summary |
|---|---|
| public SortCriterion(Field field) Given field sorted ascending | |
| SortCriterion | back to summary |
|---|---|
| public SortCriterion(Field field, String descending) | |
| SortCriterion | back to summary |
|---|---|
| public SortCriterion(Field field, boolean descending) | |
| descending | back to summary |
|---|---|
| public boolean descending() Record Component getter of descending. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| field | back to summary |
|---|---|
| public Field field() Record Component getter of field. | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| toString | back to summary |
|---|---|
| public @NonNull String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves.
| |