Class DateArgumentFactory
java.lang.Object
ch.tocco.nice2.persist.core.impl.util.DateArgumentFactory
- All Implemented Interfaces:
ArgumentFactory<org.joda.time.LocalDate>
@Component
public class DateArgumentFactory
extends Object
implements ArgumentFactory<org.joda.time.LocalDate>
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.persist.core.spi.query.ArgumentFactory
ArgumentFactory.ParameternameAware
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.LocalDate
getArgument
(String parameterName) Return the final argument.
-
Constructor Details
-
DateArgumentFactory
-
-
Method Details
-
getArgument
Description copied from interface:ArgumentFactory
Return the final argument.- Specified by:
getArgument
in interfaceArgumentFactory<org.joda.time.LocalDate>
- Parameters:
parameterName
- the parameter name used triggering thisArgumentFactory
- Returns:
- the value to be set for the requested parameter
-