public class VotingKeyLinkTransactionMapper extends AbstractTransactionMapper<io.nem.symbol.sdk.openapi.vertx.model.VotingKeyLinkTransactionDTO,VotingKeyLinkTransaction>
VotingKeyLinkTransaction
mapper.Constructor and Description |
---|
VotingKeyLinkTransactionMapper(JsonHelper jsonHelper) |
Modifier and Type | Method and Description |
---|---|
protected void |
copyToDto(VotingKeyLinkTransaction transaction,
io.nem.symbol.sdk.openapi.vertx.model.VotingKeyLinkTransactionDTO dto)
Subclasses need to map the values from the transaction model to the transaction dto.
|
protected TransactionFactory<VotingKeyLinkTransaction> |
createFactory(NetworkType networkType,
Deadline deadline,
io.nem.symbol.sdk.openapi.vertx.model.VotingKeyLinkTransactionDTO transaction) |
createFactory, createTransactionInfo, getJsonHelper, getTransactionType, mapFromDto, mapToDto, mapToFactoryFromDto
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVersion, mapToDto
public VotingKeyLinkTransactionMapper(JsonHelper jsonHelper)
protected TransactionFactory<VotingKeyLinkTransaction> createFactory(NetworkType networkType, Deadline deadline, io.nem.symbol.sdk.openapi.vertx.model.VotingKeyLinkTransactionDTO transaction)
createFactory
in class AbstractTransactionMapper<io.nem.symbol.sdk.openapi.vertx.model.VotingKeyLinkTransactionDTO,VotingKeyLinkTransaction>
protected void copyToDto(VotingKeyLinkTransaction transaction, io.nem.symbol.sdk.openapi.vertx.model.VotingKeyLinkTransactionDTO dto)
AbstractTransactionMapper
copyToDto
in class AbstractTransactionMapper<io.nem.symbol.sdk.openapi.vertx.model.VotingKeyLinkTransactionDTO,VotingKeyLinkTransaction>
transaction
- the transaction modeldto
- the transaction dto.