public class NotificationArea extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<sequence>
<element name="notifications" type="{http://www.hybris.com/cockpitng/config/notifications}Notification" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<element name="defaults" type="{http://www.hybris.com/cockpitng/config/notifications}NotificationDefaults" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected NotificationDefaults |
defaults |
protected List<Notification> |
notifications |
| Constructor and Description |
|---|
NotificationArea() |
| Modifier and Type | Method and Description |
|---|---|
NotificationDefaults |
getDefaults()
Gets the value of the defaults property.
|
List<Notification> |
getNotifications()
Gets the value of the notifications property.
|
void |
setDefaults(NotificationDefaults value)
Sets the value of the defaults property.
|
protected List<Notification> notifications
protected NotificationDefaults defaults
public List<Notification> getNotifications()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the notifications property.
For example, to add a new item, do as follows:
getNotifications().add(newItem);
Objects of the following type(s) are allowed in the list
Notification
public NotificationDefaults getDefaults()
NotificationDefaultspublic void setDefaults(NotificationDefaults value)
value - allowed object is
NotificationDefaultsCopyright © 2018. All rights reserved.