Package org.cyclos.model.users.products
Class AbstractProductNotificationDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.users.products.AbstractProductNotificationDTO
-
- All Implemented Interfaces:
Serializable,IEntity
- Direct Known Subclasses:
AdminProductNotificationDTO,UserProductNotificationDTO
public class AbstractProductNotificationDTO extends EntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Boolean,AbstractProductNotificationDTO>DEFAULT_MAILstatic BasicProperty<Boolean,AbstractProductNotificationDTO>DEFAULT_SMS-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description AbstractProductNotificationDTO()AbstractProductNotificationDTO(Long id)AbstractProductNotificationDTO(Property<T,? super AbstractProductNotificationDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()booleanisDefaultMail()booleanisDefaultSms()voidsetDefaultMail(boolean defaultMail)voidsetDefaultSms(boolean defaultSms)-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
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
-
DEFAULT_MAIL
public static final BasicProperty<Boolean,AbstractProductNotificationDTO> DEFAULT_MAIL
-
DEFAULT_SMS
public static final BasicProperty<Boolean,AbstractProductNotificationDTO> DEFAULT_SMS
-
-
Constructor Detail
-
AbstractProductNotificationDTO
public AbstractProductNotificationDTO()
-
AbstractProductNotificationDTO
public AbstractProductNotificationDTO(Long id)
-
AbstractProductNotificationDTO
public AbstractProductNotificationDTO(Property<T,? super AbstractProductNotificationDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityDTO
-
isDefaultMail
public boolean isDefaultMail()
-
setDefaultMail
public void setDefaultMail(boolean defaultMail)
-
isDefaultSms
public boolean isDefaultSms()
-
setDefaultSms
public void setDefaultSms(boolean defaultSms)
-
-