public class LocalizableMessageTemplateType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
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>
Modifier and Type | Field and 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 and Description |
---|
LocalizableMessageTemplateType()
Creates a new
LocalizableMessageTemplateType instance. |
LocalizableMessageTemplateType(LocalizableMessageTemplateType o)
Creates a new
LocalizableMessageTemplateType instance by deeply copying a given LocalizableMessageTemplateType instance. |
Modifier and Type | Method and 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.
|
finalize, getClass, notify, notifyAll, wait, wait, wait
visitPrismStructure
protected String key
protected ExpressionType keyExpression
protected List<LocalizableMessageArgumentType> argument
protected List<ExpressionType> argumentExpression
protected String fallbackMessage
protected ExpressionType fallbackMessageExpression
public static final QName COMPLEX_TYPE
public static final ItemName F_KEY
public static final ItemName F_KEY_EXPRESSION
public static final ItemName F_ARGUMENT
public static final ItemName F_ARGUMENT_EXPRESSION
public static final ItemName F_FALLBACK_MESSAGE
public static final ItemName F_FALLBACK_MESSAGE_EXPRESSION
public LocalizableMessageTemplateType()
LocalizableMessageTemplateType
instance.public LocalizableMessageTemplateType(LocalizableMessageTemplateType o)
LocalizableMessageTemplateType
instance by deeply copying a given LocalizableMessageTemplateType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public String getKey()
String
public void setKey(String value)
value
- allowed object is
String
public ExpressionType getKeyExpression()
ExpressionType
public void setKeyExpression(ExpressionType value)
value
- allowed object is
ExpressionType
public List<LocalizableMessageArgumentType> getArgument()
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
public List<ExpressionType> getArgumentExpression()
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
public String getFallbackMessage()
String
public void setFallbackMessage(String value)
value
- allowed object is
String
public ExpressionType getFallbackMessageExpression()
ExpressionType
public void setFallbackMessageExpression(ExpressionType value)
value
- allowed object is
ExpressionType
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
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)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public LocalizableMessageTemplateType key(String value)
public LocalizableMessageTemplateType keyExpression(ExpressionType value)
public ExpressionType beginKeyExpression()
public LocalizableMessageTemplateType argument(LocalizableMessageArgumentType value)
public LocalizableMessageArgumentType beginArgument()
public LocalizableMessageTemplateType argumentExpression(ExpressionType value)
public ExpressionType beginArgumentExpression()
public LocalizableMessageTemplateType fallbackMessage(String value)
public LocalizableMessageTemplateType fallbackMessageExpression(ExpressionType value)
public ExpressionType beginFallbackMessageExpression()
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
public LocalizableMessageTemplateType clone()
Copyright © 2021 Evolveum. All rights reserved.