public class TsoUndervoltageSecurityIndex extends Object
Modifier and Type | Field and Description |
---|---|
protected SecurityIndexId |
id |
protected static com.google.common.base.Supplier<XMLOutputFactory> |
XML_OUTPUT_FACTORY_SUPPLIER |
Constructor and Description |
---|
TsoUndervoltageSecurityIndex(String contingencyId,
int undervoltageCount) |
TsoUndervoltageSecurityIndex(String contingencyId,
int undervoltageCount,
boolean computationSucceed) |
Modifier and Type | Method and Description |
---|---|
static TsoUndervoltageSecurityIndex |
fromXml(String contingencyId,
XMLStreamReader xmlsr) |
SecurityIndexId |
getId()
Get security index id.
|
int |
getUndervoltageCount() |
boolean |
isComputationSucceed() |
boolean |
isOk()
Get the security index synthetic value.
|
Map<String,String> |
toMap() |
String |
toString() |
String |
toXml() |
void |
toXml(XMLStreamWriter xmlWriter) |
protected static final com.google.common.base.Supplier<XMLOutputFactory> XML_OUTPUT_FACTORY_SUPPLIER
protected final SecurityIndexId id
public TsoUndervoltageSecurityIndex(String contingencyId, int undervoltageCount)
public TsoUndervoltageSecurityIndex(String contingencyId, int undervoltageCount, boolean computationSucceed)
public static TsoUndervoltageSecurityIndex fromXml(String contingencyId, XMLStreamReader xmlsr) throws XMLStreamException
XMLStreamException
public boolean isComputationSucceed()
public int getUndervoltageCount()
public boolean isOk()
SecurityIndex
public void toXml(XMLStreamWriter xmlWriter) throws XMLStreamException
XMLStreamException
public SecurityIndexId getId()
SecurityIndex
getId
in interface SecurityIndex
public String toXml()
toXml
in interface SecurityIndex
Copyright © 2020. All rights reserved.