Class SecurityIndexId
- java.lang.Object
-
- com.powsybl.simulation.securityindexes.SecurityIndexId
-
- All Implemented Interfaces:
Serializable
,Comparable<SecurityIndexId>
public class SecurityIndexId extends Object implements Serializable, Comparable<SecurityIndexId>
- Author:
- Geoffroy Jamgotchian
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
SECURITY_INDEX_SEPARATOR
static String
SIMULATION_PREFIX
-
Constructor Summary
Constructors Constructor Description SecurityIndexId(String contingencyId, SecurityIndexType securityIndexType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(SecurityIndexId o)
boolean
equals(Object obj)
static SecurityIndexId
fromString(String str)
String
getContingencyId()
SecurityIndexType
getSecurityIndexType()
int
hashCode()
String
toString()
static String
toString(String contingencyId, SecurityIndexType securityIndexType)
-
-
-
Field Detail
-
SIMULATION_PREFIX
public static final String SIMULATION_PREFIX
- See Also:
- Constant Field Values
-
SECURITY_INDEX_SEPARATOR
public static final String SECURITY_INDEX_SEPARATOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SecurityIndexId
public SecurityIndexId(String contingencyId, SecurityIndexType securityIndexType)
-
-
Method Detail
-
getContingencyId
public String getContingencyId()
-
getSecurityIndexType
public SecurityIndexType getSecurityIndexType()
-
toString
public static String toString(String contingencyId, SecurityIndexType securityIndexType)
-
fromString
public static SecurityIndexId fromString(String str)
-
compareTo
public int compareTo(SecurityIndexId o)
- Specified by:
compareTo
in interfaceComparable<SecurityIndexId>
-
-