Class LocalizedMessageTemplateContentType
java.lang.Object
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.xml.ns._public.common.common_3.MessageTemplateContentType
com.evolveum.midpoint.xml.ns._public.common.common_3.LocalizedMessageTemplateContentType
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
Single language localization for the message template.
If `attachmentExpression` is not specified, the one from the default content will be used.
If no `attachment` is not specified, the ones from the default content will be used.
This allows for language specific attachments without the need to re-specify the ones that
are not language specific.
It is also possible to override `attachmentExpression` for language specific one and leave
`attachment` empty to use the ones defined in `attachment` element of the default content.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QName
static final ItemName
static final Producer<LocalizedMessageTemplateContentType>
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.MessageTemplateContentType
F_ATTACHMENT, F_ATTACHMENT_EXPRESSION, F_BODY_EXPRESSION, F_CONTENT_TYPE, F_SUBJECT_EXPRESSION
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
ConstructorDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionbodyExpression
(ExpressionType value) clone()
contentType
(String value) <X> X
end()
boolean
void
setLanguage
(String value) subjectExpression
(ExpressionType value) Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.MessageTemplateContentType
getAttachment, getAttachmentExpression, getBodyExpression, getContentType, getSubjectExpression, setAttachmentExpression, setBodyExpression, setContentType, setSubjectExpression
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
Field Details
-
COMPLEX_TYPE
-
F_LANGUAGE
-
FACTORY
-
-
Constructor Details
-
LocalizedMessageTemplateContentType
public LocalizedMessageTemplateContentType() -
LocalizedMessageTemplateContentType
Deprecated.
-
-
Method Details
-
getLanguage
-
setLanguage
-
equals
- Overrides:
equals
in classMessageTemplateContentType
-
language
-
subjectExpression
- Overrides:
subjectExpression
in classMessageTemplateContentType
-
beginSubjectExpression
- Overrides:
beginSubjectExpression
in classMessageTemplateContentType
-
bodyExpression
- Overrides:
bodyExpression
in classMessageTemplateContentType
-
beginBodyExpression
- Overrides:
beginBodyExpression
in classMessageTemplateContentType
-
contentType
- Overrides:
contentType
in classMessageTemplateContentType
-
attachment
- Overrides:
attachment
in classMessageTemplateContentType
-
beginAttachment
- Overrides:
beginAttachment
in classMessageTemplateContentType
-
attachmentExpression
- Overrides:
attachmentExpression
in classMessageTemplateContentType
-
beginAttachmentExpression
- Overrides:
beginAttachmentExpression
in classMessageTemplateContentType
-
end
public <X> X end()- Overrides:
end
in classMessageTemplateContentType
-
clone
- Overrides:
clone
in classMessageTemplateContentType
-