Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.xcap.client
Enum XcapRequest.Operation

java.lang.Object
  extended by java.lang.Enum<XcapRequest.Operation>
      extended by com.oracle.sft.xcap.client.XcapRequest.Operation

All Implemented Interfaces:
Serializable, Comparable<XcapRequest.Operation>
Enclosing interface:
XcapRequest

public static enum XcapRequest.Operation
extends Enum<XcapRequest.Operation>

The XCAP method to be performed.


Enum Constant Summary
DELETE
          The operation to delete a resource.
FETCH
          The operation to fetch a resource.
SYNC
          The operation to create or replace a resource.

 

Method Summary
 String toString()
          Generate string of the operation.
static XcapRequest.Operation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XcapRequest.Operation[] 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, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

SYNC

public static final XcapRequest.Operation SYNC
The operation to create or replace a resource.

DELETE

public static final XcapRequest.Operation DELETE
The operation to delete a resource.

FETCH

public static final XcapRequest.Operation FETCH
The operation to fetch a resource.

Method Detail

values

public static XcapRequest.Operation[] 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 (XcapRequest.Operation c : XcapRequest.Operation.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XcapRequest.Operation 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

toString

public String toString()
Generate string of the operation.
Overrides:
toString in class Enum<XcapRequest.Operation>
Returns:
SYNC: Operation[create or replace], DELETE: Operation[delete], FETCH: Operation[fetch]

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.