com.jpattern.orm.persistor.generator
Class NullGeneratorManipulator<BEAN>

java.lang.Object
  extended by com.jpattern.orm.persistor.generator.GeneratorManipulator<BEAN>
      extended by com.jpattern.orm.persistor.generator.NullGeneratorManipulator<BEAN>

public class NullGeneratorManipulator<BEAN>
extends GeneratorManipulator<BEAN>

Author:
Francesco Cina' Apr 1, 2012

Constructor Summary
NullGeneratorManipulator()
           
 
Method Summary
 boolean hasConditionalGenerator()
          This depends on the ifValueIn() method of the Generator} annotation.
 boolean hasGenerator()
          Return true if a bean has an active generator associated
 boolean useGenerator(BEAN bean)
          Check if a generator has to be activated for a bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullGeneratorManipulator

public NullGeneratorManipulator()
Method Detail

useGenerator

public boolean useGenerator(BEAN bean)
Description copied from class: GeneratorManipulator
Check if a generator has to be activated for a bean. This depends on the ifValueIn() method of the Generator} annotation.

Specified by:
useGenerator in class GeneratorManipulator<BEAN>
Returns:

hasConditionalGenerator

public boolean hasConditionalGenerator()
Description copied from class: GeneratorManipulator
This depends on the ifValueIn() method of the Generator} annotation. if a specific list of values has been specified to activate the generator the this method will return true

Specified by:
hasConditionalGenerator in class GeneratorManipulator<BEAN>
Returns:

hasGenerator

public boolean hasGenerator()
Description copied from class: GeneratorManipulator
Return true if a bean has an active generator associated

Specified by:
hasGenerator in class GeneratorManipulator<BEAN>
Returns:


Copyright © 2013. All Rights Reserved.