public class MosaicResolutionStatement extends ResolutionStatement<UnresolvedMosaicId,MosaicId>
ResolutionStatement specific for Mosaic Ids.| Constructor and Description | 
|---|
MosaicResolutionStatement(java.lang.String recordId,
                         java.math.BigInteger height,
                         UnresolvedMosaicId unresolved,
                         java.util.List<ResolutionEntry<MosaicId>> resolutionEntries)
Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static java.util.Optional<MosaicId> | 
getResolvedMosaicId(java.util.List<MosaicResolutionStatement> statements,
                   java.math.BigInteger height,
                   UnresolvedMosaicId mosaicAlias,
                   long primaryId,
                   long secondaryId)
This method tries to resolve the unresolved mosaic id using the the resolution entries. 
 | 
generateHash, getHeight, getRecordId, getResolutionEntries, getResolutionEntryById, getResolutionType, getUnresolvedpublic MosaicResolutionStatement(java.lang.String recordId,
                                 java.math.BigInteger height,
                                 UnresolvedMosaicId unresolved,
                                 java.util.List<ResolutionEntry<MosaicId>> resolutionEntries)
recordId - the database id if known.height - Heightunresolved - An UnresolvedMosaicIdresolutionEntries - Array of MosaicId resolution entries.public static java.util.Optional<MosaicId> getResolvedMosaicId(java.util.List<MosaicResolutionStatement> statements, java.math.BigInteger height, UnresolvedMosaicId mosaicAlias, long primaryId, long secondaryId)
statements - the statements.height - the height of the transaction.mosaicAlias - the UnresolvedMosaicIdprimaryId - the primary idsecondaryId - the secondary idOptional of the resolved MosaicId