com.jpattern.orm.persistor.version
Class VersionManipulatorImpl<BEAN>
java.lang.Object
com.jpattern.orm.persistor.version.VersionManipulatorImpl<BEAN>
- Type Parameters:
BEAN -
- All Implemented Interfaces:
- VersionManipulator<BEAN>
public class VersionManipulatorImpl<BEAN>
- extends Object
- implements VersionManipulator<BEAN>
- Author:
- cinafr
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionManipulatorImpl
public VersionManipulatorImpl(PropertyPersistor<BEAN,?,?> versionablePersistor)
isVersionable
public boolean isVersionable()
- Specified by:
isVersionable in interface VersionManipulator<BEAN>
updateVersion
public void updateVersion(BEAN bean,
boolean firstVersionNumber)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
updateVersion in interface VersionManipulator<BEAN>
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
Copyright © 2013. All Rights Reserved.