Class NotificationReference
- java.lang.Object
-
- com.hybris.cockpitng.config.notification.jaxb.NotificationReference
-
public class NotificationReference extends java.lang.ObjectJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<NotificationLinkReferenceContext>contextprotected java.math.BigIntegerindexprotected java.lang.Stringlabelprotected java.lang.Stringlinkprotected MergeModemergeModeprotected java.lang.Stringmessageprotected java.math.BigIntegerplaceholder
-
Constructor Summary
Constructors Constructor Description NotificationReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<NotificationLinkReferenceContext>getContext()Gets the value of the context property.java.math.BigIntegergetIndex()Gets the value of the index property.java.lang.StringgetLabel()Gets the value of the label property.java.lang.StringgetLink()Gets the value of the link property.MergeModegetMergeMode()Gets the value of the mergeMode property.java.lang.StringgetMessage()Gets the value of the message property.java.math.BigIntegergetPlaceholder()Gets the value of the placeholder property.voidsetIndex(java.math.BigInteger value)Sets the value of the index property.voidsetLabel(java.lang.String value)Sets the value of the label property.voidsetLink(java.lang.String value)Sets the value of the link property.voidsetMergeMode(MergeMode value)Sets the value of the mergeMode property.voidsetMessage(java.lang.String value)Sets the value of the message property.voidsetPlaceholder(java.math.BigInteger value)Sets the value of the placeholder property.
-
-
-
Field Detail
-
context
protected java.util.List<NotificationLinkReferenceContext> context
-
index
protected java.math.BigInteger index
-
placeholder
protected java.math.BigInteger placeholder
-
link
protected java.lang.String link
-
label
protected java.lang.String label
-
message
protected java.lang.String message
-
mergeMode
protected MergeMode mergeMode
-
-
Method Detail
-
getContext
public java.util.List<NotificationLinkReferenceContext> getContext()
Gets the value of the context 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 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
-
getIndex
public java.math.BigInteger getIndex()
Gets the value of the index property.- Returns:
- possible object is
BigInteger
-
setIndex
public void setIndex(java.math.BigInteger value)
Sets the value of the index property.- Parameters:
value- allowed object isBigInteger
-
getPlaceholder
public java.math.BigInteger getPlaceholder()
Gets the value of the placeholder property.- Returns:
- possible object is
BigInteger
-
setPlaceholder
public void setPlaceholder(java.math.BigInteger value)
Sets the value of the placeholder property.- Parameters:
value- allowed object isBigInteger
-
getLink
public java.lang.String getLink()
Gets the value of the link property.- Returns:
- possible object is
String
-
setLink
public void setLink(java.lang.String value)
Sets the value of the link property.- Parameters:
value- allowed object isString
-
getLabel
public java.lang.String getLabel()
Gets the value of the label property.- Returns:
- possible object is
String
-
setLabel
public void setLabel(java.lang.String value)
Sets the value of the label property.- Parameters:
value- allowed object isString
-
getMessage
public java.lang.String getMessage()
Gets the value of the message property.- Returns:
- possible object is
String
-
setMessage
public void setMessage(java.lang.String value)
Sets the value of the message property.- Parameters:
value- allowed object isString
-
getMergeMode
public MergeMode getMergeMode()
Gets the value of the mergeMode property.- Returns:
- possible object is
MergeMode
-
-