Package com.powsybl.timeseries.ast
Class AbstractMinMaxNodeCalc
- java.lang.Object
-
- com.powsybl.timeseries.ast.AbstractMinMaxNodeCalc
-
- All Implemented Interfaces:
NodeCalc
- Direct Known Subclasses:
MaxNodeCalc
,MinNodeCalc
public abstract class AbstractMinMaxNodeCalc extends Object implements NodeCalc
- Author:
- Geoffroy Jamgotchian
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
AbstractMinMaxNodeCalc.ParsingContext
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractMinMaxNodeCalc(NodeCalc child, double value)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description NodeCalc
getChild()
protected abstract String
getJsonName()
protected static AbstractMinMaxNodeCalc.ParsingContext
parseJson2(com.fasterxml.jackson.core.JsonParser parser)
void
setChild(NodeCalc child)
void
writeJson(com.fasterxml.jackson.core.JsonGenerator generator)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.powsybl.timeseries.ast.NodeCalc
accept, acceptHandle, acceptIterate
-
-
-
-
Field Detail
-
child
protected NodeCalc child
-
value
protected final double value
-
-
Constructor Detail
-
AbstractMinMaxNodeCalc
protected AbstractMinMaxNodeCalc(NodeCalc child, double value)
-
-
Method Detail
-
getChild
public NodeCalc getChild()
-
setChild
public void setChild(NodeCalc child)
-
getJsonName
protected abstract String getJsonName()
-
writeJson
public void writeJson(com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
- Specified by:
writeJson
in interfaceNodeCalc
- Throws:
IOException
-
parseJson2
protected static AbstractMinMaxNodeCalc.ParsingContext parseJson2(com.fasterxml.jackson.core.JsonParser parser) throws IOException
- Throws:
IOException
-
-