Class SendOtpData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.access.passwords.SendOtpData
-
- All Implemented Interfaces:
Serializable
public class SendOtpData extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,SendOtpData>EMAILstatic ListProperty<PhoneVO,SendOtpData>MOBILE_PHONESstatic SetProperty<SendMedium,SendOtpData>SEND_MEDIUMSstatic BasicProperty<Integer,SendOtpData>VERIFICATION_CODE_SECONDS
-
Constructor Summary
Constructors Constructor Description SendOtpData()SendOtpData(Property<T,? super SendOtpData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetEmail()List<PhoneVO>getMobilePhones()Set<SendMedium>getSendMediums()intgetVerificationCodeSeconds()voidsetEmail(String email)voidsetMobilePhones(List<PhoneVO> mobilePhones)voidsetSendMediums(Set<SendMedium> sendMediums)voidsetVerificationCodeSeconds(int verificationCodeSeconds)-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
EMAIL
public static final BasicProperty<String,SendOtpData> EMAIL
-
MOBILE_PHONES
public static final ListProperty<PhoneVO,SendOtpData> MOBILE_PHONES
-
SEND_MEDIUMS
public static final SetProperty<SendMedium,SendOtpData> SEND_MEDIUMS
-
VERIFICATION_CODE_SECONDS
public static final BasicProperty<Integer,SendOtpData> VERIFICATION_CODE_SECONDS
-
-
Constructor Detail
-
SendOtpData
public SendOtpData()
-
SendOtpData
public SendOtpData(Property<T,? super SendOtpData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getEmail
public String getEmail()
-
setEmail
public void setEmail(String email)
-
getSendMediums
public Set<SendMedium> getSendMediums()
-
setSendMediums
public void setSendMediums(Set<SendMedium> sendMediums)
-
getVerificationCodeSeconds
public int getVerificationCodeSeconds()
-
setVerificationCodeSeconds
public void setVerificationCodeSeconds(int verificationCodeSeconds)
-
-