Package org.cyclos.model.users.addresses
Class UserAddressListData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.users.addresses.AddressListData
-
- org.cyclos.model.users.addresses.UserAddressListData
-
- All Implemented Interfaces:
Serializable
public class UserAddressListData extends AddressListData
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,UserAddressListData>CAN_MANAGE_PRIVACYstatic StringCLASS_NAMEstatic BasicProperty<Boolean,UserAddressListData>CONTACT_INFO_ENABLEDstatic BasicProperty<Boolean,UserAddressListData>ENABLE_PRIVACYstatic BasicProperty<Boolean,UserAddressListData>MANAGES_ADDRESSES-
Fields inherited from class org.cyclos.model.users.addresses.AddressListData
ADDRESS_REQUIRED, ADDRESSES, CAN_CREATE_ADDRESS, MAX_ADDRESSES, USER
-
-
Constructor Summary
Constructors Constructor Description UserAddressListData()UserAddressListData(Property<T,? super UserAddressListData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()booleanisCanManagePrivacy()booleanisContactInfoEnabled()booleanisEnablePrivacy()booleanisManagesAddresses()voidsetCanManagePrivacy(boolean canManagePrivacy)voidsetContactInfoEnabled(boolean contactInfoEnabled)voidsetEnablePrivacy(boolean enablePrivacy)voidsetManagesAddresses(boolean managesAddresses)-
Methods inherited from class org.cyclos.model.users.addresses.AddressListData
getAddresses, getMaxAddresses, getUser, isAddressRequired, isCanCreateAddress, setAddresses, setAddressRequired, setCanCreateAddress, setMaxAddresses, setUser
-
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,UserAddressListData> CAN_MANAGE_PRIVACY
-
CONTACT_INFO_ENABLED
public static final BasicProperty<Boolean,UserAddressListData> CONTACT_INFO_ENABLED
-
ENABLE_PRIVACY
public static final BasicProperty<Boolean,UserAddressListData> ENABLE_PRIVACY
-
MANAGES_ADDRESSES
public static final BasicProperty<Boolean,UserAddressListData> MANAGES_ADDRESSES
-
-
Constructor Detail
-
UserAddressListData
public UserAddressListData()
-
UserAddressListData
public UserAddressListData(Property<T,? super UserAddressListData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classAddressListData
-
isCanManagePrivacy
public boolean isCanManagePrivacy()
-
setCanManagePrivacy
public void setCanManagePrivacy(boolean canManagePrivacy)
-
isContactInfoEnabled
public boolean isContactInfoEnabled()
-
setContactInfoEnabled
public void setContactInfoEnabled(boolean contactInfoEnabled)
-
isEnablePrivacy
public boolean isEnablePrivacy()
-
setEnablePrivacy
public void setEnablePrivacy(boolean enablePrivacy)
-
isManagesAddresses
public boolean isManagesAddresses()
-
setManagesAddresses
public void setManagesAddresses(boolean managesAddresses)
-
className
public String className()
- Overrides:
classNamein classAddressListData
-
-