com.jpattern.orm.persistor.generator
Class GeneratorManipulatorImpl<BEAN,P>
java.lang.Object
com.jpattern.orm.persistor.generator.GeneratorManipulator<BEAN>
com.jpattern.orm.persistor.generator.GeneratorManipulatorImpl<BEAN,P>
public class GeneratorManipulatorImpl<BEAN,P>
- 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 |
GeneratorManipulatorImpl
public GeneratorManipulatorImpl(PropertyPersistor<BEAN,P,?> fieldManipulator,
ValueChecker<P> valueChecker,
long[] validValues)
throws SecurityException,
NoSuchMethodException
- Throws:
SecurityException
NoSuchMethodException
useGenerator
public boolean useGenerator(BEAN bean)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- 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:
-
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
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.