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 QNameCOMPLEX_TYPEstatic ItemNameF_MESSAGEstatic ItemNameF_POSTFIXstatic ItemNameF_PREFIXstatic ItemNameF_SEPARATORprotected List<LocalizableMessageType>messageprotected LocalizableMessageTypepostfixprotected LocalizableMessageTypeprefixprotected LocalizableMessageTypeseparator
-
Constructor Summary
Constructors Constructor Description LocalizableMessageListType()Creates a newLocalizableMessageListTypeinstance.LocalizableMessageListType(LocalizableMessageListType o)Creates a newLocalizableMessageListTypeinstance by deeply copying a givenLocalizableMessageListTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)LocalizableMessageListTypeclone()Creates and returns a deep copy of this object.booleanequals(Object object)booleanequals(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.LocalizableMessageTypegetPostfix()Gets the value of the postfix property.LocalizableMessageTypegetPrefix()Gets the value of the prefix property.LocalizableMessageTypegetSeparator()Gets the value of the separator property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)LocalizableMessageListTypemessage(LocalizableMessageType value)LocalizableMessageListTypepostfix(LocalizableMessageType value)LocalizableMessageListTypeprefix(LocalizableMessageType value)LocalizableMessageListTypeseparator(LocalizableMessageType value)voidsetPostfix(LocalizableMessageType value)Sets the value of the postfix property.voidsetPrefix(LocalizableMessageType value)Sets the value of the prefix property.voidsetSeparator(LocalizableMessageType value)Sets the value of the separator property.StringtoString()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 newLocalizableMessageListTypeinstance.
-
LocalizableMessageListType
public LocalizableMessageListType(LocalizableMessageListType o)
Creates a newLocalizableMessageListTypeinstance by deeply copying a givenLocalizableMessageListTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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
setmethod 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:
toStringin classLocalizableMessageType
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode- Overrides:
hashCodein classLocalizableMessageType
-
hashCode
public int hashCode()
- Overrides:
hashCodein 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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals- Overrides:
equalsin classLocalizableMessageType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin 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:
acceptin interfaceJaxbVisitable- Overrides:
acceptin classLocalizableMessageType
-
clone
public LocalizableMessageListType clone()
Creates and returns a deep copy of this object.- Overrides:
clonein classLocalizableMessageType- Returns:
- A deep copy of this object.
-
-