Class NotificationArea
- java.lang.Object
-
- com.hybris.cockpitng.config.notification.jaxb.NotificationArea
-
public class NotificationArea extends java.lang.ObjectJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected NotificationDefaultsdefaultsprotected java.util.List<Notification>notifications
-
Constructor Summary
Constructors Constructor Description NotificationArea()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationDefaultsgetDefaults()Gets the value of the defaults property.java.util.List<Notification>getNotifications()Gets the value of the notifications property.voidsetDefaults(NotificationDefaults value)Sets the value of the defaults property.
-
-
-
Field Detail
-
notifications
protected java.util.List<Notification> notifications
-
defaults
protected NotificationDefaults defaults
-
-
Method Detail
-
getNotifications
public java.util.List<Notification> getNotifications()
Gets the value of the notifications property.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
setmethod 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
-
getDefaults
public NotificationDefaults getDefaults()
Gets the value of the defaults property.- Returns:
- possible object is
NotificationDefaults
-
setDefaults
public void setDefaults(NotificationDefaults value)
Sets the value of the defaults property.- Parameters:
value- allowed object isNotificationDefaults
-
-