public class TsoGeneratorSpeedAutomaton extends AbstractTsoGeneratorAutomaton
Modifier and Type | Field and Description |
---|---|
protected SecurityIndexId |
id |
protected static com.google.common.base.Supplier<XMLOutputFactory> |
XML_OUTPUT_FACTORY_SUPPLIER |
GEN, INDEX, NAME
Constructor and Description |
---|
TsoGeneratorSpeedAutomaton(String contingencyId,
List<String> onUnderSpeedDiconnectedGenerators,
List<String> onOverSpeedDiconnectedGenerators) |
Modifier and Type | Method and Description |
---|---|
static TsoGeneratorSpeedAutomaton |
fromXml(String contingencyId,
XMLStreamReader xmlsr) |
SecurityIndexId |
getId()
Get security index id.
|
List<String> |
getOnOverSpeedDiconnectedGenerators() |
List<String> |
getOnUnderSpeedDiconnectedGenerators() |
boolean |
isOk()
Get the security index synthetic value.
|
Map<String,String> |
toMap() |
String |
toString() |
String |
toXml() |
protected void |
toXml(XMLStreamWriter xmlWriter) |
toXml
protected static final com.google.common.base.Supplier<XMLOutputFactory> XML_OUTPUT_FACTORY_SUPPLIER
protected final SecurityIndexId id
public static TsoGeneratorSpeedAutomaton fromXml(String contingencyId, XMLStreamReader xmlsr) throws XMLStreamException
XMLStreamException
public boolean isOk()
SecurityIndex
protected 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.