Package org.cyclos.model.users.phones
Class MobilePhoneData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityData<PhoneDTO>
-
- org.cyclos.model.users.phones.PhoneData
-
- org.cyclos.model.users.phones.MobilePhoneData
-
- All Implemented Interfaces:
Serializable
public class MobilePhoneData extends PhoneData
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,MobilePhoneData>CAN_MANUALLY_VERIFYstatic StringCLASS_NAMEstatic BasicProperty<Boolean,MobilePhoneData>SMS_ENABLEDstatic BasicProperty<Boolean,MobilePhoneData>VERIFIED-
Fields inherited from class org.cyclos.model.users.phones.PhoneData
CAN_MANAGE_PRIVACY, CAN_ONLY_SET_PRIVATE, CONFIGURATION, ENABLE_PRIVACY, FORMATTED_NUMBER
-
Fields inherited from class org.cyclos.model.EntityData
CAN_VIEW_HISTORY_LOG, CONFIRMATION_PASSWORD_INPUT, DTO, EDITABLE, LOG_TYPE, REMOVABLE, TRANSLATED_PROPERTY_TYPES, TRANSLATED_VALUES
-
-
Constructor Summary
Constructors Constructor Description MobilePhoneData()MobilePhoneData(Property<T,? super MobilePhoneData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()booleanisCanManuallyVerify()booleanisSmsEnabled()booleanisVerified()voidsetCanManuallyVerify(boolean canManuallyVerify)voidsetSmsEnabled(boolean smsEnabled)voidsetVerified(boolean verified)-
Methods inherited from class org.cyclos.model.users.phones.PhoneData
getConfiguration, getFormattedNumber, isCanManagePrivacy, isCanOnlySetPrivate, isEnablePrivacy, setCanManagePrivacy, setCanOnlySetPrivate, setConfiguration, setEnablePrivacy, setFormattedNumber
-
Methods inherited from class org.cyclos.model.EntityData
getConfirmationPasswordInput, getDto, getLogType, getTranslatedPropertyTypes, getTranslatedValues, isCanViewHistoryLog, isEditable, isRemovable, setCanViewHistoryLog, setConfirmationPasswordInput, setDto, setEditable, setLogType, setRemovable, setTranslatedPropertyTypes, setTranslatedValues
-
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
-
CAN_MANUALLY_VERIFY
public static final BasicProperty<Boolean,MobilePhoneData> CAN_MANUALLY_VERIFY
-
SMS_ENABLED
public static final BasicProperty<Boolean,MobilePhoneData> SMS_ENABLED
-
VERIFIED
public static final BasicProperty<Boolean,MobilePhoneData> VERIFIED
-
-
Constructor Detail
-
MobilePhoneData
public MobilePhoneData()
-
MobilePhoneData
public MobilePhoneData(Property<T,? super MobilePhoneData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classPhoneData
-
isCanManuallyVerify
public boolean isCanManuallyVerify()
-
setCanManuallyVerify
public void setCanManuallyVerify(boolean canManuallyVerify)
-
isSmsEnabled
public boolean isSmsEnabled()
-
setSmsEnabled
public void setSmsEnabled(boolean smsEnabled)
-
isVerified
public boolean isVerified()
-
setVerified
public void setVerified(boolean verified)
-
-