public class NotificationMessageType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for NotificationMessageType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NotificationMessageType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="from" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="to" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="cc" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="bcc" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="subject" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="body" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="contentType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<String> |
bcc |
protected String |
body |
protected List<String> |
cc |
static QName |
COMPLEX_TYPE |
protected String |
contentType |
static QName |
F_BCC |
static QName |
F_BODY |
static QName |
F_CC |
static QName |
F_CONTENT_TYPE |
static QName |
F_FROM |
static QName |
F_SUBJECT |
static QName |
F_TO |
protected String |
from |
protected String |
subject |
protected List<String> |
to |
Constructor and Description |
---|
NotificationMessageType()
Creates a new
NotificationMessageType instance. |
NotificationMessageType(NotificationMessageType o)
Creates a new
NotificationMessageType instance by deeply copying a given NotificationMessageType instance. |
Modifier and Type | Method and Description |
---|---|
NotificationMessageType |
bcc(String value) |
NotificationMessageType |
body(String value) |
NotificationMessageType |
cc(String value) |
NotificationMessageType |
clone()
Creates and returns a deep copy of this object.
|
NotificationMessageType |
contentType(String value) |
boolean |
equals(Object object) |
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) |
NotificationMessageType |
from(String value) |
List<String> |
getBcc()
Gets the value of the bcc property.
|
String |
getBody()
Gets the value of the body property.
|
List<String> |
getCc()
Gets the value of the cc property.
|
String |
getContentType()
Gets the value of the contentType property.
|
String |
getFrom()
Gets the value of the from property.
|
String |
getSubject()
Gets the value of the subject property.
|
List<String> |
getTo()
Gets the value of the to property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setBody(String value)
Sets the value of the body property.
|
void |
setContentType(String value)
Sets the value of the contentType property.
|
void |
setFrom(String value)
Sets the value of the from property.
|
void |
setSubject(String value)
Sets the value of the subject property.
|
NotificationMessageType |
subject(String value) |
NotificationMessageType |
to(String value) |
String |
toString()
Generates a String representation of the contents of this type.
|
protected String from
protected String subject
protected String body
protected String contentType
public static final QName COMPLEX_TYPE
public static final QName F_FROM
public static final QName F_TO
public static final QName F_CC
public static final QName F_BCC
public static final QName F_SUBJECT
public static final QName F_BODY
public static final QName F_CONTENT_TYPE
public NotificationMessageType()
NotificationMessageType
instance.public NotificationMessageType(NotificationMessageType o)
NotificationMessageType
instance by deeply copying a given NotificationMessageType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public String getFrom()
String
public void setFrom(String value)
value
- allowed object is
String
public List<String> getTo()
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 to property.
For example, to add a new item, do as follows:
getTo().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<String> getCc()
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 cc property.
For example, to add a new item, do as follows:
getCc().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<String> getBcc()
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 bcc property.
For example, to add a new item, do as follows:
getBcc().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getSubject()
String
public void setSubject(String value)
value
- allowed object is
String
public String getBody()
String
public void setBody(String value)
value
- allowed object is
String
public String getContentType()
String
public void setContentType(String value)
value
- allowed object is
String
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
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)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public NotificationMessageType from(String value)
public NotificationMessageType to(String value)
public NotificationMessageType cc(String value)
public NotificationMessageType bcc(String value)
public NotificationMessageType subject(String value)
public NotificationMessageType body(String value)
public NotificationMessageType contentType(String value)
public NotificationMessageType clone()
Copyright © 2019 Evolveum. All rights reserved.