Class LocalizableMessageArgumentType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.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
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_LOCALIZABLEstatic ItemNameF_VALUEprotected LocalizableMessageTypelocalizableprotected Stringvalue
-
Constructor Summary
Constructors Constructor Description LocalizableMessageArgumentType()Creates a newLocalizableMessageArgumentTypeinstance.LocalizableMessageArgumentType(LocalizableMessageArgumentType o)Creates a newLocalizableMessageArgumentTypeinstance by deeply copying a givenLocalizableMessageArgumentTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)LocalizableMessageArgumentTypeclone()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)LocalizableMessageTypegetLocalizable()Gets the value of the localizable property.StringgetValue()Gets the value of the value property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)LocalizableMessageArgumentTypelocalizable(LocalizableMessageType value)voidsetLocalizable(LocalizableMessageType value)Sets the value of the localizable property.voidsetValue(String value)Sets the value of the value property.StringtoString()Generates a String representation of the contents of this type.LocalizableMessageArgumentTypevalue(String value)
-
-
-
Field Detail
-
value
protected String value
-
localizable
protected LocalizableMessageType localizable
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_VALUE
public static final ItemName F_VALUE
-
F_LOCALIZABLE
public static final ItemName F_LOCALIZABLE
-
-
Constructor Detail
-
LocalizableMessageArgumentType
public LocalizableMessageArgumentType()
Creates a newLocalizableMessageArgumentTypeinstance.
-
LocalizableMessageArgumentType
public LocalizableMessageArgumentType(LocalizableMessageArgumentType o)
Creates a newLocalizableMessageArgumentTypeinstance by deeply copying a givenLocalizableMessageArgumentTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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 isString
-
getLocalizable
public LocalizableMessageType getLocalizable()
Gets the value of the localizable property.- Returns:
- possible object is
LocalizableMessageType
-
setLocalizable
public void setLocalizable(LocalizableMessageType value)
Sets the value of the localizable 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
-
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
-
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
-
value
public LocalizableMessageArgumentType value(String value)
-
localizable
public LocalizableMessageArgumentType localizable(LocalizableMessageType value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable
-
clone
public LocalizableMessageArgumentType clone()
Creates and returns a deep copy of this object.
-
-