org.outerj.daisy.repository
Class LockType

java.lang.Object
  extended byorg.outerj.daisy.repository.LockType

public class LockType
extends java.lang.Object

Enumeration of the available lock types.


Field Summary
static LockType PESSIMISTIC
           
static LockType WARN
           
 
Method Summary
static LockType fromString(java.lang.String lockTypeString)
           
static LockType getByCode(java.lang.String code)
           
 java.lang.String getCode()
          A short (one-letter) unique code representing this lock type.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WARN

public static final LockType WARN

PESSIMISTIC

public static final LockType PESSIMISTIC
Method Detail

toString

public java.lang.String toString()

getCode

public java.lang.String getCode()
A short (one-letter) unique code representing this lock type.


getByCode

public static LockType getByCode(java.lang.String code)

fromString

public static LockType fromString(java.lang.String lockTypeString)


Copyright © -2005 . All Rights Reserved.