Class LocalizableMessageListType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.LocalizableMessageType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.LocalizableMessageListType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class LocalizableMessageListType extends LocalizableMessageType implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
List of localizable messages, to be presented as a single message.Java class for LocalizableMessageListType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LocalizableMessageListType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LocalizableMessageType"> <sequence> <element name="message" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LocalizableMessageType" maxOccurs="unbounded" minOccurs="0"/> <element name="separator" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LocalizableMessageType" minOccurs="0"/> <element name="prefix" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LocalizableMessageType" minOccurs="0"/> <element name="postfix" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LocalizableMessageType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_MESSAGE
static ItemName
F_POSTFIX
static ItemName
F_PREFIX
static ItemName
F_SEPARATOR
protected List<LocalizableMessageType>
message
protected LocalizableMessageType
postfix
protected LocalizableMessageType
prefix
protected LocalizableMessageType
separator
-
Constructor Summary
Constructors Constructor Description LocalizableMessageListType()
Creates a newLocalizableMessageListType
instance.LocalizableMessageListType(LocalizableMessageListType o)
Creates a newLocalizableMessageListType
instance by deeply copying a givenLocalizableMessageListType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
LocalizableMessageListType
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)
List<LocalizableMessageType>
getMessage()
Gets the value of the message property.LocalizableMessageType
getPostfix()
Gets the value of the postfix property.LocalizableMessageType
getPrefix()
Gets the value of the prefix property.LocalizableMessageType
getSeparator()
Gets the value of the separator property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
LocalizableMessageListType
message(LocalizableMessageType value)
LocalizableMessageListType
postfix(LocalizableMessageType value)
LocalizableMessageListType
prefix(LocalizableMessageType value)
LocalizableMessageListType
separator(LocalizableMessageType value)
void
setPostfix(LocalizableMessageType value)
Sets the value of the postfix property.void
setPrefix(LocalizableMessageType value)
Sets the value of the prefix property.void
setSeparator(LocalizableMessageType value)
Sets the value of the separator property.String
toString()
Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
message
protected List<LocalizableMessageType> message
-
separator
protected LocalizableMessageType separator
-
prefix
protected LocalizableMessageType prefix
-
postfix
protected LocalizableMessageType postfix
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_MESSAGE
public static final ItemName F_MESSAGE
-
F_SEPARATOR
public static final ItemName F_SEPARATOR
-
F_PREFIX
public static final ItemName F_PREFIX
-
F_POSTFIX
public static final ItemName F_POSTFIX
-
-
Constructor Detail
-
LocalizableMessageListType
public LocalizableMessageListType()
Creates a newLocalizableMessageListType
instance.
-
LocalizableMessageListType
public LocalizableMessageListType(LocalizableMessageListType o)
Creates a newLocalizableMessageListType
instance by deeply copying a givenLocalizableMessageListType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getMessage
public List<LocalizableMessageType> getMessage()
Gets the value of the message 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 message property.For example, to add a new item, do as follows:
getMessage().add(newItem);
Objects of the following type(s) are allowed in the list
LocalizableMessageType
-
getSeparator
public LocalizableMessageType getSeparator()
Gets the value of the separator property.- Returns:
- possible object is
LocalizableMessageType
-
setSeparator
public void setSeparator(LocalizableMessageType value)
Sets the value of the separator property.- Parameters:
value
- allowed object isLocalizableMessageType
-
getPrefix
public LocalizableMessageType getPrefix()
Gets the value of the prefix property.- Returns:
- possible object is
LocalizableMessageType
-
setPrefix
public void setPrefix(LocalizableMessageType value)
Sets the value of the prefix property.- Parameters:
value
- allowed object isLocalizableMessageType
-
getPostfix
public LocalizableMessageType getPostfix()
Gets the value of the postfix property.- Returns:
- possible object is
LocalizableMessageType
-
setPostfix
public void setPostfix(LocalizableMessageType value)
Sets the value of the postfix property.- Parameters:
value
- allowed object isLocalizableMessageType
-
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- Overrides:
toString
in classLocalizableMessageType
-
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
- Overrides:
hashCode
in classLocalizableMessageType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classLocalizableMessageType
-
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
- Overrides:
equals
in classLocalizableMessageType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classLocalizableMessageType
-
message
public LocalizableMessageListType message(LocalizableMessageType value)
-
separator
public LocalizableMessageListType separator(LocalizableMessageType value)
-
prefix
public LocalizableMessageListType prefix(LocalizableMessageType value)
-
postfix
public LocalizableMessageListType postfix(LocalizableMessageType value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classLocalizableMessageType
-
clone
public LocalizableMessageListType clone()
Creates and returns a deep copy of this object.- Overrides:
clone
in classLocalizableMessageType
- Returns:
- A deep copy of this object.
-
-