jabrefLiveUpdate notification.
If field is null, the change content did not fit into the payload (or was not safe to
send) and receivers pull from the database instead.
| Modifier and Type | Field and Description |
|---|---|
| private final @Nullable String | bibEntryId
Record Component accessed by bibEntryId(). |
| private final @Nullable String | |
| private final @Nullable String | newValue
Record Component accessed by newValue(). |
| private final @Nullable String | oldValue
Record Component accessed by oldValue(). |
| private final String | sourceProcessorId
Record Component accessed by sourceProcessorId(). |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public @Nullable String | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public @Nullable String | |
| public final int | |
| public @Nullable String | |
| public @Nullable String | |
| public String | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| public int |
| bibEntryId | back to summary |
|---|---|
| private final @Nullable String bibEntryId Record Component accessed by bibEntryId(). | |
| field | back to summary |
|---|---|
| private final @Nullable String field Record Component accessed by field(). | |
| newValue | back to summary |
|---|---|
| private final @Nullable String newValue Record Component accessed by newValue(). | |
| oldValue | back to summary |
|---|---|
| private final @Nullable String oldValue Record Component accessed by oldValue(). | |
| sourceProcessorId | back to summary |
|---|---|
| private final String sourceProcessorId Record Component accessed by sourceProcessorId(). | |
| version | back to summary |
|---|---|
| private final int version Record Component accessed by version(). the entry's version after the change, as assigned by the database | |
| FieldChange | back to summary |
|---|---|
| public FieldChange(String sourceProcessorId, @Nullable String bibEntryId, @Nullable String field, @Nullable String oldValue, @Nullable String newValue, int version) | |
| bibEntryId | back to summary |
|---|---|
| public @Nullable String bibEntryId() Record Component getter of bibEntryId. | |
| 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 @Nullable String 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 | |
| newValue | back to summary |
|---|---|
| public @Nullable String newValue() Record Component getter of newValue. | |
| oldValue | back to summary |
|---|---|
| public @Nullable String oldValue() Record Component getter of oldValue. | |
| sourceProcessorId | back to summary |
|---|---|
| public String sourceProcessorId() Record Component getter of sourceProcessorId. | |
| toString | back to summary |
|---|---|
| public final 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. | |
| version | back to summary |
|---|---|
| public int version() Record Component getter of version.
| |