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 com.evolveum.midpoint.prism.impl.binding.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 QName
COMPLEX_TYPE
static ItemName
F_LOCALIZABLE
static ItemName
F_VALUE
protected LocalizableMessageType
localizable
protected String
value
-
Constructor Summary
Constructors Constructor Description LocalizableMessageArgumentType()
LocalizableMessageArgumentType(LocalizableMessageArgumentType other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
LocalizableMessageArgumentType
clone()
boolean
equals(Object other, StructuredEqualsStrategy strategy)
LocalizableMessageType
getLocalizable()
String
getValue()
int
hashCode(StructuredHashCodeStrategy strategy)
LocalizableMessageArgumentType
localizable(LocalizableMessageType value)
void
setLocalizable(LocalizableMessageType value)
void
setValue(String value)
LocalizableMessageArgumentType
value(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()
-
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:
hashCode
in interfacePlainStructured
- Overrides:
hashCode
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
equals
public boolean equals(Object other, StructuredEqualsStrategy strategy)
- Specified by:
equals
in interfacePlainStructured
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
value
public LocalizableMessageArgumentType value(String value)
-
localizable
public LocalizableMessageArgumentType localizable(LocalizableMessageType value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
clone
public LocalizableMessageArgumentType clone()
- Specified by:
clone
in interfacePlainStructured
- Specified by:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
-