public class StateRefConverter
Converts from a class StateRef
to a Composite Key defined by a String txnHash and an Int index
class StateRef
Constructor and Description |
---|
StateRefConverter()
Converts from a
class StateRef to a Composite Key defined by a String txnHash and an Int index |
Modifier and Type | Method and Description |
---|---|
StateRef |
convertToMapped(java.lang.Class<? extends net.corda.core.contracts.StateRef> type,
kotlin.Pair<java.lang.String,java.lang.Integer> value) |
kotlin.Pair<java.lang.String,java.lang.Integer> |
convertToPersisted(StateRef value) |
java.lang.Class<net.corda.core.contracts.StateRef> |
getMappedType() |
java.lang.Integer |
getPersistedSize() |
java.lang.Class<kotlin.Pair> |
getPersistedType() |
public StateRefConverter()
Converts from a class StateRef
to a Composite Key defined by a String txnHash and an Int index
class StateRef
public java.lang.Class<net.corda.core.contracts.StateRef> getMappedType()
public java.lang.Class<kotlin.Pair> getPersistedType()
public java.lang.Integer getPersistedSize()
public kotlin.Pair<java.lang.String,java.lang.Integer> convertToPersisted(StateRef value)
public StateRef convertToMapped(java.lang.Class<? extends net.corda.core.contracts.StateRef> type, kotlin.Pair<java.lang.String,java.lang.Integer> value)