org.apache.openejb.jee.jba.cmp
Class OptimisticLocking

java.lang.Object
  extended by org.apache.openejb.jee.jba.cmp.OptimisticLocking

public class OptimisticLocking
extends Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element ref="{http://jboss.org}group-name"/>
         <element ref="{http://jboss.org}modified-strategy"/>
         <element ref="{http://jboss.org}read-strategy"/>
         <sequence>
           <choice>
             <element ref="{http://jboss.org}version-column"/>
             <element ref="{http://jboss.org}timestamp-column"/>
             <sequence>
               <element ref="{http://jboss.org}key-generator-factory"/>
               <element ref="{http://jboss.org}field-type"/>
             </sequence>
           </choice>
           <element ref="{http://jboss.org}field-name" minOccurs="0"/>
           <element ref="{http://jboss.org}column-name" minOccurs="0"/>
           <sequence minOccurs="0">
             <element ref="{http://jboss.org}jdbc-type"/>
             <element ref="{http://jboss.org}sql-type"/>
           </sequence>
         </sequence>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  ColumnName columnName
           
protected  FieldName fieldName
           
protected  FieldType fieldType
           
protected  GroupName groupName
           
protected  JdbcType jdbcType
           
protected  KeyGeneratorFactory keyGeneratorFactory
           
protected  ModifiedStrategy modifiedStrategy
           
protected  ReadStrategy readStrategy
           
protected  SqlType sqlType
           
protected  TimestampColumn timestampColumn
           
protected  VersionColumn versionColumn
           
 
Constructor Summary
OptimisticLocking()
           
 
Method Summary
 ColumnName getColumnName()
          Gets the value of the columnName property.
 FieldName getFieldName()
          Gets the value of the fieldName property.
 FieldType getFieldType()
          Gets the value of the fieldType property.
 GroupName getGroupName()
          Gets the value of the groupName property.
 JdbcType getJdbcType()
          Gets the value of the jdbcType property.
 KeyGeneratorFactory getKeyGeneratorFactory()
          Gets the value of the keyGeneratorFactory property.
 ModifiedStrategy getModifiedStrategy()
          Gets the value of the modifiedStrategy property.
 ReadStrategy getReadStrategy()
          Gets the value of the readStrategy property.
 SqlType getSqlType()
          Gets the value of the sqlType property.
 TimestampColumn getTimestampColumn()
          Gets the value of the timestampColumn property.
 VersionColumn getVersionColumn()
          Gets the value of the versionColumn property.
 void setColumnName(ColumnName value)
          Sets the value of the columnName property.
 void setFieldName(FieldName value)
          Sets the value of the fieldName property.
 void setFieldType(FieldType value)
          Sets the value of the fieldType property.
 void setGroupName(GroupName value)
          Sets the value of the groupName property.
 void setJdbcType(JdbcType value)
          Sets the value of the jdbcType property.
 void setKeyGeneratorFactory(KeyGeneratorFactory value)
          Sets the value of the keyGeneratorFactory property.
 void setModifiedStrategy(ModifiedStrategy value)
          Sets the value of the modifiedStrategy property.
 void setReadStrategy(ReadStrategy value)
          Sets the value of the readStrategy property.
 void setSqlType(SqlType value)
          Sets the value of the sqlType property.
 void setTimestampColumn(TimestampColumn value)
          Sets the value of the timestampColumn property.
 void setVersionColumn(VersionColumn value)
          Sets the value of the versionColumn property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

groupName

protected GroupName groupName

modifiedStrategy

protected ModifiedStrategy modifiedStrategy

readStrategy

protected ReadStrategy readStrategy

versionColumn

protected VersionColumn versionColumn

timestampColumn

protected TimestampColumn timestampColumn

keyGeneratorFactory

protected KeyGeneratorFactory keyGeneratorFactory

fieldType

protected FieldType fieldType

fieldName

protected FieldName fieldName

columnName

protected ColumnName columnName

jdbcType

protected JdbcType jdbcType

sqlType

protected SqlType sqlType
Constructor Detail

OptimisticLocking

public OptimisticLocking()
Method Detail

getGroupName

public GroupName getGroupName()
Gets the value of the groupName property.

Returns:
possible object is GroupName

setGroupName

public void setGroupName(GroupName value)
Sets the value of the groupName property.

Parameters:
value - allowed object is GroupName

getModifiedStrategy

public ModifiedStrategy getModifiedStrategy()
Gets the value of the modifiedStrategy property.

Returns:
possible object is ModifiedStrategy

setModifiedStrategy

public void setModifiedStrategy(ModifiedStrategy value)
Sets the value of the modifiedStrategy property.

Parameters:
value - allowed object is ModifiedStrategy

getReadStrategy

public ReadStrategy getReadStrategy()
Gets the value of the readStrategy property.

Returns:
possible object is ReadStrategy

setReadStrategy

public void setReadStrategy(ReadStrategy value)
Sets the value of the readStrategy property.

Parameters:
value - allowed object is ReadStrategy

getVersionColumn

public VersionColumn getVersionColumn()
Gets the value of the versionColumn property.

Returns:
possible object is VersionColumn

setVersionColumn

public void setVersionColumn(VersionColumn value)
Sets the value of the versionColumn property.

Parameters:
value - allowed object is VersionColumn

getTimestampColumn

public TimestampColumn getTimestampColumn()
Gets the value of the timestampColumn property.

Returns:
possible object is TimestampColumn

setTimestampColumn

public void setTimestampColumn(TimestampColumn value)
Sets the value of the timestampColumn property.

Parameters:
value - allowed object is TimestampColumn

getKeyGeneratorFactory

public KeyGeneratorFactory getKeyGeneratorFactory()
Gets the value of the keyGeneratorFactory property.

Returns:
possible object is KeyGeneratorFactory

setKeyGeneratorFactory

public void setKeyGeneratorFactory(KeyGeneratorFactory value)
Sets the value of the keyGeneratorFactory property.

Parameters:
value - allowed object is KeyGeneratorFactory

getFieldType

public FieldType getFieldType()
Gets the value of the fieldType property.

Returns:
possible object is FieldType

setFieldType

public void setFieldType(FieldType value)
Sets the value of the fieldType property.

Parameters:
value - allowed object is FieldType

getFieldName

public FieldName getFieldName()
Gets the value of the fieldName property.

Returns:
possible object is FieldName

setFieldName

public void setFieldName(FieldName value)
Sets the value of the fieldName property.

Parameters:
value - allowed object is FieldName

getColumnName

public ColumnName getColumnName()
Gets the value of the columnName property.

Returns:
possible object is ColumnName

setColumnName

public void setColumnName(ColumnName value)
Sets the value of the columnName property.

Parameters:
value - allowed object is ColumnName

getJdbcType

public JdbcType getJdbcType()
Gets the value of the jdbcType property.

Returns:
possible object is JdbcType

setJdbcType

public void setJdbcType(JdbcType value)
Sets the value of the jdbcType property.

Parameters:
value - allowed object is JdbcType

getSqlType

public SqlType getSqlType()
Gets the value of the sqlType property.

Returns:
possible object is SqlType

setSqlType

public void setSqlType(SqlType value)
Sets the value of the sqlType property.

Parameters:
value - allowed object is SqlType


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.