public class NotificationReference extends Object
Java class for NotificationReference complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NotificationReference">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="context" type="{http://www.hybris.com/cockpitng/config/notifications}NotificationLinkReferenceContext" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="index" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
<attribute name="placeholder" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
<attribute name="link" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="message" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="merge-mode" type="{http://www.hybris.com/cockpitng/config/common}MergeMode" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<NotificationLinkReferenceContext> |
context |
protected BigInteger |
index |
protected String |
label |
protected String |
link |
protected MergeMode |
mergeMode |
protected String |
message |
protected BigInteger |
placeholder |
| Constructor and Description |
|---|
NotificationReference() |
| Modifier and Type | Method and Description |
|---|---|
List<NotificationLinkReferenceContext> |
getContext()
Gets the value of the context property.
|
BigInteger |
getIndex()
Gets the value of the index property.
|
String |
getLabel()
Gets the value of the label property.
|
String |
getLink()
Gets the value of the link property.
|
MergeMode |
getMergeMode()
Gets the value of the mergeMode property.
|
String |
getMessage()
Gets the value of the message property.
|
BigInteger |
getPlaceholder()
Gets the value of the placeholder property.
|
void |
setIndex(BigInteger value)
Sets the value of the index property.
|
void |
setLabel(String value)
Sets the value of the label property.
|
void |
setLink(String value)
Sets the value of the link property.
|
void |
setMergeMode(MergeMode value)
Sets the value of the mergeMode property.
|
void |
setMessage(String value)
Sets the value of the message property.
|
void |
setPlaceholder(BigInteger value)
Sets the value of the placeholder property.
|
protected List<NotificationLinkReferenceContext> context
protected BigInteger index
protected BigInteger placeholder
protected String link
protected String label
protected String message
protected MergeMode mergeMode
public List<NotificationLinkReferenceContext> getContext()
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 context property.
For example, to add a new item, do as follows:
getContext().add(newItem);
Objects of the following type(s) are allowed in the list
NotificationLinkReferenceContext
public BigInteger getIndex()
BigIntegerpublic void setIndex(BigInteger value)
value - allowed object is
BigIntegerpublic BigInteger getPlaceholder()
BigIntegerpublic void setPlaceholder(BigInteger value)
value - allowed object is
BigIntegerpublic String getLink()
Stringpublic void setLink(String value)
value - allowed object is
Stringpublic String getLabel()
Stringpublic void setLabel(String value)
value - allowed object is
Stringpublic String getMessage()
Stringpublic void setMessage(String value)
value - allowed object is
Stringpublic MergeMode getMergeMode()
MergeModeCopyright © 2018. All rights reserved.