Uses of Interface
org.apache.openjpa.jdbc.meta.VersionStrategy

Packages that use VersionStrategy
org.apache.openjpa.jdbc.meta OpenJPA-JDBC ORM Metadata 
org.apache.openjpa.jdbc.meta.strats OpenJPA-JDBC ORM Strategies 
org.apache.openjpa.jdbc.schema OpenJPA-JDBC Schema Management 
 

Uses of VersionStrategy in org.apache.openjpa.jdbc.meta
 

Classes in org.apache.openjpa.jdbc.meta that implement VersionStrategy
 class Version
          Handles optimistic lock versioning for a class.
 

Methods in org.apache.openjpa.jdbc.meta that return VersionStrategy
protected  VersionStrategy MappingRepository.defaultStrategy(Version version)
          Determine the default strategy to use for the given version.
protected  VersionStrategy MappingRepository.defaultStrategy(Version version, boolean adapting)
          Determine the default strategy to use for the given version.
protected  VersionStrategy MappingRepository.defaultStrategy(Version vers, FieldMapping vfield)
          Return the default version strategy, given a version field.
 VersionStrategy Version.getStrategy()
          The strategy used for versioning.
protected  VersionStrategy MappingRepository.instantiateVersionStrategy(Class strat, Version version, String props)
          Instantiate the given version strategy.
protected  VersionStrategy MappingRepository.instantiateVersionStrategy(String name, Version version)
          Instantiate the given version strategy.
protected  VersionStrategy MappingRepository.namedStrategy(Version version)
          Instantiate the given version's named strategy, or return null if no named strategy.
 

Methods in org.apache.openjpa.jdbc.meta with parameters of type VersionStrategy
 void Version.setStrategy(VersionStrategy strategy, Boolean adapt)
          The strategy used for versioning.
 

Uses of VersionStrategy in org.apache.openjpa.jdbc.meta.strats
 

Classes in org.apache.openjpa.jdbc.meta.strats that implement VersionStrategy
 class AbstractVersionStrategy
          No-op strategy for easy extension.
 class ColumnVersionStrategy
          Uses a single column and corresponding version object.
 class NoneVersionStrategy
          No-op version strategy.
 class NumberVersionStrategy
          Uses a version number for optimistic versioning.
 class StateComparisonVersionStrategy
          Uses a state image to determine whether concurrency violations take place.
 class SuperclassVersionStrategy
          Version strategy that delegates to the suerpclass version.
 class TimestampVersionStrategy
          Uses a timestamp for optimistic versioning.
 

Uses of VersionStrategy in org.apache.openjpa.jdbc.schema
 

Methods in org.apache.openjpa.jdbc.schema that return VersionStrategy
 VersionStrategy Column.getVersionStrategy()
           
 

Methods in org.apache.openjpa.jdbc.schema with parameters of type VersionStrategy
 void Column.setVersionStrategy(VersionStrategy strategy)
           
 



Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.