public class ProductNotificationDTO extends EntityDTO
| Modifier and Type | Field and Description |
|---|---|
static BasicProperty<java.lang.Boolean,ProductNotificationDTO> |
ALLOW_MAIL |
static BasicProperty<java.lang.Boolean,ProductNotificationDTO> |
ALLOW_SMS |
static java.lang.String |
CLASS_NAME |
static BasicProperty<java.lang.Boolean,ProductNotificationDTO> |
DEFAULT_MAIL |
static BasicProperty<java.lang.Boolean,ProductNotificationDTO> |
DEFAULT_SMS |
static BasicProperty<java.lang.Boolean,ProductNotificationDTO> |
ENABLED |
static BasicProperty<UserNotificationType,ProductNotificationDTO> |
TYPE |
ID| Constructor and Description |
|---|
ProductNotificationDTO() |
ProductNotificationDTO(java.lang.Long id) |
ProductNotificationDTO(Property<T,? super ProductNotificationDTO> property,
T value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
className() |
protected java.util.List<Property<?,?>> |
doGetProperties() |
UserNotificationType |
getType() |
boolean |
isAllowMail() |
boolean |
isAllowSms() |
boolean |
isDefaultMail() |
boolean |
isDefaultSms() |
boolean |
isEnabled() |
void |
setAllowMail(boolean allowMail) |
void |
setAllowSms(boolean allowSms) |
void |
setDefaultMail(boolean defaultMail) |
void |
setDefaultSms(boolean defaultSms) |
void |
setEnabled(boolean enabled) |
void |
setType(UserNotificationType type) |
getVersion, isPersistent, isTransient, setVersionaddPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, setAttributepublic static final java.lang.String CLASS_NAME
public static final BasicProperty<java.lang.Boolean,ProductNotificationDTO> ALLOW_MAIL
public static final BasicProperty<java.lang.Boolean,ProductNotificationDTO> ALLOW_SMS
public static final BasicProperty<java.lang.Boolean,ProductNotificationDTO> DEFAULT_MAIL
public static final BasicProperty<java.lang.Boolean,ProductNotificationDTO> DEFAULT_SMS
public static final BasicProperty<java.lang.Boolean,ProductNotificationDTO> ENABLED
public static final BasicProperty<UserNotificationType,ProductNotificationDTO> TYPE
public ProductNotificationDTO()
public ProductNotificationDTO(java.lang.Long id)
public ProductNotificationDTO(Property<T,? super ProductNotificationDTO> property, T value)
protected java.util.List<Property<?,?>> doGetProperties()
doGetProperties in class EntityDTOpublic boolean isAllowMail()
public void setAllowMail(boolean allowMail)
public boolean isAllowSms()
public void setAllowSms(boolean allowSms)
public boolean isDefaultMail()
public void setDefaultMail(boolean defaultMail)
public boolean isDefaultSms()
public void setDefaultSms(boolean defaultSms)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public UserNotificationType getType()
public void setType(UserNotificationType type)