com.opencloud.slee.resources.mm7
Enum SubmitRequest.ChargedParty

java.lang.Object
  extended by java.lang.Enum<SubmitRequest.ChargedParty>
      extended by com.opencloud.slee.resources.mm7.SubmitRequest.ChargedParty
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SubmitRequest.ChargedParty>
Enclosing interface:
SubmitRequest

public static enum SubmitRequest.ChargedParty
extends java.lang.Enum<SubmitRequest.ChargedParty>

Enum for Submit 'charged party' values.


Enum Constant Summary
BOTH
           
NEITHER
           
RECIPIENT
           
SENDER
           
THIRD_PARTY
           
 
Method Summary
static SubmitRequest.ChargedParty fromString(java.lang.String party)
          Convert a string representation of a 'charged party' to a singleton ChargedParty object.
 java.lang.String toString()
           
static SubmitRequest.ChargedParty valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SubmitRequest.ChargedParty[] 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

SENDER

public static final SubmitRequest.ChargedParty SENDER

RECIPIENT

public static final SubmitRequest.ChargedParty RECIPIENT

BOTH

public static final SubmitRequest.ChargedParty BOTH

NEITHER

public static final SubmitRequest.ChargedParty NEITHER

THIRD_PARTY

public static final SubmitRequest.ChargedParty THIRD_PARTY
Since:
MM7 v. 6.5.0
Method Detail

values

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

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

valueOf

public static SubmitRequest.ChargedParty 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

fromString

public static SubmitRequest.ChargedParty fromString(java.lang.String party)
Convert a string representation of a 'charged party' to a singleton ChargedParty object.

Parameters:
party - a string returned by toString()
Returns:
the appropriate singleton object
Throws:
java.lang.IllegalArgumentException - if party is not a recognized charged party string

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<SubmitRequest.ChargedParty>