Package org.cyclos.model.users.phones
Class MobilePhoneDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.users.phones.PhoneDTO
-
- org.cyclos.model.users.phones.MobilePhoneDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,INamedEntity
public class MobilePhoneDTO extends PhoneDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Boolean,MobilePhoneDTO>ENABLED_FOR_SMSstatic BasicProperty<DateTime,MobilePhoneDTO>VERIFICATION_CODE_SEND_DATEstatic BasicProperty<Boolean,MobilePhoneDTO>VERIFIED-
Fields inherited from class org.cyclos.model.users.phones.PhoneDTO
FORMATTED_NUMBER, HIDDEN, NORMALIZED_NUMBER, RAW_NUMBER, USER
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description MobilePhoneDTO()MobilePhoneDTO(Long id)MobilePhoneDTO(Property<T,? super MobilePhoneDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()DateTimegetVerificationCodeSendDate()booleanisEnabledForSms()booleanisVerified()voidsetEnabledForSms(boolean enabledForSms)voidsetVerificationCodeSendDate(DateTime verificationCodeSendDate)voidsetVerified(boolean verified)-
Methods inherited from class org.cyclos.model.users.phones.PhoneDTO
getFormattedNumber, getNormalizedNumber, getRawNumber, getUser, isHidden, setFormattedNumber, setHidden, setNormalizedNumber, setRawNumber, setUser
-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, setId
-
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
-
ENABLED_FOR_SMS
public static final BasicProperty<Boolean,MobilePhoneDTO> ENABLED_FOR_SMS
-
VERIFICATION_CODE_SEND_DATE
public static final BasicProperty<DateTime,MobilePhoneDTO> VERIFICATION_CODE_SEND_DATE
-
VERIFIED
public static final BasicProperty<Boolean,MobilePhoneDTO> VERIFIED
-
-
Constructor Detail
-
MobilePhoneDTO
public MobilePhoneDTO()
-
MobilePhoneDTO
public MobilePhoneDTO(Long id)
-
MobilePhoneDTO
public MobilePhoneDTO(Property<T,? super MobilePhoneDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classPhoneDTO
-
isEnabledForSms
public boolean isEnabledForSms()
-
setEnabledForSms
public void setEnabledForSms(boolean enabledForSms)
-
getVerificationCodeSendDate
public DateTime getVerificationCodeSendDate()
-
setVerificationCodeSendDate
public void setVerificationCodeSendDate(DateTime verificationCodeSendDate)
-
isVerified
public boolean isVerified()
-
setVerified
public void setVerified(boolean verified)
-
-