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