Package com.powsybl.psse.model
Enum PsseVersion.Major
- java.lang.Object
-
- java.lang.Enum<PsseVersion.Major>
-
- com.powsybl.psse.model.PsseVersion.Major
-
- All Implemented Interfaces:
Serializable
,Comparable<PsseVersion.Major>
- Enclosing class:
- PsseVersion
public static enum PsseVersion.Major extends Enum<PsseVersion.Major>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PsseVersion.Major
valueOf(String name)
Returns the enum constant of this type with the specified name.static PsseVersion.Major[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V32
public static final PsseVersion.Major V32
-
V33
public static final PsseVersion.Major V33
-
V35
public static final PsseVersion.Major V35
-
-
Method Detail
-
values
public static PsseVersion.Major[] 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 (PsseVersion.Major c : PsseVersion.Major.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PsseVersion.Major 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
-
-