Enum NetworkElementIdentifier.IdentifierType
- java.lang.Object
-
- java.lang.Enum<NetworkElementIdentifier.IdentifierType>
-
- com.powsybl.contingency.contingency.list.identifier.NetworkElementIdentifier.IdentifierType
-
- All Implemented Interfaces:
Serializable
,Comparable<NetworkElementIdentifier.IdentifierType>
- Enclosing interface:
- NetworkElementIdentifier
public static enum NetworkElementIdentifier.IdentifierType extends Enum<NetworkElementIdentifier.IdentifierType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ID_BASED
LIST
VOLTAGE_LEVELS_AND_ORDER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NetworkElementIdentifier.IdentifierType
valueOf(String name)
Returns the enum constant of this type with the specified name.static NetworkElementIdentifier.IdentifierType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID_BASED
public static final NetworkElementIdentifier.IdentifierType ID_BASED
-
VOLTAGE_LEVELS_AND_ORDER
public static final NetworkElementIdentifier.IdentifierType VOLTAGE_LEVELS_AND_ORDER
-
LIST
public static final NetworkElementIdentifier.IdentifierType LIST
-
-
Method Detail
-
values
public static NetworkElementIdentifier.IdentifierType[] 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 (NetworkElementIdentifier.IdentifierType c : NetworkElementIdentifier.IdentifierType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NetworkElementIdentifier.IdentifierType 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
-
-