Class NotificationMessageType

  • All Implemented Interfaces:
    JaxbVisitable, Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

    public class NotificationMessageType
    extends Object
    implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
    XML version of Message (in notifications module). Introduced in order to provide custom notifiers. EXPERIMENTAL <p>Java class for NotificationMessageType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="NotificationMessageType"&gt; &lt;complexContent&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;sequence&gt; &lt;element name="from" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="to" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="cc" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="bcc" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="subject" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="body" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="contentType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="attachment" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}NotificationMessageAttachmentType" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;/sequence&gt; &lt;/restriction&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Constructor Detail

      • NotificationMessageType

        public NotificationMessageType()
        Creates a new {@code NotificationMessageType} instance.
      • NotificationMessageType

        public NotificationMessageType​(NotificationMessageType o)
        Creates a new {@code NotificationMessageType} instance by deeply copying a given {@code NotificationMessageType} instance.
        Parameters:
        o - The instance to copy.
        Throws:
        NullPointerException - if {@code o} is {@code null}.
    • Method Detail

      • getFrom

        public String getFrom()
        Gets the value of the from property.
        Returns:
        possible object is String
      • setFrom

        public void setFrom​(String value)
        Sets the value of the from property.
        Parameters:
        value - allowed object is String
      • getTo

        public List<String> getTo()
        Gets the value of the to 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 to property. <p> For example, to add a new item, do as follows: <pre> getTo().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list String
      • getCc

        public List<String> getCc()
        Gets the value of the cc 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 cc property. <p> For example, to add a new item, do as follows: <pre> getCc().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list String
      • getBcc

        public List<String> getBcc()
        Gets the value of the bcc 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 bcc property. <p> For example, to add a new item, do as follows: <pre> getBcc().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list String
      • getSubject

        public String getSubject()
        Gets the value of the subject property.
        Returns:
        possible object is String
      • setSubject

        public void setSubject​(String value)
        Sets the value of the subject property.
        Parameters:
        value - allowed object is String
      • getBody

        public String getBody()
        Gets the value of the body property.
        Returns:
        possible object is String
      • setBody

        public void setBody​(String value)
        Sets the value of the body property.
        Parameters:
        value - allowed object is String
      • getContentType

        public String getContentType()
        Gets the value of the contentType property.
        Returns:
        possible object is String
      • setContentType

        public void setContentType​(String value)
        Sets the value of the contentType property.
        Parameters:
        value - allowed object is String
      • getAttachment

        public List<NotificationMessageAttachmentType> getAttachment()
        Gets the value of the attachment 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 attachment property. <p> For example, to add a new item, do as follows: <pre> getAttachment().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list NotificationMessageAttachmentType
      • toString

        public String toString()
        Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
        Overrides:
        toString in class Object
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals