org.plasma.provisioning
Enum ConcurrencyType

java.lang.Object
  extended by java.lang.Enum<ConcurrencyType>
      extended by org.plasma.provisioning.ConcurrencyType
All Implemented Interfaces:
Serializable, Comparable<ConcurrencyType>

public enum ConcurrencyType
extends Enum<ConcurrencyType>

Java class for ConcurrencyType.

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

 <simpleType name="ConcurrencyType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="optimistic"/>
     <enumeration value="pessimistic"/>
     <enumeration value="origination"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
OPTIMISTIC
          Indicates a UML Property stores information related optimistic concurrency for its containing UML Class and participates in optimistic concurrency control operations and strategies.
ORIGINATION
          Indicates a UML Property stores origination information for its containing UML Class.
PESSIMISTIC
          Indicates a UML Property stores information related to a pessimistic concurrency control strategy (often termed locking) and participates in pessimistic concurrency control operations.
 
Method Summary
static ConcurrencyType fromValue(String v)
           
 String value()
           
static ConcurrencyType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConcurrencyType[] 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

OPTIMISTIC

public static final ConcurrencyType OPTIMISTIC
Indicates a UML Property stores information related optimistic concurrency for its containing UML Class and participates in optimistic concurrency control operations and strategies. Informs SDO Data Access Services performing optimistic concurrency control checks and operations.


PESSIMISTIC

public static final ConcurrencyType PESSIMISTIC
Indicates a UML Property stores information related to a pessimistic concurrency control strategy (often termed locking) and participates in pessimistic concurrency control operations. Informs SDO Data Access Services performing pessimistic concurrency control checks and operations.


ORIGINATION

public static final ConcurrencyType ORIGINATION
Indicates a UML Property stores origination information for its containing UML Class. Informs Data Access Services (DAS) performing concurrent operations involving origination.

Method Detail

values

public static ConcurrencyType[] 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 (ConcurrencyType c : ConcurrencyType.values())
    System.out.println(c);

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

valueOf

public static ConcurrencyType 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

value

public String value()

fromValue

public static ConcurrencyType fromValue(String v)


Copyright © 2014. All rights reserved.