@Entity public class ProductNotification extends BaseEntity
| Constructor and Description |
|---|
ProductNotification() |
| Modifier and Type | Method and Description |
|---|---|
Network |
getNetwork()
Returns the network this entity belongs to
|
Product |
getProduct() |
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 |
setProduct(Product product) |
void |
setType(UserNotificationType notificationType) |
java.lang.String |
toString() |
getDataTranslationType, getLogType, getVersionisGlobalclone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransientpublic Network getNetwork()
NetworkedEntitygetNetwork in class NetworkedEntitypublic Product getProduct()
public UserNotificationType getType()
public boolean isAllowMail()
public boolean isAllowSms()
public boolean isDefaultMail()
public boolean isDefaultSms()
public boolean isEnabled()
public void setAllowMail(boolean allowMail)
public void setAllowSms(boolean allowSms)
public void setDefaultMail(boolean defaultMail)
public void setDefaultSms(boolean defaultSms)
public void setEnabled(boolean enabled)
public void setProduct(Product product)
public void setType(UserNotificationType notificationType)
public java.lang.String toString()
toString in class SimpleEntity