Class PropertyValue

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static class  PropertyValue.Any
      Property value type used when storing entries to be added to a POJO using "any setter" (method that takes name and value arguments, allowing setting multiple different properties using single method).
      (package private) static class  PropertyValue.AnyParameter
      Property value type used when storing entries to be passed to constructor of POJO using "any-setter".
      (package private) static class  PropertyValue.Map
      Property value type used when storing entries to be added to a Map.
      (package private) static class  PropertyValue.Merging
      Property value type used when merging values.
      (package private) static class  PropertyValue.Regular
      Property value that used when assigning value to property using a setter method or direct field access.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      PropertyValue next  
      java.lang.Object value
      Value to assign when POJO has been instantiated.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected PropertyValue​(PropertyValue next, java.lang.Object value)  
    • Field Detail

      • value

        public final java.lang.Object value
        Value to assign when POJO has been instantiated.
    • Constructor Detail

      • PropertyValue

        protected PropertyValue​(PropertyValue next,
                                java.lang.Object value)
    • Method Detail

      • assign

        @Deprecated
        public final void assign​(java.lang.Object bean)
                          throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • assign

        public void assign​(DeserializationContext ctxt,
                           java.lang.Object bean)
                    throws java.io.IOException
        Method called to assign stored value of this property to specified bean instance
        Throws:
        java.io.IOException
        Since:
        2.20
      • setValue

        public void setValue​(java.lang.Object parameterObject)
                      throws java.io.IOException
        Method called to assign stored value of this property to specified parameter object.
        Throws:
        java.io.IOException
        Since:
        2.18