Class Notification
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.notification.Notification
-
- All Implemented Interfaces:
java.io.Serializable
public class Notification extends IdentifiableElement implements java.io.Serializable
<p>Java class for anonymous complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType> <complexContent> <extension base="{http://flower.com/docs/domain/common}IdentifiableElement"> <sequence> <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="references" type="{http://flower.com/docs/domain/component}ComponentReference" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
message
protected java.util.List<ComponentReference>
references
protected java.lang.String
title
-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Constructor Summary
Constructors Constructor Description Notification()
Default no-arg constructor abcNotification(Id id, java.lang.String title, java.lang.String message, java.util.List<ComponentReference> references)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.String
getMessage()
Gets the value of the message property.java.util.List<ComponentReference>
getReferences()
Gets the value of the references property.java.lang.String
getTitle()
Gets the value of the title property.int
hashCode()
void
setMessage(java.lang.String value)
Sets the value of the message property.void
setReferences(java.util.List<ComponentReference> value)
void
setTitle(java.lang.String value)
Sets the value of the title property.java.lang.String
toString()
-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
Field Detail
-
title
protected java.lang.String title
-
message
protected java.lang.String message
-
references
protected java.util.List<ComponentReference> references
-
-
Constructor Detail
-
Notification
public Notification()
Default no-arg constructor abc
-
Notification
public Notification(Id id, java.lang.String title, java.lang.String message, java.util.List<ComponentReference> references)
Fully-initialising value constructor
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
Gets the value of the title property.- Returns:
- possible object is
String
-
setTitle
public void setTitle(java.lang.String value)
Sets the value of the title 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
-
getReferences
public java.util.List<ComponentReference> getReferences()
Gets the value of the references property. <p> 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 <CODE>set</CODE> method for the references property. <p> For example, to add a new item, do as follows: <pre> getReferences().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listComponentReference
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
setReferences
public void setReferences(java.util.List<ComponentReference> value)
-
-