java.lang.Object
com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
com.evolveum.midpoint.xml.ns._public.common.common_3.AnyValueType
All Implemented Interfaces:
PlainStructured, JaxbVisitable, Serializable, Cloneable
Direct Known Subclasses:
NamedValueType

public class AnyValueType extends com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
Any value (property, reference, container). EXPERIMENTAL This is a workaround to avoid using xsd:anyType directly in a container. It is mapped to a property; however, it cannot be always serialized as a property.
See Also:
  • Field Details

    • value

      protected Object value
    • textValue

      protected String textValue
    • COMPLEX_TYPE

      public static final QName COMPLEX_TYPE
    • F_VALUE

      public static final ItemName F_VALUE
    • F_TEXT_VALUE

      public static final ItemName F_TEXT_VALUE
  • Constructor Details

    • AnyValueType

      public AnyValueType()
    • AnyValueType

      public AnyValueType(AnyValueType other)
  • Method Details

    • getValue

      public Object getValue()
    • setValue

      public void setValue(Object value)
    • getTextValue

      public String getTextValue()
    • setTextValue

      public void setTextValue(String value)
    • hashCode

      public int hashCode(StructuredHashCodeStrategy strategy)
      Specified by:
      hashCode in interface PlainStructured
      Overrides:
      hashCode in class com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
    • equals

      public boolean equals(Object other, StructuredEqualsStrategy strategy)
      Specified by:
      equals in interface PlainStructured
      Overrides:
      equals in class com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
    • value

      public AnyValueType value(Object value)
    • textValue

      public AnyValueType textValue(String value)
    • accept

      public void accept(JaxbVisitor visitor)
      Specified by:
      accept in interface JaxbVisitable
      Overrides:
      accept in class com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
    • clone

      public AnyValueType clone()
      Specified by:
      clone in interface PlainStructured
      Specified by:
      clone in class com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured