public class TsoDisconnectedGenerator 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 |
---|
TsoDisconnectedGenerator(String contingencyId,
Map<String,Float> disconnectedGenerators) |
Modifier and Type | Method and Description |
---|---|
static TsoDisconnectedGenerator |
fromXml(String contingencyId,
XMLStreamReader xmlsr) |
Map<String,Float> |
getDisconnectedGenerators() |
SecurityIndexId |
getId()
Get security index id.
|
boolean |
isOk()
Get the security index synthetic value.
|
Map<String,String> |
toMap() |
String |
toString() |
String |
toXml() |
protected void |
toXml(XMLStreamWriter xmlWriter) |
protected static final com.google.common.base.Supplier<XMLOutputFactory> XML_OUTPUT_FACTORY_SUPPLIER
protected final SecurityIndexId id
public static TsoDisconnectedGenerator 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.