Interface LinePositionAdder<T extends Identifiable<T>>
-
- All Superinterfaces:
ExtensionAdder<T,LinePosition<T>>
- All Known Implementing Classes:
LinePositionAdderImpl
public interface LinePositionAdder<T extends Identifiable<T>> extends ExtensionAdder<T,LinePosition<T>>
- Author:
- Geoffroy Jamgotchian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Class<LinePosition>
getExtensionClass()
Returns the class of the extension.LinePositionAdder<T>
withCoordinates(List<Coordinate> coordinates)
-
Methods inherited from interface com.powsybl.commons.extensions.ExtensionAdder
add
-
-
-
-
Method Detail
-
getExtensionClass
default Class<LinePosition> 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<T extends Identifiable<T>,LinePosition<T extends Identifiable<T>>>
- Returns:
- the interface of the extension
-
withCoordinates
LinePositionAdder<T> withCoordinates(List<Coordinate> coordinates)
-
-