org.weda.store
Enum ObjectSource.Mode

java.lang.Object
  extended by java.lang.Enum<ObjectSource.Mode>
      extended by org.weda.store.ObjectSource.Mode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ObjectSource.Mode>
Enclosing interface:
ObjectSource

public static enum ObjectSource.Mode
extends java.lang.Enum<ObjectSource.Mode>


Enum Constant Summary
CLOSED
          Означает что, источник данных закрыт.
EDIT
          Режим в котором осуществляется модификация выделенных строк.
SELECT
          Режим в котором источник данных должен выбрать строку и вернуть ее вызываемому компоненту.
VIEW
          Нормальный режим работы источника данных.
 
Method Summary
static ObjectSource.Mode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ObjectSource.Mode[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CLOSED

public static final ObjectSource.Mode CLOSED
Означает что, источник данных закрыт. Для его открытия необходимо воспользоваться одним из методов.


VIEW

public static final ObjectSource.Mode VIEW
Нормальный режим работы источника данных.


SELECT

public static final ObjectSource.Mode SELECT
Режим в котором источник данных должен выбрать строку и вернуть ее вызываемому компоненту.


EDIT

public static final ObjectSource.Mode EDIT
Режим в котором осуществляется модификация выделенных строк.

Method Detail

values

public static final ObjectSource.Mode[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ObjectSource.Mode c : ObjectSource.Mode.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ObjectSource.Mode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2005-2006 . All Rights Reserved.