public class MosaicAddressRestriction extends MosaicRestriction<java.math.BigInteger>
compositeHash, entryType| Constructor and Description |
|---|
MosaicAddressRestriction(java.lang.String recordId,
int version,
java.lang.String compositeHash,
MosaicRestrictionEntryType entryType,
MosaicId mosaicId,
Address targetAddress,
java.util.Map<java.math.BigInteger,java.math.BigInteger> restrictions)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
Address |
getTargetAddress() |
byte[] |
serialize() |
getCompositeHash, getEntryType, getMosaicId, getRecordId, getRestrictions, getVersionpublic MosaicAddressRestriction(java.lang.String recordId,
int version,
java.lang.String compositeHash,
MosaicRestrictionEntryType entryType,
MosaicId mosaicId,
Address targetAddress,
java.util.Map<java.math.BigInteger,java.math.BigInteger> restrictions)
recordId - the db idversion - the versioncompositeHash - the restriction composite hashentryType - the entry typemosaicId - the mosaic idtargetAddress - the target address.restrictions - the restrictions of the mosaic.public Address getTargetAddress()
public byte[] serialize()
serialize in class MosaicRestriction<java.math.BigInteger>