Class DefaultDefaultValueProcessor

  • All Implemented Interfaces:
    DefaultValueProcessor

    public class DefaultDefaultValueProcessor
    extends java.lang.Object
    implements DefaultValueProcessor
    Base implementation for DefaultDefaultValueProcessor.
    Author:
    Andres Almiray
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getDefaultValue​(java.lang.Class type)
      Returns an appropriate default value for a type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultDefaultValueProcessor

        public DefaultDefaultValueProcessor()
    • Method Detail

      • getDefaultValue

        public java.lang.Object getDefaultValue​(java.lang.Class type)
        Description copied from interface: DefaultValueProcessor
        Returns an appropriate default value for a type.
        Specified by:
        getDefaultValue in interface DefaultValueProcessor
        Returns:
        the default value for instances of type