Package org.cyclos.model.users.phones
Class PhoneConfigurationData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.users.phones.PhoneConfigurationData
-
- All Implemented Interfaces:
Serializable
public class PhoneConfigurationData extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,PhoneConfigurationData>ALWAYS_SHOW_INTERNATIONAL_PHONE_NUMBERstatic StringCLASS_NAMEstatic BasicProperty<String,PhoneConfigurationData>COUNTRYstatic BasicProperty<Boolean,PhoneConfigurationData>EXTENSION_ENABLEDstatic BasicProperty<String,PhoneConfigurationData>LAND_LINE_EXAMPLEstatic BasicProperty<Boolean,PhoneConfigurationData>LAND_LINE_REQUIREDstatic BasicProperty<String,PhoneConfigurationData>MOBILE_EXAMPLEstatic BasicProperty<Boolean,PhoneConfigurationData>MOBILE_REQUIREDstatic BasicProperty<Boolean,PhoneConfigurationData>SMS_ENABLED
-
Constructor Summary
Constructors Constructor Description PhoneConfigurationData()PhoneConfigurationData(Property<T,? super PhoneConfigurationData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetCountry()StringgetLandLineExample()StringgetMobileExample()booleanisAlwaysShowInternationalPhoneNumber()booleanisExtensionEnabled()booleanisLandLineRequired()booleanisMobileRequired()booleanisSmsEnabled()voidsetAlwaysShowInternationalPhoneNumber(boolean alwaysShowInternationalPhoneNumber)voidsetCountry(String country)voidsetExtensionEnabled(boolean extensionEnabled)voidsetLandLineExample(String landLineExample)voidsetLandLineRequired(boolean landLineRequired)voidsetMobileExample(String mobileExample)voidsetMobileRequired(boolean mobileRequired)voidsetSmsEnabled(boolean smsEnabled)-
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
-
ALWAYS_SHOW_INTERNATIONAL_PHONE_NUMBER
public static final BasicProperty<Boolean,PhoneConfigurationData> ALWAYS_SHOW_INTERNATIONAL_PHONE_NUMBER
-
COUNTRY
public static final BasicProperty<String,PhoneConfigurationData> COUNTRY
-
EXTENSION_ENABLED
public static final BasicProperty<Boolean,PhoneConfigurationData> EXTENSION_ENABLED
-
LAND_LINE_EXAMPLE
public static final BasicProperty<String,PhoneConfigurationData> LAND_LINE_EXAMPLE
-
LAND_LINE_REQUIRED
public static final BasicProperty<Boolean,PhoneConfigurationData> LAND_LINE_REQUIRED
-
MOBILE_EXAMPLE
public static final BasicProperty<String,PhoneConfigurationData> MOBILE_EXAMPLE
-
MOBILE_REQUIRED
public static final BasicProperty<Boolean,PhoneConfigurationData> MOBILE_REQUIRED
-
SMS_ENABLED
public static final BasicProperty<Boolean,PhoneConfigurationData> SMS_ENABLED
-
-
Constructor Detail
-
PhoneConfigurationData
public PhoneConfigurationData()
-
PhoneConfigurationData
public PhoneConfigurationData(Property<T,? super PhoneConfigurationData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
isAlwaysShowInternationalPhoneNumber
public boolean isAlwaysShowInternationalPhoneNumber()
-
setAlwaysShowInternationalPhoneNumber
public void setAlwaysShowInternationalPhoneNumber(boolean alwaysShowInternationalPhoneNumber)
-
getCountry
public String getCountry()
-
setCountry
public void setCountry(String country)
-
isExtensionEnabled
public boolean isExtensionEnabled()
-
setExtensionEnabled
public void setExtensionEnabled(boolean extensionEnabled)
-
getLandLineExample
public String getLandLineExample()
-
setLandLineExample
public void setLandLineExample(String landLineExample)
-
isLandLineRequired
public boolean isLandLineRequired()
-
setLandLineRequired
public void setLandLineRequired(boolean landLineRequired)
-
getMobileExample
public String getMobileExample()
-
setMobileExample
public void setMobileExample(String mobileExample)
-
isMobileRequired
public boolean isMobileRequired()
-
setMobileRequired
public void setMobileRequired(boolean mobileRequired)
-
isSmsEnabled
public boolean isSmsEnabled()
-
setSmsEnabled
public void setSmsEnabled(boolean smsEnabled)
-
-