站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

JDBCKeyGenVersionFieldBridge (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.ejb.plugins.cmp.jdbc.bridge
Class JDBCKeyGenVersionFieldBridge

java.lang.Object
  extended byorg.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge
      extended byorg.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge
          extended byorg.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xAutoUpdatedFieldBridge
              extended byorg.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xVersionFieldBridge
                  extended byorg.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCKeyGenVersionFieldBridge
All Implemented Interfaces:
CMPFieldBridge, FieldBridge, JDBCCMPFieldBridge, JDBCFieldBridge

public class JDBCKeyGenVersionFieldBridge
extends JDBCCMP2xVersionFieldBridge

Author:
Alexey Loubyansky

Field Summary
 
Fields inherited from class org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge
checkDirtyAfterGet, defaultFlags, fieldName, jdbcContextIndex, log, manager, primaryKeyMember, readOnly, readTimeOut, stateFactory, tableIndex
 
Constructor Summary
JDBCKeyGenVersionFieldBridge(JDBCCMP2xFieldBridge cmpField, String keygenFactoryName)
           
JDBCKeyGenVersionFieldBridge(JDBCStoreManager manager, JDBCCMPFieldMetaData metadata, String keygenFactoryName)
           
 
Method Summary
 void setFirstVersion(EntityEnterpriseContext ctx)
           
 Object updateVersion(EntityEnterpriseContext ctx)
           
 
Methods inherited from class org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xAutoUpdatedFieldBridge
initInstance, setInstanceParameters
 
Methods inherited from class org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge
getCmpFieldIAmMappedTo, getCmrChainLink, getColumnName, getInstanceValue, getLockedValue, isDirty, isFKFieldMappedToCMPField, isLoaded, isReadTimedOut, lockInstanceValue, resetPersistenceContext, setClean, setDirtyAfterGet, setInstanceValue, updateState
 
Methods inherited from class org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge
addDefaultFlag, getDefaultFlags, getFieldIndex, getFieldName, getFieldType, getJDBCType, getManager, getPrimaryKeyClass, getPrimaryKeyField, getPrimaryKeyValue, getReadTimeOut, getTableIndex, getValue, isCMPField, isPrimaryKeyMember, isReadOnly, isRelationTableField, loadArgumentResults, loadInstanceResults, loadPrimaryKeyResults, setArgumentParameters, setLockingStrategy, setPrimaryKeyParameters, setPrimaryKeyValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCKeyGenVersionFieldBridge

public JDBCKeyGenVersionFieldBridge(JDBCStoreManager manager,
                                    JDBCCMPFieldMetaData metadata,
                                    String keygenFactoryName)
                             throws org.jboss.deployment.DeploymentException

JDBCKeyGenVersionFieldBridge

public JDBCKeyGenVersionFieldBridge(JDBCCMP2xFieldBridge cmpField,
                                    String keygenFactoryName)
                             throws org.jboss.deployment.DeploymentException
Method Detail

setFirstVersion

public void setFirstVersion(EntityEnterpriseContext ctx)
Specified by:
setFirstVersion in class JDBCCMP2xAutoUpdatedFieldBridge

updateVersion

public Object updateVersion(EntityEnterpriseContext ctx)
Specified by:
updateVersion in class JDBCCMP2xAutoUpdatedFieldBridge


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.