Class DatetimeArgumentFactory

java.lang.Object
ch.tocco.nice2.persist.core.impl.util.DatetimeArgumentFactory
All Implemented Interfaces:
ArgumentFactory<org.joda.time.DateTime>

@Component public class DatetimeArgumentFactory extends Object implements ArgumentFactory<org.joda.time.DateTime>
  • Constructor Details

  • Method Details

    • getArgument

      public org.joda.time.DateTime getArgument(String parameterName)
      Description copied from interface: ArgumentFactory
      Return the final argument.
      Specified by:
      getArgument in interface ArgumentFactory<org.joda.time.DateTime>
      Parameters:
      parameterName - the parameter name used triggering this ArgumentFactory
      Returns:
      the value to be set for the requested parameter