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>
-
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.DateTime
getArgument
(String parameterName) Return the final argument.
-
Constructor Details
-
DatetimeArgumentFactory
-
-
Method Details
-
getArgument
Description copied from interface:ArgumentFactory
Return the final argument.- Specified by:
getArgument
in interfaceArgumentFactory<org.joda.time.DateTime>
- Parameters:
parameterName
- the parameter name used triggering thisArgumentFactory
- Returns:
- the value to be set for the requested parameter
-