/** * {@link #autoBeep} */ public void setAutoBeep(final Set<PINAutoBeep> autoBeep) { this.autoBeep.set((int) Bitmask.of(autoBeep)); }
/** * {@link #encIOProtocols} */ public void setEncIOProtocols(final Set<PINENCIOProtocols> encIOProtocols) { this.encIOProtocols.set((int) Bitmask.of(encIOProtocols)); }
@Override public void set(Symbology[] value) { for (int i = 0; i < value.length; i++) { symbologies[i].set((int) value[i].getValue()); } }
@Override public void set(MemoryChipProtocol[] value) { for (int i = 0; i < value.length; i++) { memoryChipProtocols[i].set((int) value[i].getValue()); } }
/** * {@link #emvHashAlgorithms} */ public void setEMVHashAlgorithms(final Set<PINEMVHashAlgorithm> emvHashAlgorithms) { this.emvHashAlgorithms.set((int) Bitmask.of(emvHashAlgorithms)); }
/** * {@link #keyBlockImportFormats} */ public void setKeyBlockImportFormats(final Set<PINKeyBlockImportFormat> keyBlockImportFormats) { this.keyBlockImportFormats.set((int) Bitmask.of(keyBlockImportFormats)); }
@Override public void set(Position[] value) { for (int i = 0; i < value.length; i++) { parkingStationMedias[i].set((int) value[i].getValue()); } }
protected <E extends Enum<E> & XfsConstant> void setPorts(final SIUPortIndex index, final Map<E, Boolean> bitmap) { int value = 0; for (final Map.Entry<E, Boolean> entry : bitmap.entrySet()) { final boolean on = entry.getValue().booleanValue(); if (on) { value |= entry.getKey().getValue(); } } final WORD port = ports.get(index.intValue()); port.set(value); }
protected void set(SetGuidlight310 copy) { guidLight.set(copy.getGuidLight()); command.set(copy.getCommand()); }
protected void set(EmvClessUI330 copy) { messageId.set(copy.getMessageId()); status.set(copy.getStatus()); holdTime.set(copy.getHoldTime()); valueQualifier.set(copy.getValueQualifier()); value.set(copy.getValue()); currencyCode.set(copy.getCurrencyCode()); languagePreferenceData.set(copy.getLanguagePreferenceData()); }
protected void set(Retract3 copy) { outputPosition.set(copy.getOutputPosition()); retractArea.set(copy.getRetractArea()); index.set(copy.getIndex()); }
protected void set(ChipIo3 copy) { chipProtocol.set(copy.getChipProtocol()); chipDataLength.set(copy.chipDataLength); chipData.pointTo(new ByteArray(copy.getChipData())); }
protected void set(Status320 copy) { super.set(copy); parkingStationMedia.pointTo(new ParkingStationMedias(copy.getParkingStationMedia())); antiFraudModule.set(copy.getAntiFraudModule()); }
protected void set(Capabilities310 copy) { super.set(copy); dipMode.set(copy.getDIPMode()); Optional<MemoryChipProtocol[]> memoryChipProtocols = copy.getMemoryChipProtocols(); if (memoryChipProtocols.isPresent()) { this.memoryChipProtocols.pointTo(new MemoryChipProtocols(memoryChipProtocols.get())); } guidLights.set(copy.getGuidLights()); ejectPosition.set(copy.getEjectPosition()); powerSaveControl.set(copy.isPowerSaveControl()); }
protected void set(KeyData330 copy) { rid.pointTo(new HexData330(copy.getRID())); cAPublicKeyIndex.set(copy.getCAPublicKeyIndex()); caPublicKeyAlgorithmIndicator.set(copy.getCAPublicKeyAlgorithmIndicator()); cAPublicKeyExponent.pointTo(new HexData330(copy.getCAPublicKeyExponent())); cAPublicKeyModulus.pointTo(new HexData330(copy.getCAPublicKeyModulus())); cAPublicKeyCheckSum.pointTo(new ByteArray(copy.getCAPublicKeyCheckSum())); }
protected void set(Capabilities310 copy) { serviceClass.set(copy.getServiceClass()); compound.set(copy.isCompound()); canFilterSymbologies.set(copy.isCanFilterSymbologies()); symbologies.pointTo(new Symbologies(copy.getSymbologies())); guidLights.set(copy.getGuidLights()); extra.set(copy.getExtra()); powerSaveControl.set(copy.isPowerSaveControl()); }