Class LocalizableMessageArgumentType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.LocalizableMessageArgumentType
-
- All Implemented Interfaces:
PlainStructured,JaxbVisitable,Serializable,Cloneable
public class LocalizableMessageArgumentType extends AbstractPlainStructured
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.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.binding.PlainStructured
PlainStructured.WithoutStrategy
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_LOCALIZABLEstatic ItemNameF_VALUEprotected LocalizableMessageTypelocalizableprotected Stringvalue
-
Constructor Summary
Constructors Constructor Description LocalizableMessageArgumentType()LocalizableMessageArgumentType(LocalizableMessageArgumentType other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)LocalizableMessageArgumentTypeclone()booleanequals(Object other, StructuredEqualsStrategy strategy)LocalizableMessageTypegetLocalizable()StringgetValue()inthashCode(StructuredHashCodeStrategy strategy)LocalizableMessageArgumentTypelocalizable(LocalizableMessageType value)voidsetLocalizable(LocalizableMessageType value)voidsetValue(String value)LocalizableMessageArgumentTypevalue(String value)-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
equals, hashCode, toString
-
-
-
-
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()
-
LocalizableMessageArgumentType
public LocalizableMessageArgumentType(LocalizableMessageArgumentType other)
-
-
Method Detail
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
getLocalizable
public LocalizableMessageType getLocalizable()
-
setLocalizable
public void setLocalizable(LocalizableMessageType value)
-
hashCode
public int hashCode(StructuredHashCodeStrategy strategy)
- Specified by:
hashCodein interfacePlainStructured- Overrides:
hashCodein classAbstractPlainStructured
-
equals
public boolean equals(Object other, StructuredEqualsStrategy strategy)
- Specified by:
equalsin interfacePlainStructured- Overrides:
equalsin classAbstractPlainStructured
-
value
public LocalizableMessageArgumentType value(String value)
-
localizable
public LocalizableMessageArgumentType localizable(LocalizableMessageType value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable- Overrides:
acceptin classAbstractPlainStructured
-
clone
public LocalizableMessageArgumentType clone()
- Specified by:
clonein interfacePlainStructured- Specified by:
clonein classAbstractPlainStructured
-
-