public class BilateralNetState<P> implements NetState<P>
Subset of state, containing the elements which must match for two obligation transactions to be nettable. If two obligation state objects produce equal bilateral net states, they are considered safe to net directly. Bilateral states are used in close-out netting.
public BilateralNetState(@NotNull java.util.Set<? extends net.corda.core.identity.AbstractParty> partyKeys, @NotNull net.corda.finance.contracts.asset.Obligation.Terms<P> template)
Subset of state, containing the elements which must match for two obligation transactions to be nettable. If two obligation state objects produce equal bilateral net states, they are considered safe to net directly. Bilateral states are used in close-out netting.
@NotNull public java.util.Set<net.corda.core.identity.AbstractParty> getPartyKeys()
@NotNull public net.corda.finance.contracts.asset.Obligation.Terms<P> getTemplate()
@NotNull public java.util.Set<net.corda.core.identity.AbstractParty> component1()
@NotNull public net.corda.finance.contracts.asset.Obligation.Terms<P> component2()
@NotNull public BilateralNetState<P> copy(@NotNull java.util.Set<? extends net.corda.core.identity.AbstractParty> partyKeys, @NotNull net.corda.finance.contracts.asset.Obligation.Terms<P> template)
Subset of state, containing the elements which must match for two obligation transactions to be nettable. If two obligation state objects produce equal bilateral net states, they are considered safe to net directly. Bilateral states are used in close-out netting.
@NotNull public java.lang.String toString()
Subset of state, containing the elements which must match for two obligation transactions to be nettable. If two obligation state objects produce equal bilateral net states, they are considered safe to net directly. Bilateral states are used in close-out netting.
public int hashCode()
Subset of state, containing the elements which must match for two obligation transactions to be nettable. If two obligation state objects produce equal bilateral net states, they are considered safe to net directly. Bilateral states are used in close-out netting.
public boolean equals(@Nullable java.lang.Object p)
Subset of state, containing the elements which must match for two obligation transactions to be nettable. If two obligation state objects produce equal bilateral net states, they are considered safe to net directly. Bilateral states are used in close-out netting.