public class MapOTPPolicyEntity extends Object implements UpdatableEntity
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static MapOTPPolicyEntity |
fromModel(OTPPolicy model) |
String |
getOtpPolicyAlgorithm() |
Integer |
getOtpPolicyDigits() |
Integer |
getOtpPolicyInitialCounter() |
Integer |
getOtpPolicyLookAheadWindow() |
Integer |
getOtpPolicyPeriod() |
String |
getOtpPolicyType() |
int |
hashCode() |
boolean |
isUpdated()
Flag signalizing that any of the setters has been meaningfully used.
|
void |
setOtpPolicyAlgorithm(String otpPolicyAlgorithm) |
void |
setOtpPolicyDigits(int otpPolicyDigits) |
void |
setOtpPolicyInitialCounter(int otpPolicyInitialCounter) |
void |
setOtpPolicyLookAheadWindow(int otpPolicyLookAheadWindow) |
void |
setOtpPolicyPeriod(int otpPolicyPeriod) |
void |
setOtpPolicyType(String otpPolicyType) |
static OTPPolicy |
toModel(MapOTPPolicyEntity entity) |
public static MapOTPPolicyEntity fromModel(OTPPolicy model)
public static OTPPolicy toModel(MapOTPPolicyEntity entity)
public boolean isUpdated()
UpdatableEntity
isUpdated
in interface UpdatableEntity
public Integer getOtpPolicyInitialCounter()
public void setOtpPolicyInitialCounter(int otpPolicyInitialCounter)
public Integer getOtpPolicyDigits()
public void setOtpPolicyDigits(int otpPolicyDigits)
public Integer getOtpPolicyLookAheadWindow()
public void setOtpPolicyLookAheadWindow(int otpPolicyLookAheadWindow)
public Integer getOtpPolicyPeriod()
public void setOtpPolicyPeriod(int otpPolicyPeriod)
public String getOtpPolicyType()
public void setOtpPolicyType(String otpPolicyType)
public String getOtpPolicyAlgorithm()
public void setOtpPolicyAlgorithm(String otpPolicyAlgorithm)
Copyright © 2021 JBoss by Red Hat. All rights reserved.