Class GridContainer
java.lang.Object
edu.ie3.datamodel.models.input.container.GridContainer
- All Implemented Interfaces:
InputContainer<InputEntity>
,Serializable
- Direct Known Subclasses:
JointGridContainer
,SubGridContainer
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final GraphicElements
Accumulated graphic data entities (node graphics, line graphics)protected final String
Name of this gridprotected final RawGridElements
Accumulated raw grid elements (lines, nodes, transformers, switches)protected final SystemParticipants
Accumulated system participant elements -
Constructor Summary
ModifierConstructorDescriptionprotected
GridContainer
(String gridName, RawGridElements rawGrid, SystemParticipants systemParticipants, GraphicElements graphics) -
Method Summary
-
Field Details
-
gridName
Name of this grid -
rawGrid
Accumulated raw grid elements (lines, nodes, transformers, switches) -
systemParticipants
Accumulated system participant elements -
graphics
Accumulated graphic data entities (node graphics, line graphics)
-
-
Constructor Details
-
GridContainer
protected GridContainer(String gridName, RawGridElements rawGrid, SystemParticipants systemParticipants, GraphicElements graphics)
-
-
Method Details
-
allEntitiesAsList
- Specified by:
allEntitiesAsList
in interfaceInputContainer<InputEntity>
- Returns:
- unmodifiable List of all entities
-
getGridName
- Returns:
- true, as we are positive people and believe in what we do. Just kidding. Checks are made during initialisation.
-
getRawGrid
-
getSystemParticipants
-
getGraphics
-
equals
-
hashCode
public int hashCode() -
toString
-