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 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 QNameCOMPLEX_TYPEprotected Objectcontentprotected StringcontentFromFileprotected StringcontentIdprotected StringcontentTypestatic ItemNameF_CONTENTstatic ItemNameF_CONTENT_FROM_FILEstatic ItemNameF_CONTENT_IDstatic ItemNameF_CONTENT_TYPEstatic ItemNameF_FILE_NAMEprotected StringfileName
-
Constructor Summary
Constructors Constructor Description NotificationMessageAttachmentType()NotificationMessageAttachmentType(NotificationMessageAttachmentType other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)NotificationMessageAttachmentTypeclone()NotificationMessageAttachmentTypecontent(Object value)NotificationMessageAttachmentTypecontentFromFile(String value)NotificationMessageAttachmentTypecontentId(String value)NotificationMessageAttachmentTypecontentType(String value)booleanequals(Object other, StructuredEqualsStrategy strategy)NotificationMessageAttachmentTypefileName(String value)ObjectgetContent()StringgetContentFromFile()StringgetContentId()StringgetContentType()StringgetFileName()inthashCode(StructuredHashCodeStrategy strategy)voidsetContent(Object value)voidsetContentFromFile(String value)voidsetContentId(String value)voidsetContentType(String value)voidsetFileName(String value)-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
equals, hashCode, toString
-
-
-
-
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:
hashCodein interfacePlainStructured- Overrides:
hashCodein classAbstractPlainStructured
-
equals
public boolean equals(Object other, StructuredEqualsStrategy strategy)
- Specified by:
equalsin interfacePlainStructured- Overrides:
equalsin classAbstractPlainStructured
-
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:
acceptin interfaceJaxbVisitable- Overrides:
acceptin classAbstractPlainStructured
-
clone
public NotificationMessageAttachmentType clone()
- Specified by:
clonein interfacePlainStructured- Specified by:
clonein classAbstractPlainStructured
-
-