Interface SubstationPositionAdder
-
- All Superinterfaces:
ExtensionAdder<Substation,SubstationPosition>
- All Known Implementing Classes:
SubstationPositionAdderImpl
public interface SubstationPositionAdder extends ExtensionAdder<Substation,SubstationPosition>
- Author:
- Geoffroy Jamgotchian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Class<SubstationPosition>
getExtensionClass()
Returns the class of the extension.SubstationPositionAdder
withCoordinate(Coordinate coordinate)
-
Methods inherited from interface com.powsybl.commons.extensions.ExtensionAdder
add
-
-
-
-
Method Detail
-
getExtensionClass
default Class<SubstationPosition> getExtensionClass()
Description copied from interface:ExtensionAdder
Returns the class of the extension. This is expected to be an interface so that multiple implementors can implement the same extensions. This will be the key at which the extension is added on the extendable. This is meant to be implemented by adder interfaces but not by adder implementations.- Specified by:
getExtensionClass
in interfaceExtensionAdder<Substation,SubstationPosition>
- Returns:
- the interface of the extension
-
withCoordinate
SubstationPositionAdder withCoordinate(Coordinate coordinate)
-
-