Package com.powsybl.commons.extensions
Class AbstractExtension<T>
- java.lang.Object
-
- com.powsybl.commons.extensions.AbstractExtension<T>
-
- All Implemented Interfaces:
Extension<T>
- Direct Known Subclasses:
AbstractMultiVariantIdentifiableExtension
,AbstractPrecontingencyValueExtension
,ActivePowerControlImpl
,BusbarSectionExt
,CgmesConversionContextExtensionImpl
,CgmesModelExtensionImpl
,CoordinatedReactiveControlImpl
,EntsoeAreaImpl
,HvdcAngleDroopActivePowerControlImpl
,HvdcOperatorActivePowerRangeImpl
,LoadBarExt
,LoadFooExt
,LoadMockExt
,LoadQuxExt
,LoadZipModel
,MergedXnodeImpl
,RemoteReactivePowerControlImpl
,TerminalMockExt
,ThreeWindingsTransformerPhaseAngleClockimpl
,TwoWindingsTransformerPhaseAngleClockImpl
,VoltagePerReactivePowerControlImpl
,XnodeImpl
public abstract class AbstractExtension<T> extends Object implements Extension<T>
- Author:
- Mathieu Bague
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractExtension()
protected
AbstractExtension(T extendable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getExtendable()
Return the holder of this extensionvoid
setExtendable(T extendable)
Set the holder of this extension.
-
-
-
Constructor Detail
-
AbstractExtension
protected AbstractExtension()
-
AbstractExtension
protected AbstractExtension(T extendable)
-
-
Method Detail
-
getExtendable
public T getExtendable()
Description copied from interface:Extension
Return the holder of this extension- Specified by:
getExtendable
in interfaceExtension<T>
- Returns:
- the holder of this extension or null if this extension is not holded
-
setExtendable
public void setExtendable(T extendable)
Description copied from interface:Extension
Set the holder of this extension.- Specified by:
setExtendable
in interfaceExtension<T>
- Parameters:
extendable
- The new holder of this extension, could be null
-
-