Class NotificationMessageAttachmentType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.NotificationMessageAttachmentType
-
- All Implemented Interfaces:
PlainStructured
,JaxbVisitable
,Serializable
,Cloneable
public class NotificationMessageAttachmentType extends com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
Message attachment for notifications. The content might be provided either directly (as arbitrary object) or by referencing a file.- 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 static QName
COMPLEX_TYPE
protected Object
content
protected String
contentFromFile
protected String
contentId
protected String
contentType
static ItemName
F_CONTENT
static ItemName
F_CONTENT_FROM_FILE
static ItemName
F_CONTENT_ID
static ItemName
F_CONTENT_TYPE
static ItemName
F_FILE_NAME
protected String
fileName
-
Constructor Summary
Constructors Constructor Description NotificationMessageAttachmentType()
NotificationMessageAttachmentType(NotificationMessageAttachmentType other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
NotificationMessageAttachmentType
clone()
NotificationMessageAttachmentType
content(Object value)
NotificationMessageAttachmentType
contentFromFile(String value)
NotificationMessageAttachmentType
contentId(String value)
NotificationMessageAttachmentType
contentType(String value)
boolean
equals(Object other, StructuredEqualsStrategy strategy)
NotificationMessageAttachmentType
fileName(String value)
Object
getContent()
String
getContentFromFile()
String
getContentId()
String
getContentType()
String
getFileName()
int
hashCode(StructuredHashCodeStrategy strategy)
void
setContent(Object value)
void
setContentFromFile(String value)
void
setContentId(String value)
void
setContentType(String value)
void
setFileName(String value)
-
-
-
Field Detail
-
contentType
protected String contentType
-
content
protected Object content
-
contentFromFile
protected String contentFromFile
-
fileName
protected String fileName
-
contentId
protected String contentId
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_CONTENT_TYPE
public static final ItemName F_CONTENT_TYPE
-
F_CONTENT
public static final ItemName F_CONTENT
-
F_CONTENT_FROM_FILE
public static final ItemName F_CONTENT_FROM_FILE
-
F_FILE_NAME
public static final ItemName F_FILE_NAME
-
F_CONTENT_ID
public static final ItemName F_CONTENT_ID
-
-
Constructor Detail
-
NotificationMessageAttachmentType
public NotificationMessageAttachmentType()
-
NotificationMessageAttachmentType
public NotificationMessageAttachmentType(NotificationMessageAttachmentType other)
-
-
Method Detail
-
getContentType
public String getContentType()
-
setContentType
public void setContentType(String value)
-
getContent
public Object getContent()
-
setContent
public void setContent(Object value)
-
getContentFromFile
public String getContentFromFile()
-
setContentFromFile
public void setContentFromFile(String value)
-
getFileName
public String getFileName()
-
setFileName
public void setFileName(String value)
-
getContentId
public String getContentId()
-
setContentId
public void setContentId(String value)
-
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
-
contentType
public NotificationMessageAttachmentType contentType(String value)
-
content
public NotificationMessageAttachmentType content(Object value)
-
contentFromFile
public NotificationMessageAttachmentType contentFromFile(String value)
-
fileName
public NotificationMessageAttachmentType fileName(String value)
-
contentId
public NotificationMessageAttachmentType contentId(String value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
clone
public NotificationMessageAttachmentType clone()
- Specified by:
clone
in interfacePlainStructured
- Specified by:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
-