Package biz.onixs.cme.stp.handler
Enum RestructuringType
- java.lang.Object
-
- java.lang.Enum<RestructuringType>
-
- biz.onixs.cme.stp.handler.RestructuringType
-
- All Implemented Interfaces:
Serializable,Comparable<RestructuringType>
public enum RestructuringType extends Enum<RestructuringType>
A category of CDS credit event in which the underlying bond experiences a restructuring. Used to define a CDS instrument.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FullRestructuringModifiedModRestructuringModifiedModRestructuring2014ModifiedRestructuringNoneNoRestructuringSpecifiedNoRestructuringSpecified2014
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RestructuringTypeforValue(String value)Returns enum value for the string representationStringgetValue()Gets current value.static RestructuringTypevalueOf(String name)Returns the enum constant of this type with the specified name.static RestructuringType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final RestructuringType None
-
FullRestructuring
public static final RestructuringType FullRestructuring
-
ModifiedModRestructuring
public static final RestructuringType ModifiedModRestructuring
-
ModifiedModRestructuring2014
public static final RestructuringType ModifiedModRestructuring2014
-
ModifiedRestructuring
public static final RestructuringType ModifiedRestructuring
-
NoRestructuringSpecified
public static final RestructuringType NoRestructuringSpecified
-
NoRestructuringSpecified2014
public static final RestructuringType NoRestructuringSpecified2014
-
-
Method Detail
-
values
public static RestructuringType[] 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 (RestructuringType c : RestructuringType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RestructuringType 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 nameNullPointerException- if the argument is null
-
getValue
public String getValue()
Gets current value.- Returns:
- current value.
-
forValue
public static RestructuringType forValue(String value)
Returns enum value for the string representation- Parameters:
value- value- Returns:
- value.
-
-