Package org.xrpl.xrpl4j.model.ledger
Class ImmutableSignerEntryWrapper
java.lang.Object
org.xrpl.xrpl4j.model.ledger.ImmutableSignerEntryWrapper
- All Implemented Interfaces:
SignerEntryWrapper
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableSignerEntryWrapper
extends Object
implements SignerEntryWrapper
Immutable implementation of
SignerEntryWrapper.
Use the builder to create immutable instances:
ImmutableSignerEntryWrapper.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableSignerEntryWrapper. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableSignerEntryWrapper.static ImmutableSignerEntryWrappercopyOf(SignerEntryWrapper instance) Creates an immutable copy of aSignerEntryWrappervalue.booleanThis instance is equal to all instances ofImmutableSignerEntryWrapperthat have equal attribute values.inthashCode()Computes a hash code from attributes:signerEntry.TheSignerEntrythat this wrapper wraps.toString()Prints the immutable valueSignerEntryWrapperwith attribute values.withSignerEntry(SignerEntry value) Copy the current immutable object by setting a value for thesignerEntryattribute.
-
Method Details
-
signerEntry
TheSignerEntrythat this wrapper wraps.- Specified by:
signerEntryin interfaceSignerEntryWrapper- Returns:
- A
SignerEntry.
-
withSignerEntry
Copy the current immutable object by setting a value for thesignerEntryattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for signerEntry- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableSignerEntryWrapperthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:signerEntry. -
toString
Prints the immutable valueSignerEntryWrapperwith attribute values. -
copyOf
Creates an immutable copy of aSignerEntryWrappervalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable SignerEntryWrapper instance
-
builder
Creates a builder forImmutableSignerEntryWrapper.ImmutableSignerEntryWrapper.builder() .signerEntry(org.xrpl.xrpl4j.model.ledger.SignerEntry) // requiredsignerEntry.build();- Returns:
- A new ImmutableSignerEntryWrapper builder
-