Class LocalizableMessageArgumentType

  • All Implemented Interfaces:
    JaxbVisitable, Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

    public class LocalizableMessageArgumentType
    extends Object
    implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
    Argument that is to be used for localized message parameter. Might be a LocalizableMessageType itself, allowing for messages like "Assignment exists for {0} {1} (OID {2}" where {0} has to be resolved to e.g. "role", localized for the target language.

    Java class for LocalizableMessageArgumentType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="LocalizableMessageArgumentType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice>
             <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="localizable" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LocalizableMessageType"/>
           </choice>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • LocalizableMessageArgumentType

        public LocalizableMessageArgumentType()
        Creates a new LocalizableMessageArgumentType instance.
      • LocalizableMessageArgumentType

        public LocalizableMessageArgumentType​(LocalizableMessageArgumentType o)
        Creates a new LocalizableMessageArgumentType instance by deeply copying a given LocalizableMessageArgumentType instance.
        Parameters:
        o - The instance to copy.
        Throws:
        NullPointerException - if o is null.
    • Method Detail

      • getValue

        public String getValue()
        Gets the value of the value property.
        Returns:
        possible object is String
      • setValue

        public void setValue​(String value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is String
      • 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