Package biz.onixs.cme.stp.handler
Enum DeliveryRestriction
- java.lang.Object
-
- java.lang.Enum<DeliveryRestriction>
-
- biz.onixs.cme.stp.handler.DeliveryRestriction
-
- All Implemented Interfaces:
Serializable,Comparable<DeliveryRestriction>
public enum DeliveryRestriction extends Enum<DeliveryRestriction>
Specifies the commodity delivery flow type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FirmFirm (Never excused of delivery obligations).FirmWithLiquidatingDamagesFirm with Liquidating Damages.ForceMajeureForce majeure (Excused when prevented by force majeure).InterruptibleInterruptible or non-firm (Excused when interrupted for any reason or for no reason without liability).NoneDefault value.SystemFirmSystem firm (Must be supplied from the owned or controlled generation or pre-existing purchased power assets of the system specified).UnitFirmUnit firm (Must be supplied from the generation asset specified).WsppScheduleCFirmWithLiquidatingDamagesWSPP Schedule C Firm with Liquidating Damages.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeliveryRestrictionforValue(int value)Returns enum value for the int representationintgetValue()Gets current value.static DeliveryRestrictionvalueOf(String name)Returns the enum constant of this type with the specified name.static DeliveryRestriction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final DeliveryRestriction None
Default value. Do not use it directly.
-
Firm
public static final DeliveryRestriction Firm
Firm (Never excused of delivery obligations).
-
Interruptible
public static final DeliveryRestriction Interruptible
Interruptible or non-firm (Excused when interrupted for any reason or for no reason without liability).
-
ForceMajeure
public static final DeliveryRestriction ForceMajeure
Force majeure (Excused when prevented by force majeure).
-
SystemFirm
public static final DeliveryRestriction SystemFirm
System firm (Must be supplied from the owned or controlled generation or pre-existing purchased power assets of the system specified).
-
UnitFirm
public static final DeliveryRestriction UnitFirm
Unit firm (Must be supplied from the generation asset specified).
-
FirmWithLiquidatingDamages
public static final DeliveryRestriction FirmWithLiquidatingDamages
Firm with Liquidating Damages.
-
WsppScheduleCFirmWithLiquidatingDamages
public static final DeliveryRestriction WsppScheduleCFirmWithLiquidatingDamages
WSPP Schedule C Firm with Liquidating Damages.
-
-
Method Detail
-
values
public static DeliveryRestriction[] 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 (DeliveryRestriction c : DeliveryRestriction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeliveryRestriction 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 int getValue()
Gets current value.- Returns:
- current value.
-
forValue
public static DeliveryRestriction forValue(int value)
Returns enum value for the int representation- Parameters:
value- value- Returns:
- value.
-
-