Class ImmutableBatchSignerWrapper
java.lang.Object
org.xrpl.xrpl4j.model.transactions.ImmutableBatchSignerWrapper
- All Implemented Interfaces:
BatchSignerWrapper
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableBatchSignerWrapper
extends Object
implements BatchSignerWrapper
Immutable implementation of
BatchSignerWrapper.
Use the builder to create immutable instances:
ImmutableBatchSignerWrapper.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableBatchSignerWrapper. -
Method Summary
Modifier and TypeMethodDescriptionTheBatchSignerthat this wrapper wraps.builder()Creates a builder forImmutableBatchSignerWrapper.static ImmutableBatchSignerWrappercopyOf(BatchSignerWrapper instance) Creates an immutable copy of aBatchSignerWrappervalue.booleanThis instance is equal to all instances ofImmutableBatchSignerWrapperthat have equal attribute values.inthashCode()Computes a hash code from attributes:batchSigner.toString()Prints the immutable valueBatchSignerWrapperwith attribute values.withBatchSigner(BatchSigner value) Copy the current immutable object by setting a value for thebatchSignerattribute.
-
Method Details
-
batchSigner
TheBatchSignerthat this wrapper wraps.- Specified by:
batchSignerin interfaceBatchSignerWrapper- Returns:
- A
BatchSigner.
-
withBatchSigner
Copy the current immutable object by setting a value for thebatchSignerattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for batchSigner- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableBatchSignerWrapperthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:batchSigner. -
toString
Prints the immutable valueBatchSignerWrapperwith attribute values. -
copyOf
Creates an immutable copy of aBatchSignerWrappervalue. 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 BatchSignerWrapper instance
-
builder
Creates a builder forImmutableBatchSignerWrapper.ImmutableBatchSignerWrapper.builder() .batchSigner(org.xrpl.xrpl4j.model.transactions.BatchSigner) // requiredbatchSigner.build();- Returns:
- A new ImmutableBatchSignerWrapper builder
-