Class PropertyValue


  • public class PropertyValue
    extends Object
    Holds the value of a class property and its associated meta data (e.g. label, icon, count).

    We don't generate this class from the schema because we need the XmlJavaTypeAdapter annotation on the metaData field. We tried various ways to add the XmlJavaTypeAdapter annotation to the schema-generated class from the separate bindings file but none succeeded.

    Since:
    9.8RC1
    Version:
    $Id: a4b8aaf77bd3907c0ef2dbdb0ab41e286beeb8cc $
    • Constructor Detail

      • PropertyValue

        public PropertyValue()
        Default constructor.
      • PropertyValue

        public PropertyValue​(Object value)
        Creates a new instance with the specified value.
        Parameters:
        value - the actual property value
    • Method Detail

      • getValue

        public Object getValue()
        Returns:
        the property value
      • setValue

        public void setValue​(Object value)
        Sets the property value.
        Parameters:
        value - the new property value
      • getMetaData

        public Map<String,​Object> getMetaData()
        Returns:
        the meta data associated with the property value
      • setMetaData

        public void setMetaData​(Map<String,​Object> value)
        Sets the meta data associated with the property value.
        Parameters:
        value - the new meta data
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object