Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.0

E18767-01


com.bea.wcp.diameter.accounting
Enum RecordType

java.lang.Object
  extended by java.lang.Enum<RecordType>
      extended by com.bea.wcp.diameter.accounting.RecordType

All Implemented Interfaces:
Enumerated, java.io.Serializable, java.lang.Comparable<RecordType>

public enum RecordType
extends java.lang.Enum<RecordType>
implements Enumerated

Accounting record type values for Accounting-Record-Type AVP.


Enum Constant Summary
EVENT
           
INTERIM
           
START
           
STOP
           

 

Method Summary
 int intValue()
          Returns the AVP integer value for this RecordType.
static RecordType valueOf(int n)
          Returns the RecordType corresponding to the specified AVP integer value, or null if none.
static RecordType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RecordType[] 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

EVENT

public static final RecordType EVENT

START

public static final RecordType START

INTERIM

public static final RecordType INTERIM

STOP

public static final RecordType STOP

Method Detail

values

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

valueOf

public static RecordType 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
java.lang.NullPointerException - if the argument is null

intValue

public int intValue()
Returns the AVP integer value for this RecordType.
Specified by:
intValue in interface Enumerated

valueOf

public static RecordType valueOf(int n)
Returns the RecordType corresponding to the specified AVP integer value, or null if none.

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.0

E18767-01


Copyright © 2005, 2010, Oracle and/or its affiliates. All rights reserved.