se.unlogic.standardutils.populators
Class PrimitiveIntegerPopulator

java.lang.Object
  extended by se.unlogic.standardutils.populators.BaseStringPopulator<Integer>
      extended by se.unlogic.standardutils.populators.IntegerPopulator
          extended by se.unlogic.standardutils.populators.PrimitiveIntegerPopulator
All Implemented Interfaces:
BeanResultSetPopulator<Integer>, BeanStringPopulator<Integer>, StringFormatValidator

public class PrimitiveIntegerPopulator
extends IntegerPopulator


Constructor Summary
PrimitiveIntegerPopulator()
           
PrimitiveIntegerPopulator(String populatorID)
           
PrimitiveIntegerPopulator(String populatorID, StringFormatValidator formatValidator)
           
 
Method Summary
 Class<? extends Integer> getType()
           
 Integer getValue(String value)
           
 
Methods inherited from class se.unlogic.standardutils.populators.IntegerPopulator
getPopulator, populate, validateDefaultFormat
 
Methods inherited from class se.unlogic.standardutils.populators.BaseStringPopulator
getPopulatorID, validateFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitiveIntegerPopulator

public PrimitiveIntegerPopulator()

PrimitiveIntegerPopulator

public PrimitiveIntegerPopulator(String populatorID,
                                 StringFormatValidator formatValidator)

PrimitiveIntegerPopulator

public PrimitiveIntegerPopulator(String populatorID)
Method Detail

getType

public Class<? extends Integer> getType()
Specified by:
getType in interface BeanStringPopulator<Integer>
Overrides:
getType in class IntegerPopulator

getValue

public Integer getValue(String value)
Specified by:
getValue in interface BeanStringPopulator<Integer>
Overrides:
getValue in class IntegerPopulator


Copyright © 2011. All Rights Reserved.