GigaSpaces XAP 9.1 API

org.openspaces.core
Enum TakeByIdsException.TakeByIdResult.TakeByIdResultType

java.lang.Object
  extended by java.lang.Enum<TakeByIdsException.TakeByIdResult.TakeByIdResultType>
      extended by org.openspaces.core.TakeByIdsException.TakeByIdResult.TakeByIdResultType
All Implemented Interfaces:
Serializable, Comparable<TakeByIdsException.TakeByIdResult.TakeByIdResultType>
Enclosing class:
TakeByIdsException.TakeByIdResult

public static enum TakeByIdsException.TakeByIdResult.TakeByIdResultType
extends Enum<TakeByIdsException.TakeByIdResult.TakeByIdResultType>

Determines the result type of a take by id operation result.

Since:
7.1.1
Author:
idan

Enum Constant Summary
ERROR
          Operation failed - result contains the exception that caused the failure.
NOT_FOUND
          Operation succeeded - there's no object matching the corresponded Id.
OBJECT
          Operation succeeded - result contains the object matching the corresponded Id.
 
Method Summary
static TakeByIdsException.TakeByIdResult.TakeByIdResultType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TakeByIdsException.TakeByIdResult.TakeByIdResultType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ERROR

public static final TakeByIdsException.TakeByIdResult.TakeByIdResultType ERROR
Operation failed - result contains the exception that caused the failure.


OBJECT

public static final TakeByIdsException.TakeByIdResult.TakeByIdResultType OBJECT
Operation succeeded - result contains the object matching the corresponded Id.


NOT_FOUND

public static final TakeByIdsException.TakeByIdResult.TakeByIdResultType NOT_FOUND
Operation succeeded - there's no object matching the corresponded Id.

Method Detail

values

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

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

valueOf

public static TakeByIdsException.TakeByIdResult.TakeByIdResultType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

GigaSpaces XAP 9.1 API

Copyright © GigaSpaces.