Class AccountMosaicRestrictionTransactionMapper
- java.lang.Object
-
- io.nem.symbol.sdk.infrastructure.vertx.mappers.AbstractTransactionMapper<io.nem.symbol.sdk.openapi.vertx.model.AccountMosaicRestrictionTransactionDTO,io.nem.symbol.sdk.model.transaction.AccountMosaicRestrictionTransaction>
-
- io.nem.symbol.sdk.infrastructure.vertx.mappers.AccountMosaicRestrictionTransactionMapper
-
- All Implemented Interfaces:
io.nem.symbol.sdk.infrastructure.TransactionMapper
public class AccountMosaicRestrictionTransactionMapper extends AbstractTransactionMapper<io.nem.symbol.sdk.openapi.vertx.model.AccountMosaicRestrictionTransactionDTO,io.nem.symbol.sdk.model.transaction.AccountMosaicRestrictionTransaction>
DTO mapper ofAccountMosaicRestrictionTransaction.
-
-
Constructor Summary
Constructors Constructor Description AccountMosaicRestrictionTransactionMapper(io.nem.symbol.sdk.model.transaction.JsonHelper jsonHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcopyToDto(io.nem.symbol.sdk.model.transaction.AccountMosaicRestrictionTransaction transaction, io.nem.symbol.sdk.openapi.vertx.model.AccountMosaicRestrictionTransactionDTO dto)Subclasses need to map the values from the transaction model to the transaction dto.protected io.nem.symbol.sdk.model.transaction.AccountMosaicRestrictionTransactionFactorycreateFactory(io.nem.symbol.sdk.model.network.NetworkType networkType, io.nem.symbol.sdk.model.transaction.Deadline deadline, io.nem.symbol.sdk.openapi.vertx.model.AccountMosaicRestrictionTransactionDTO transaction)-
Methods inherited from class io.nem.symbol.sdk.infrastructure.vertx.mappers.AbstractTransactionMapper
createFactory, createTransactionInfo, getJsonHelper, getTransactionType, mapFromDto, mapToDto, mapToFactoryFromDto
-
-
-
-
Method Detail
-
createFactory
protected io.nem.symbol.sdk.model.transaction.AccountMosaicRestrictionTransactionFactory createFactory(io.nem.symbol.sdk.model.network.NetworkType networkType, io.nem.symbol.sdk.model.transaction.Deadline deadline, io.nem.symbol.sdk.openapi.vertx.model.AccountMosaicRestrictionTransactionDTO transaction)- Specified by:
createFactoryin classAbstractTransactionMapper<io.nem.symbol.sdk.openapi.vertx.model.AccountMosaicRestrictionTransactionDTO,io.nem.symbol.sdk.model.transaction.AccountMosaicRestrictionTransaction>
-
copyToDto
protected void copyToDto(io.nem.symbol.sdk.model.transaction.AccountMosaicRestrictionTransaction transaction, io.nem.symbol.sdk.openapi.vertx.model.AccountMosaicRestrictionTransactionDTO dto)Description copied from class:AbstractTransactionMapperSubclasses need to map the values from the transaction model to the transaction dto. Only the specific fields need to be mapped, not the common like maxFee or deadline as they are done in this abstract class.- Specified by:
copyToDtoin classAbstractTransactionMapper<io.nem.symbol.sdk.openapi.vertx.model.AccountMosaicRestrictionTransactionDTO,io.nem.symbol.sdk.model.transaction.AccountMosaicRestrictionTransaction>- Parameters:
transaction- the transaction modeldto- the transaction dto.
-
-