com.jpattern.orm.persistor.generator
Class NullGeneratorManipulator<BEAN>
java.lang.Object
com.jpattern.orm.persistor.generator.GeneratorManipulator<BEAN>
com.jpattern.orm.persistor.generator.NullGeneratorManipulator<BEAN>
public class NullGeneratorManipulator<BEAN>
- extends GeneratorManipulator<BEAN>
- Author:
- Francesco Cina'
Apr 1, 2012
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullGeneratorManipulator
public NullGeneratorManipulator()
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.