Class NotificationMessageType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.NotificationMessageType
-
- All Implemented Interfaces:
PlainStructured
,JaxbVisitable
,Serializable
,Cloneable
public class NotificationMessageType extends com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
XML version of Message (in notifications module). Introduced in order to provide custom notifiers. EXPERIMENTAL- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.binding.PlainStructured
PlainStructured.WithoutStrategy
-
-
Field Summary
Fields Modifier and Type Field Description protected List<NotificationMessageAttachmentType>
attachment
protected List<String>
bcc
protected String
body
protected List<String>
cc
static QName
COMPLEX_TYPE
protected String
contentType
static ItemName
F_ATTACHMENT
static ItemName
F_BCC
static ItemName
F_BODY
static ItemName
F_CC
static ItemName
F_CONTENT_TYPE
static ItemName
F_FROM
static ItemName
F_SUBJECT
static ItemName
F_TO
protected String
from
protected String
subject
protected List<String>
to
-
Constructor Summary
Constructors Constructor Description NotificationMessageType()
NotificationMessageType(NotificationMessageType other)
-
Method Summary
-
-
-
Field Detail
-
from
protected String from
-
subject
protected String subject
-
body
protected String body
-
contentType
protected String contentType
-
attachment
protected List<NotificationMessageAttachmentType> attachment
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_FROM
public static final ItemName F_FROM
-
F_TO
public static final ItemName F_TO
-
F_CC
public static final ItemName F_CC
-
F_BCC
public static final ItemName F_BCC
-
F_SUBJECT
public static final ItemName F_SUBJECT
-
F_BODY
public static final ItemName F_BODY
-
F_CONTENT_TYPE
public static final ItemName F_CONTENT_TYPE
-
F_ATTACHMENT
public static final ItemName F_ATTACHMENT
-
-
Constructor Detail
-
NotificationMessageType
public NotificationMessageType()
-
NotificationMessageType
public NotificationMessageType(NotificationMessageType other)
-
-
Method Detail
-
getFrom
public String getFrom()
-
setFrom
public void setFrom(String value)
-
getSubject
public String getSubject()
-
setSubject
public void setSubject(String value)
-
getBody
public String getBody()
-
setBody
public void setBody(String value)
-
getContentType
public String getContentType()
-
setContentType
public void setContentType(String value)
-
getAttachment
public List<NotificationMessageAttachmentType> getAttachment()
-
hashCode
public int hashCode(StructuredHashCodeStrategy strategy)
- Specified by:
hashCode
in interfacePlainStructured
- Overrides:
hashCode
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
equals
public boolean equals(Object other, StructuredEqualsStrategy strategy)
- Specified by:
equals
in interfacePlainStructured
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
from
public NotificationMessageType from(String value)
-
to
public NotificationMessageType to(String value)
-
cc
public NotificationMessageType cc(String value)
-
bcc
public NotificationMessageType bcc(String value)
-
subject
public NotificationMessageType subject(String value)
-
body
public NotificationMessageType body(String value)
-
contentType
public NotificationMessageType contentType(String value)
-
attachment
public NotificationMessageType attachment(NotificationMessageAttachmentType value)
-
beginAttachment
public NotificationMessageAttachmentType beginAttachment()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
clone
public NotificationMessageType clone()
- Specified by:
clone
in interfacePlainStructured
- Specified by:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
-