Record Class ContributionLedger.Row
java.lang.Object
java.lang.Record
com.ultikits.ultitools.bootstrap.ContributionLedger.Row
- Enclosing class:
ContributionLedger
static record ContributionLedger.Row(String namespace, boolean present, String lastStart, @Nullable String removedAt, List<ContentEntry> entries, List<ContentEntry> dropped)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<ContentEntry> The field for thedroppedrecord component.private final List<ContentEntry> The field for theentriesrecord component.private final StringThe field for thelastStartrecord component.private final StringThe field for thenamespacerecord component.private final booleanThe field for thepresentrecord component.private final @Nullable StringThe field for theremovedAtrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionRow(String namespace, boolean present, String lastStart, @Nullable String removedAt, List<ContentEntry> entries, List<ContentEntry> dropped) Creates an instance of aRowrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondropped()Returns the value of thedroppedrecord component.entries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelastStartrecord component.Returns the value of thenamespacerecord component.booleanpresent()Returns the value of thepresentrecord component.@Nullable StringReturns the value of theremovedAtrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
namespace
The field for thenamespacerecord component. -
present
private final boolean presentThe field for thepresentrecord component. -
lastStart
The field for thelastStartrecord component. -
removedAt
The field for theremovedAtrecord component. -
entries
The field for theentriesrecord component. -
dropped
The field for thedroppedrecord component.
-
-
Constructor Details
-
Row
Row(String namespace, boolean present, String lastStart, @Nullable @Nullable String removedAt, List<ContentEntry> entries, List<ContentEntry> dropped) Creates an instance of aRowrecord class.- Parameters:
namespace- the value for thenamespacerecord componentpresent- the value for thepresentrecord componentlastStart- the value for thelastStartrecord componentremovedAt- the value for theremovedAtrecord componententries- the value for theentriesrecord componentdropped- the value for thedroppedrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
namespace
Returns the value of thenamespacerecord component.- Returns:
- the value of the
namespacerecord component
-
present
public boolean present()Returns the value of thepresentrecord component.- Returns:
- the value of the
presentrecord component
-
lastStart
Returns the value of thelastStartrecord component.- Returns:
- the value of the
lastStartrecord component
-
removedAt
Returns the value of theremovedAtrecord component.- Returns:
- the value of the
removedAtrecord component
-
entries
Returns the value of theentriesrecord component.- Returns:
- the value of the
entriesrecord component
-
dropped
Returns the value of thedroppedrecord component.- Returns:
- the value of the
droppedrecord component
-