Package org.cyclos.model.users.addresses
Class UserAddressData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityData<UserAddressDTO>
-
- org.cyclos.model.users.addresses.UserAddressData
-
- All Implemented Interfaces:
Serializable
public class UserAddressData extends EntityData<UserAddressDTO>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,UserAddressData>CAN_MANAGE_PRIVACYstatic BasicProperty<Boolean,UserAddressData>CAN_ONLY_SET_PRIVATEstatic StringCLASS_NAMEstatic BasicProperty<AddressConfigurationData,UserAddressData>CONFIGURATIONstatic BasicProperty<Boolean,UserAddressData>CONTACT_INFO_ENABLEDstatic ListProperty<CustomFieldDetailedVO,UserAddressData>CONTACT_INFO_FIELDSstatic BasicProperty<Boolean,UserAddressData>ENABLE_PRIVACYstatic BasicProperty<PhoneConfigurationData,UserAddressData>PHONE_CONFIGURATION-
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 UserAddressData()UserAddressData(Property<T,? super UserAddressData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()AddressConfigurationDatagetConfiguration()List<CustomFieldDetailedVO>getContactInfoFields()PhoneConfigurationDatagetPhoneConfiguration()booleanisCanManagePrivacy()booleanisCanOnlySetPrivate()booleanisContactInfoEnabled()booleanisEnablePrivacy()voidsetCanManagePrivacy(boolean canManagePrivacy)voidsetCanOnlySetPrivate(boolean canOnlySetPrivate)voidsetConfiguration(AddressConfigurationData configuration)voidsetContactInfoEnabled(boolean contactInfoEnabled)voidsetContactInfoFields(List<CustomFieldDetailedVO> contactInfoFields)voidsetEnablePrivacy(boolean enablePrivacy)voidsetPhoneConfiguration(PhoneConfigurationData phoneConfiguration)-
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_MANAGE_PRIVACY
public static final BasicProperty<Boolean,UserAddressData> CAN_MANAGE_PRIVACY
-
CAN_ONLY_SET_PRIVATE
public static final BasicProperty<Boolean,UserAddressData> CAN_ONLY_SET_PRIVATE
-
CONFIGURATION
public static final BasicProperty<AddressConfigurationData,UserAddressData> CONFIGURATION
-
CONTACT_INFO_ENABLED
public static final BasicProperty<Boolean,UserAddressData> CONTACT_INFO_ENABLED
-
CONTACT_INFO_FIELDS
public static final ListProperty<CustomFieldDetailedVO,UserAddressData> CONTACT_INFO_FIELDS
-
ENABLE_PRIVACY
public static final BasicProperty<Boolean,UserAddressData> ENABLE_PRIVACY
-
PHONE_CONFIGURATION
public static final BasicProperty<PhoneConfigurationData,UserAddressData> PHONE_CONFIGURATION
-
-
Constructor Detail
-
UserAddressData
public UserAddressData()
-
UserAddressData
public UserAddressData(Property<T,? super UserAddressData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityData<UserAddressDTO>
-
isCanManagePrivacy
public boolean isCanManagePrivacy()
-
setCanManagePrivacy
public void setCanManagePrivacy(boolean canManagePrivacy)
-
isCanOnlySetPrivate
public boolean isCanOnlySetPrivate()
-
setCanOnlySetPrivate
public void setCanOnlySetPrivate(boolean canOnlySetPrivate)
-
getConfiguration
public AddressConfigurationData getConfiguration()
-
setConfiguration
public void setConfiguration(AddressConfigurationData configuration)
-
isContactInfoEnabled
public boolean isContactInfoEnabled()
-
setContactInfoEnabled
public void setContactInfoEnabled(boolean contactInfoEnabled)
-
getContactInfoFields
public List<CustomFieldDetailedVO> getContactInfoFields()
-
setContactInfoFields
public void setContactInfoFields(List<CustomFieldDetailedVO> contactInfoFields)
-
isEnablePrivacy
public boolean isEnablePrivacy()
-
setEnablePrivacy
public void setEnablePrivacy(boolean enablePrivacy)
-
getPhoneConfiguration
public PhoneConfigurationData getPhoneConfiguration()
-
setPhoneConfiguration
public void setPhoneConfiguration(PhoneConfigurationData phoneConfiguration)
-
-