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

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


org.jboss.ejb.plugins.cmp.jdbc.metadata
Class JDBCOptimisticLockingMetaData

java.lang.Object
  extended byorg.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCOptimisticLockingMetaData

public final class JDBCOptimisticLockingMetaData
extends Object

Optimistick locking metadata

Version:
$Revision: 1.7 $
Author:
Alex Loubyansky

Field Summary
static Integer FIELD_GROUP_STRATEGY
           
static Integer KEYGENERATOR_COLUMN_STRATEGY
           
static Integer MODIFIED_STRATEGY
           
static Integer READ_STRATEGY
           
static Integer TIMESTAMP_COLUMN_STRATEGY
           
static Integer VERSION_COLUMN_STRATEGY
           
 
Constructor Summary
JDBCOptimisticLockingMetaData(JDBCEntityMetaData entityMetaData, Element element)
          Constructs optimistic locking metadata reading optimistic-locking XML element
 
Method Summary
 String getGroupName()
           
 String getKeyGeneratorFactory()
           
 JDBCCMPFieldMetaData getLockingField()
           
 Integer getLockingStrategy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_GROUP_STRATEGY

public static final Integer FIELD_GROUP_STRATEGY

MODIFIED_STRATEGY

public static final Integer MODIFIED_STRATEGY

READ_STRATEGY

public static final Integer READ_STRATEGY

VERSION_COLUMN_STRATEGY

public static final Integer VERSION_COLUMN_STRATEGY

TIMESTAMP_COLUMN_STRATEGY

public static final Integer TIMESTAMP_COLUMN_STRATEGY

KEYGENERATOR_COLUMN_STRATEGY

public static final Integer KEYGENERATOR_COLUMN_STRATEGY
Constructor Detail

JDBCOptimisticLockingMetaData

public JDBCOptimisticLockingMetaData(JDBCEntityMetaData entityMetaData,
                                     Element element)
                              throws org.jboss.deployment.DeploymentException
Constructs optimistic locking metadata reading optimistic-locking XML element

Method Detail

getLockingStrategy

public Integer getLockingStrategy()

getGroupName

public String getGroupName()

getLockingField

public JDBCCMPFieldMetaData getLockingField()

getKeyGeneratorFactory

public String getKeyGeneratorFactory()


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