M
- the type of a class representing proposed modification by the instigator.
public static class AbstractStateReplacementFlow.Proposal<M>
The class AbstractStateReplacementFlow.Proposal
contains the details of proposed state modification.
This is the message sent by the class AbstractStateReplacementFlow.Instigator
to all participants(class AbstractStateReplacementFlow.Acceptor
) during the state replacement process.
public Proposal(@NotNull StateRef stateRef, M modification)
The class AbstractStateReplacementFlow.Proposal
contains the details of proposed state modification.
This is the message sent by the class AbstractStateReplacementFlow.Instigator
to all participants(class AbstractStateReplacementFlow.Acceptor
) during the state replacement process.
@NotNull public StateRef getStateRef()
public M getModification()
@NotNull public StateRef component1()
public M component2()
@NotNull public net.corda.core.flows.AbstractStateReplacementFlow.Proposal<M> copy(@NotNull StateRef stateRef, M modification)
The class AbstractStateReplacementFlow.Proposal
contains the details of proposed state modification.
This is the message sent by the class AbstractStateReplacementFlow.Instigator
to all participants(class AbstractStateReplacementFlow.Acceptor
) during the state replacement process.
@NotNull public java.lang.String toString()
The class AbstractStateReplacementFlow.Proposal
contains the details of proposed state modification.
This is the message sent by the class AbstractStateReplacementFlow.Instigator
to all participants(class AbstractStateReplacementFlow.Acceptor
) during the state replacement process.
public int hashCode()
The class AbstractStateReplacementFlow.Proposal
contains the details of proposed state modification.
This is the message sent by the class AbstractStateReplacementFlow.Instigator
to all participants(class AbstractStateReplacementFlow.Acceptor
) during the state replacement process.
public boolean equals(@Nullable java.lang.Object p)
The class AbstractStateReplacementFlow.Proposal
contains the details of proposed state modification.
This is the message sent by the class AbstractStateReplacementFlow.Instigator
to all participants(class AbstractStateReplacementFlow.Acceptor
) during the state replacement process.