Package com.powsybl.cgmes.model
Enum CgmesSubset
- java.lang.Object
-
- java.lang.Enum<CgmesSubset>
-
- com.powsybl.cgmes.model.CgmesSubset
-
- All Implemented Interfaces:
Serializable
,Comparable<CgmesSubset>
public enum CgmesSubset extends Enum<CgmesSubset>
- Author:
- Luma ZamarreƱo
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIAGRAM_LAYOUT
DYNAMIC
EQUIPMENT
EQUIPMENT_BOUNDARY
GEOGRAPHICAL_LOCATION
STATE_VARIABLES
STEADY_STATE_HYPOTHESIS
TOPOLOGY
TOPOLOGY_BOUNDARY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIdentifier()
Get the identifier of a subsetString
getProfile()
boolean
isValidName(String contextName)
static CgmesSubset
valueOf(String name)
Returns the enum constant of this type with the specified name.static CgmesSubset[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUIPMENT
public static final CgmesSubset EQUIPMENT
-
TOPOLOGY
public static final CgmesSubset TOPOLOGY
-
STATE_VARIABLES
public static final CgmesSubset STATE_VARIABLES
-
STEADY_STATE_HYPOTHESIS
public static final CgmesSubset STEADY_STATE_HYPOTHESIS
-
DYNAMIC
public static final CgmesSubset DYNAMIC
-
DIAGRAM_LAYOUT
public static final CgmesSubset DIAGRAM_LAYOUT
-
GEOGRAPHICAL_LOCATION
public static final CgmesSubset GEOGRAPHICAL_LOCATION
-
EQUIPMENT_BOUNDARY
public static final CgmesSubset EQUIPMENT_BOUNDARY
-
TOPOLOGY_BOUNDARY
public static final CgmesSubset TOPOLOGY_BOUNDARY
-
-
Method Detail
-
values
public static CgmesSubset[] 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 (CgmesSubset c : CgmesSubset.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CgmesSubset 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
-
getIdentifier
public String getIdentifier()
Get the identifier of a subset
-
getProfile
public String getProfile()
-
isValidName
public boolean isValidName(String contextName)
-
-