Class 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 Detail

      • 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 new LocalizableMessageTemplateType instance.
      • LocalizableMessageTemplateType

        public LocalizableMessageTemplateType​(LocalizableMessageTemplateType o)
        Creates a new LocalizableMessageTemplateType instance by deeply copying a given LocalizableMessageTemplateType instance.
        Parameters:
        o - The instance to copy.
        Throws:
        NullPointerException - if o is null.
    • 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 is String
      • 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 is ExpressionType
      • 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 is String
      • 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 is ExpressionType
      • 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 class Object
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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 interface org.jvnet.jaxb2_commons.lang.Equals
      • beginArgumentExpression

        public ExpressionType beginArgumentExpression()
      • beginFallbackMessageExpression

        public ExpressionType beginFallbackMessageExpression()