Class LocalizableMessageTemplateType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.LocalizableMessageTemplateType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class LocalizableMessageTemplateType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
A template that produces a localizable message after argument expressions are evaluated into specific arguments.Java class for LocalizableMessageTemplateType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LocalizableMessageTemplateType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="keyExpression" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> <element name="argument" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LocalizableMessageArgumentType" maxOccurs="unbounded" minOccurs="0"/> <element name="argumentExpression" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" maxOccurs="unbounded" minOccurs="0"/> <element name="fallbackMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="fallbackMessageExpression" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<LocalizableMessageArgumentType>
argument
protected List<ExpressionType>
argumentExpression
static QName
COMPLEX_TYPE
static ItemName
F_ARGUMENT
static ItemName
F_ARGUMENT_EXPRESSION
static ItemName
F_FALLBACK_MESSAGE
static ItemName
F_FALLBACK_MESSAGE_EXPRESSION
static ItemName
F_KEY
static ItemName
F_KEY_EXPRESSION
protected String
fallbackMessage
protected ExpressionType
fallbackMessageExpression
protected String
key
protected ExpressionType
keyExpression
-
Constructor Summary
Constructors Constructor Description LocalizableMessageTemplateType()
Creates a newLocalizableMessageTemplateType
instance.LocalizableMessageTemplateType(LocalizableMessageTemplateType o)
Creates a newLocalizableMessageTemplateType
instance by deeply copying a givenLocalizableMessageTemplateType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
LocalizableMessageTemplateType
argument(LocalizableMessageArgumentType value)
LocalizableMessageTemplateType
argumentExpression(ExpressionType value)
LocalizableMessageArgumentType
beginArgument()
ExpressionType
beginArgumentExpression()
ExpressionType
beginFallbackMessageExpression()
ExpressionType
beginKeyExpression()
LocalizableMessageTemplateType
clone()
Creates and returns a deep copy of this object.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)
LocalizableMessageTemplateType
fallbackMessage(String value)
LocalizableMessageTemplateType
fallbackMessageExpression(ExpressionType value)
List<LocalizableMessageArgumentType>
getArgument()
Gets the value of the argument property.List<ExpressionType>
getArgumentExpression()
Gets the value of the argumentExpression property.String
getFallbackMessage()
Gets the value of the fallbackMessage property.ExpressionType
getFallbackMessageExpression()
Gets the value of the fallbackMessageExpression property.String
getKey()
Gets the value of the key property.ExpressionType
getKeyExpression()
Gets the value of the keyExpression property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
LocalizableMessageTemplateType
key(String value)
LocalizableMessageTemplateType
keyExpression(ExpressionType value)
void
setFallbackMessage(String value)
Sets the value of the fallbackMessage property.void
setFallbackMessageExpression(ExpressionType value)
Sets the value of the fallbackMessageExpression property.void
setKey(String value)
Sets the value of the key property.void
setKeyExpression(ExpressionType value)
Sets the value of the keyExpression property.String
toString()
Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
key
protected String key
-
keyExpression
protected ExpressionType keyExpression
-
argument
protected List<LocalizableMessageArgumentType> argument
-
argumentExpression
protected List<ExpressionType> argumentExpression
-
fallbackMessage
protected String fallbackMessage
-
fallbackMessageExpression
protected ExpressionType fallbackMessageExpression
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_KEY
public static final ItemName F_KEY
-
F_KEY_EXPRESSION
public static final ItemName F_KEY_EXPRESSION
-
F_ARGUMENT
public static final ItemName F_ARGUMENT
-
F_ARGUMENT_EXPRESSION
public static final ItemName F_ARGUMENT_EXPRESSION
-
F_FALLBACK_MESSAGE
public static final ItemName F_FALLBACK_MESSAGE
-
F_FALLBACK_MESSAGE_EXPRESSION
public static final ItemName F_FALLBACK_MESSAGE_EXPRESSION
-
-
Constructor Detail
-
LocalizableMessageTemplateType
public LocalizableMessageTemplateType()
Creates a newLocalizableMessageTemplateType
instance.
-
LocalizableMessageTemplateType
public LocalizableMessageTemplateType(LocalizableMessageTemplateType o)
Creates a newLocalizableMessageTemplateType
instance by deeply copying a givenLocalizableMessageTemplateType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getKey
public String getKey()
Gets the value of the key property.- Returns:
- possible object is
String
-
setKey
public void setKey(String value)
Sets the value of the key property.- Parameters:
value
- allowed object isString
-
getKeyExpression
public ExpressionType getKeyExpression()
Gets the value of the keyExpression property.- Returns:
- possible object is
ExpressionType
-
setKeyExpression
public void setKeyExpression(ExpressionType value)
Sets the value of the keyExpression property.- Parameters:
value
- allowed object isExpressionType
-
getArgument
public List<LocalizableMessageArgumentType> getArgument()
Gets the value of the argument property.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 argument property.For example, to add a new item, do as follows:
getArgument().add(newItem);
Objects of the following type(s) are allowed in the list
LocalizableMessageArgumentType
-
getArgumentExpression
public List<ExpressionType> getArgumentExpression()
Gets the value of the argumentExpression property.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 argumentExpression property.For example, to add a new item, do as follows:
getArgumentExpression().add(newItem);
Objects of the following type(s) are allowed in the list
ExpressionType
-
getFallbackMessage
public String getFallbackMessage()
Gets the value of the fallbackMessage property.- Returns:
- possible object is
String
-
setFallbackMessage
public void setFallbackMessage(String value)
Sets the value of the fallbackMessage property.- Parameters:
value
- allowed object isString
-
getFallbackMessageExpression
public ExpressionType getFallbackMessageExpression()
Gets the value of the fallbackMessageExpression property.- Returns:
- possible object is
ExpressionType
-
setFallbackMessageExpression
public void setFallbackMessageExpression(ExpressionType value)
Sets the value of the fallbackMessageExpression property.- Parameters:
value
- allowed object isExpressionType
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
equals
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)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
key
public LocalizableMessageTemplateType key(String value)
-
keyExpression
public LocalizableMessageTemplateType keyExpression(ExpressionType value)
-
beginKeyExpression
public ExpressionType beginKeyExpression()
-
argument
public LocalizableMessageTemplateType argument(LocalizableMessageArgumentType value)
-
beginArgument
public LocalizableMessageArgumentType beginArgument()
-
argumentExpression
public LocalizableMessageTemplateType argumentExpression(ExpressionType value)
-
beginArgumentExpression
public ExpressionType beginArgumentExpression()
-
fallbackMessage
public LocalizableMessageTemplateType fallbackMessage(String value)
-
fallbackMessageExpression
public LocalizableMessageTemplateType fallbackMessageExpression(ExpressionType value)
-
beginFallbackMessageExpression
public ExpressionType beginFallbackMessageExpression()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public LocalizableMessageTemplateType clone()
Creates and returns a deep copy of this object.
-
-