1   package org.org.usurper.dummydomain;
2   
3   import org.org.usurper.handlers.basic.AbstractSpecificPropertyHandler;
4   import org.org.usurper.model.HandledBeanProperty;
5   import org.org.usurper.model.HandledConstructorArg;
6   import org.org.usurper.model.SpecificPropertyDefinition;
7   
8   public class SpecificIntegerFieldHandler extends AbstractSpecificPropertyHandler {
9   
10      public SpecificIntegerFieldHandler(SpecificPropertyDefinition specificPropertyDefinition) {
11          super(specificPropertyDefinition);
12      }
13  
14      private static final int LUCKY_VALUE = 13;
15  
16      public Object handle(HandledBeanProperty handledBeanProperty) {
17          return LUCKY_VALUE;
18      }
19  
20      public Object handle(HandledConstructorArg handledConstructorArg) {
21          return LUCKY_VALUE;
22      }
23  
24  }