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.Map
      Property value type used when storing entries to be added to a Map.
      (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)  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void assign​(java.lang.Object bean)
      Method called to assign stored value of this property to specified bean instance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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

        public abstract void assign​(java.lang.Object bean)
                             throws java.io.IOException,
                                    com.fasterxml.jackson.core.JsonProcessingException
        Method called to assign stored value of this property to specified bean instance
        Throws:
        java.io.IOException
        com.fasterxml.jackson.core.JsonProcessingException