public class SmallSignalSecurityIndex extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SmallSignalSecurityIndex.Index |
static class |
SmallSignalSecurityIndex.Matrix |
static class |
SmallSignalSecurityIndex.MatrixAdapter |
Modifier and Type | Field and Description |
---|---|
protected SecurityIndexId |
id |
protected static com.google.common.base.Supplier<XMLOutputFactory> |
XML_OUTPUT_FACTORY_SUPPLIER |
Constructor and Description |
---|
SmallSignalSecurityIndex(String contingencyId,
double gmi) |
SmallSignalSecurityIndex(String contingencyId,
double gmi,
double[] ami,
double[][] smi) |
Modifier and Type | Method and Description |
---|---|
static SmallSignalSecurityIndex |
fromXml(String contingencyId,
XMLStreamReader xmlsr) |
double[] |
getAmi() |
double |
getGmi() |
SecurityIndexId |
getId()
Get security index id.
|
double[][] |
getSmi() |
boolean |
isOk()
Get the security index synthetic value.
|
Map<String,String> |
toMap() |
String |
toString() |
String |
toXml() |
static void |
toXml(SmallSignalSecurityIndex index,
XMLStreamWriter writer) |
void |
toXml(XMLStreamWriter xmlWriter) |
protected static final com.google.common.base.Supplier<XMLOutputFactory> XML_OUTPUT_FACTORY_SUPPLIER
protected final SecurityIndexId id
public SmallSignalSecurityIndex(String contingencyId, double gmi, double[] ami, double[][] smi)
public SmallSignalSecurityIndex(String contingencyId, double gmi)
public static SmallSignalSecurityIndex fromXml(String contingencyId, XMLStreamReader xmlsr)
public double getGmi()
public double[] getAmi()
public double[][] getSmi()
public boolean isOk()
SecurityIndex
public static void toXml(SmallSignalSecurityIndex index, XMLStreamWriter writer) throws JAXBException
JAXBException
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.