public class SingleLocalizableMessageType extends LocalizableMessageType implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for SingleLocalizableMessageType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SingleLocalizableMessageType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LocalizableMessageType"> <sequence> <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="argument" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LocalizableMessageArgumentType" maxOccurs="unbounded" minOccurs="0"/> <element name="fallbackLocalizableMessage" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LocalizableMessageType" minOccurs="0"/> <element name="fallbackMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<LocalizableMessageArgumentType> |
argument |
static QName |
COMPLEX_TYPE |
static ItemName |
F_ARGUMENT |
static ItemName |
F_FALLBACK_LOCALIZABLE_MESSAGE |
static ItemName |
F_FALLBACK_MESSAGE |
static ItemName |
F_KEY |
protected LocalizableMessageType |
fallbackLocalizableMessage |
protected String |
fallbackMessage |
protected String |
key |
Constructor and Description |
---|
SingleLocalizableMessageType()
Creates a new
SingleLocalizableMessageType instance. |
SingleLocalizableMessageType(SingleLocalizableMessageType o)
Creates a new
SingleLocalizableMessageType instance by deeply copying a given SingleLocalizableMessageType instance. |
Modifier and Type | Method and Description |
---|---|
void |
accept(JaxbVisitor visitor) |
SingleLocalizableMessageType |
argument(LocalizableMessageArgumentType value) |
LocalizableMessageArgumentType |
beginArgument() |
SingleLocalizableMessageType |
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) |
SingleLocalizableMessageType |
fallbackLocalizableMessage(LocalizableMessageType value) |
SingleLocalizableMessageType |
fallbackMessage(String value) |
List<LocalizableMessageArgumentType> |
getArgument()
Gets the value of the argument property.
|
LocalizableMessageType |
getFallbackLocalizableMessage()
Gets the value of the fallbackLocalizableMessage property.
|
String |
getFallbackMessage()
Gets the value of the fallbackMessage property.
|
String |
getKey()
Gets the value of the key property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
SingleLocalizableMessageType |
key(String value) |
void |
setFallbackLocalizableMessage(LocalizableMessageType value)
Sets the value of the fallbackLocalizableMessage property.
|
void |
setFallbackMessage(String value)
Sets the value of the fallbackMessage property.
|
void |
setKey(String value)
Sets the value of the key 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 List<LocalizableMessageArgumentType> argument
protected LocalizableMessageType fallbackLocalizableMessage
protected String fallbackMessage
public static final QName COMPLEX_TYPE
public static final ItemName F_KEY
public static final ItemName F_ARGUMENT
public static final ItemName F_FALLBACK_LOCALIZABLE_MESSAGE
public static final ItemName F_FALLBACK_MESSAGE
public SingleLocalizableMessageType()
SingleLocalizableMessageType
instance.public SingleLocalizableMessageType(SingleLocalizableMessageType o)
SingleLocalizableMessageType
instance by deeply copying a given SingleLocalizableMessageType
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 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 LocalizableMessageType getFallbackLocalizableMessage()
LocalizableMessageType
public void setFallbackLocalizableMessage(LocalizableMessageType value)
value
- allowed object is
LocalizableMessageType
public String getFallbackMessage()
String
public void setFallbackMessage(String value)
value
- allowed object is
String
public String toString()
toString
in class LocalizableMessageType
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
hashCode
in class LocalizableMessageType
public int hashCode()
hashCode
in class LocalizableMessageType
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
equals
in class LocalizableMessageType
public boolean equals(Object object)
equals
in class LocalizableMessageType
public SingleLocalizableMessageType key(String value)
public SingleLocalizableMessageType argument(LocalizableMessageArgumentType value)
public LocalizableMessageArgumentType beginArgument()
public SingleLocalizableMessageType fallbackLocalizableMessage(LocalizableMessageType value)
public SingleLocalizableMessageType fallbackMessage(String value)
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
accept
in class LocalizableMessageType
public SingleLocalizableMessageType clone()
clone
in class LocalizableMessageType
Copyright © 2019 Evolveum. All rights reserved.