From 5d410acbc57f6415d05783a09655276157766821 Mon Sep 17 00:00:00 2001 From: miovd Date: Tue, 4 Jan 2022 10:57:01 +0100 Subject: [PATCH] Correct typo getExtensionsName() into getExtensionName() in ExtensionAdderProvider (#1932) Signed-off-by: VEDELAGO MIORA --- .../CgmesConversionContextExtensionAdderImplProvider.java | 2 +- .../conversion/CgmesModelExtensionAdderImplProvider.java | 2 +- .../extensions/CgmesControlAreasAdderImplProvider.java | 2 +- .../CgmesDanglingLineBoundaryNodeAdderImplProvider.java | 2 +- .../extensions/CgmesIidmMappingAdderImplProvider.java | 2 +- .../CgmesLineBoundaryNodeAdderImplProvider.java | 2 +- .../extensions/CgmesSshMetadataAdderImplProvider.java | 2 +- .../extensions/CgmesSvMetadataAdderImplProvider.java | 2 +- .../extensions/CgmesTapChangersAdderImplProvider.java | 2 +- .../extensions/CimCharacteristicsAdderImplProvider.java | 2 +- .../commons/extensions/ExtensionAdderProvider.java | 2 +- .../commons/extensions/ExtensionAdderProviders.java | 2 +- .../commons/extensions/ExtensionAdderProvidersTest.java | 8 ++++---- .../powsybl/entsoe/util/EntsoeAreaAdderImplProvider.java | 2 +- .../powsybl/entsoe/util/MergedXnodeAdderImplProvider.java | 2 +- .../com/powsybl/entsoe/util/XnodeAdderImplProvider.java | 2 +- .../extensions/ActivePowerControlAdderImplProvider.java | 2 +- .../extensions/BranchObservabilityAdderImplProvider.java | 2 +- .../CoordinatedReactiveControlAdderImplProvider.java | 2 +- .../extensions/DiscreteMeasurementsAdderImplProvider.java | 2 +- .../GeneratorEntsoeCategoryAdderImplProvider.java | 2 +- .../GeneratorShortCircuitAdderImplProvider.java | 2 +- ...HvdcAngleDroopActivePowerControlAdderImplProvider.java | 2 +- .../HvdcOperatorActivePowerRangeAdderImplProvider.java | 2 +- .../IdentifiableShortCircuitAdderImplProvider.java | 2 +- .../InjectionObservabilityAdderImplProvider.java | 2 +- .../impl/extensions/LoadDetailAdderImplProvider.java | 2 +- .../impl/extensions/MeasurementsAdderImplProvider.java | 2 +- .../RemoteReactivePowerControlAdderImplProvider.java | 2 +- .../impl/extensions/SlackTerminalAdderImplProvider.java | 2 +- ...ndingsTransformerPhaseAngleClockAdderImplProvider.java | 2 +- ...WindingsTransformerToBeEstimatedAdderImplProvider.java | 2 +- ...ndingsTransformerPhaseAngleClockAdderImplProvider.java | 2 +- ...WindingsTransformerToBeEstimatedAdderImplProvider.java | 2 +- .../VoltagePerReactivePowerControlAdderImplProvider.java | 2 +- .../scripting/IdentifiableExtensionGroovyTest.groovy | 2 +- .../PsseConversionContextExtensionAdderImplProvider.java | 2 +- .../extensions/PsseModelExtensionAdderImplProvider.java | 2 +- 38 files changed, 41 insertions(+), 41 deletions(-) diff --git a/cgmes/cgmes-conversion/src/main/java/com/powsybl/cgmes/conversion/CgmesConversionContextExtensionAdderImplProvider.java b/cgmes/cgmes-conversion/src/main/java/com/powsybl/cgmes/conversion/CgmesConversionContextExtensionAdderImplProvider.java index d17491277f1..5cb17a55606 100644 --- a/cgmes/cgmes-conversion/src/main/java/com/powsybl/cgmes/conversion/CgmesConversionContextExtensionAdderImplProvider.java +++ b/cgmes/cgmes-conversion/src/main/java/com/powsybl/cgmes/conversion/CgmesConversionContextExtensionAdderImplProvider.java @@ -23,7 +23,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return CgmesConversionContextExtension.NAME; } diff --git a/cgmes/cgmes-conversion/src/main/java/com/powsybl/cgmes/conversion/CgmesModelExtensionAdderImplProvider.java b/cgmes/cgmes-conversion/src/main/java/com/powsybl/cgmes/conversion/CgmesModelExtensionAdderImplProvider.java index ac5b5fd81a1..676e29b4090 100644 --- a/cgmes/cgmes-conversion/src/main/java/com/powsybl/cgmes/conversion/CgmesModelExtensionAdderImplProvider.java +++ b/cgmes/cgmes-conversion/src/main/java/com/powsybl/cgmes/conversion/CgmesModelExtensionAdderImplProvider.java @@ -23,7 +23,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return CgmesModelExtension.NAME; } diff --git a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesControlAreasAdderImplProvider.java b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesControlAreasAdderImplProvider.java index 5703b5c98c7..205a2bcd131 100644 --- a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesControlAreasAdderImplProvider.java +++ b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesControlAreasAdderImplProvider.java @@ -22,7 +22,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return CgmesControlAreas.NAME; } diff --git a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesDanglingLineBoundaryNodeAdderImplProvider.java b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesDanglingLineBoundaryNodeAdderImplProvider.java index 277d5941ab9..cf1727c7b3d 100644 --- a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesDanglingLineBoundaryNodeAdderImplProvider.java +++ b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesDanglingLineBoundaryNodeAdderImplProvider.java @@ -21,7 +21,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return CgmesDanglingLineBoundaryNode.NAME; } diff --git a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesIidmMappingAdderImplProvider.java b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesIidmMappingAdderImplProvider.java index bf918fa3abe..ba1107d9ca4 100644 --- a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesIidmMappingAdderImplProvider.java +++ b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesIidmMappingAdderImplProvider.java @@ -22,7 +22,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return CgmesIidmMapping.NAME; } diff --git a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesLineBoundaryNodeAdderImplProvider.java b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesLineBoundaryNodeAdderImplProvider.java index e0d05f57789..420f0312ebd 100644 --- a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesLineBoundaryNodeAdderImplProvider.java +++ b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesLineBoundaryNodeAdderImplProvider.java @@ -21,7 +21,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return CgmesLineBoundaryNode.NAME; } diff --git a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesSshMetadataAdderImplProvider.java b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesSshMetadataAdderImplProvider.java index ac5e1e1bbaa..6e2e6d1daca 100644 --- a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesSshMetadataAdderImplProvider.java +++ b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesSshMetadataAdderImplProvider.java @@ -24,7 +24,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return CgmesSshMetadata.NAME; } diff --git a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesSvMetadataAdderImplProvider.java b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesSvMetadataAdderImplProvider.java index 5a07cee4e39..ac0268b8c56 100644 --- a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesSvMetadataAdderImplProvider.java +++ b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesSvMetadataAdderImplProvider.java @@ -23,7 +23,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return CgmesSvMetadata.NAME; } diff --git a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesTapChangersAdderImplProvider.java b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesTapChangersAdderImplProvider.java index 87494a3fca4..0fcbbb0c672 100644 --- a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesTapChangersAdderImplProvider.java +++ b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesTapChangersAdderImplProvider.java @@ -23,7 +23,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return CgmesTapChangers.NAME; } diff --git a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CimCharacteristicsAdderImplProvider.java b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CimCharacteristicsAdderImplProvider.java index 56ef15d9612..3a8ad88b163 100644 --- a/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CimCharacteristicsAdderImplProvider.java +++ b/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CimCharacteristicsAdderImplProvider.java @@ -22,7 +22,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return CimCharacteristics.NAME; } diff --git a/commons/src/main/java/com/powsybl/commons/extensions/ExtensionAdderProvider.java b/commons/src/main/java/com/powsybl/commons/extensions/ExtensionAdderProvider.java index da85d5f737d..874dbfeb0a5 100644 --- a/commons/src/main/java/com/powsybl/commons/extensions/ExtensionAdderProvider.java +++ b/commons/src/main/java/com/powsybl/commons/extensions/ExtensionAdderProvider.java @@ -34,7 +34,7 @@ public interface ExtensionAdderProvider, E extends Exten * * @return the extension name */ - default String getExtensionsName() { + default String getExtensionName() { return null; } diff --git a/commons/src/main/java/com/powsybl/commons/extensions/ExtensionAdderProviders.java b/commons/src/main/java/com/powsybl/commons/extensions/ExtensionAdderProviders.java index 2603b49c8b8..e418962f341 100644 --- a/commons/src/main/java/com/powsybl/commons/extensions/ExtensionAdderProviders.java +++ b/commons/src/main/java/com/powsybl/commons/extensions/ExtensionAdderProviders.java @@ -61,7 +61,7 @@ private static , B extends ExtensionAdder> Exten private static ExtensionAdderProvider findProvider( String implName, String extensionName, ConcurrentMap> providersMap) { - return findProvider(implName, s -> s.getExtensionsName() != null && extensionName.equals(s.getExtensionsName()), extensionName, providersMap); + return findProvider(implName, s -> s.getExtensionName() != null && extensionName.equals(s.getExtensionName()), extensionName, providersMap); } private static ExtensionAdderProvider findProvider( diff --git a/commons/src/test/java/com/powsybl/commons/extensions/ExtensionAdderProvidersTest.java b/commons/src/test/java/com/powsybl/commons/extensions/ExtensionAdderProvidersTest.java index f9487fc8bae..1901177dc2e 100644 --- a/commons/src/test/java/com/powsybl/commons/extensions/ExtensionAdderProvidersTest.java +++ b/commons/src/test/java/com/powsybl/commons/extensions/ExtensionAdderProvidersTest.java @@ -90,7 +90,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return SimpleExtension.NAME; } @@ -114,7 +114,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return SimpleExtension.NAME; } @@ -213,7 +213,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return GenericExtension.NAME; } @@ -238,7 +238,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return GenericExtension.NAME; } diff --git a/entsoe-util/src/main/java/com/powsybl/entsoe/util/EntsoeAreaAdderImplProvider.java b/entsoe-util/src/main/java/com/powsybl/entsoe/util/EntsoeAreaAdderImplProvider.java index 2ff6b78d016..15cc2e8570a 100644 --- a/entsoe-util/src/main/java/com/powsybl/entsoe/util/EntsoeAreaAdderImplProvider.java +++ b/entsoe-util/src/main/java/com/powsybl/entsoe/util/EntsoeAreaAdderImplProvider.java @@ -23,7 +23,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return EntsoeArea.NAME; } diff --git a/entsoe-util/src/main/java/com/powsybl/entsoe/util/MergedXnodeAdderImplProvider.java b/entsoe-util/src/main/java/com/powsybl/entsoe/util/MergedXnodeAdderImplProvider.java index beb0dfbf3f1..7214cc36e65 100644 --- a/entsoe-util/src/main/java/com/powsybl/entsoe/util/MergedXnodeAdderImplProvider.java +++ b/entsoe-util/src/main/java/com/powsybl/entsoe/util/MergedXnodeAdderImplProvider.java @@ -22,7 +22,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return MergedXnode.NAME; } diff --git a/entsoe-util/src/main/java/com/powsybl/entsoe/util/XnodeAdderImplProvider.java b/entsoe-util/src/main/java/com/powsybl/entsoe/util/XnodeAdderImplProvider.java index f3d9d8d054b..a5a84507525 100644 --- a/entsoe-util/src/main/java/com/powsybl/entsoe/util/XnodeAdderImplProvider.java +++ b/entsoe-util/src/main/java/com/powsybl/entsoe/util/XnodeAdderImplProvider.java @@ -22,7 +22,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return Xnode.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/ActivePowerControlAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/ActivePowerControlAdderImplProvider.java index 5a1f00a0199..6b0ab0f15d3 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/ActivePowerControlAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/ActivePowerControlAdderImplProvider.java @@ -22,7 +22,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return ActivePowerControl.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/BranchObservabilityAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/BranchObservabilityAdderImplProvider.java index 7cbabc6778d..84b969e7a44 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/BranchObservabilityAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/BranchObservabilityAdderImplProvider.java @@ -24,7 +24,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return BranchObservability.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/CoordinatedReactiveControlAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/CoordinatedReactiveControlAdderImplProvider.java index 48c22763d41..e20909ae897 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/CoordinatedReactiveControlAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/CoordinatedReactiveControlAdderImplProvider.java @@ -25,7 +25,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return CoordinatedReactiveControl.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/DiscreteMeasurementsAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/DiscreteMeasurementsAdderImplProvider.java index 064e0087fc0..bfcdaa3d4ca 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/DiscreteMeasurementsAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/DiscreteMeasurementsAdderImplProvider.java @@ -22,7 +22,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return DiscreteMeasurements.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/GeneratorEntsoeCategoryAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/GeneratorEntsoeCategoryAdderImplProvider.java index c114dde2d35..40a2278fadf 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/GeneratorEntsoeCategoryAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/GeneratorEntsoeCategoryAdderImplProvider.java @@ -24,7 +24,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return GeneratorEntsoeCategory.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/GeneratorShortCircuitAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/GeneratorShortCircuitAdderImplProvider.java index f0532c3877a..17c8ddf40c6 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/GeneratorShortCircuitAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/GeneratorShortCircuitAdderImplProvider.java @@ -25,7 +25,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return GeneratorShortCircuit.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/HvdcAngleDroopActivePowerControlAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/HvdcAngleDroopActivePowerControlAdderImplProvider.java index f4ec71c402c..027f3b72425 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/HvdcAngleDroopActivePowerControlAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/HvdcAngleDroopActivePowerControlAdderImplProvider.java @@ -27,7 +27,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return HvdcAngleDroopActivePowerControl.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/HvdcOperatorActivePowerRangeAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/HvdcOperatorActivePowerRangeAdderImplProvider.java index 9d2351b8912..31ca18f04e2 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/HvdcOperatorActivePowerRangeAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/HvdcOperatorActivePowerRangeAdderImplProvider.java @@ -27,7 +27,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return HvdcOperatorActivePowerRange.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/IdentifiableShortCircuitAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/IdentifiableShortCircuitAdderImplProvider.java index 081dcaf3da9..403f38b0c37 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/IdentifiableShortCircuitAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/IdentifiableShortCircuitAdderImplProvider.java @@ -25,7 +25,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return IdentifiableShortCircuit.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/InjectionObservabilityAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/InjectionObservabilityAdderImplProvider.java index 86e063bceb9..873739d8518 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/InjectionObservabilityAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/InjectionObservabilityAdderImplProvider.java @@ -24,7 +24,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return InjectionObservability.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/LoadDetailAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/LoadDetailAdderImplProvider.java index 98e87f61c7e..a979a757026 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/LoadDetailAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/LoadDetailAdderImplProvider.java @@ -23,7 +23,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return LoadDetail.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/MeasurementsAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/MeasurementsAdderImplProvider.java index eff860b6d58..6c8dab9609e 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/MeasurementsAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/MeasurementsAdderImplProvider.java @@ -22,7 +22,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return Measurements.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/RemoteReactivePowerControlAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/RemoteReactivePowerControlAdderImplProvider.java index bd461b2982b..bf8ef221738 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/RemoteReactivePowerControlAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/RemoteReactivePowerControlAdderImplProvider.java @@ -23,7 +23,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return RemoteReactivePowerControl.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/SlackTerminalAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/SlackTerminalAdderImplProvider.java index ffeb7e30826..3897cc599f0 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/SlackTerminalAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/SlackTerminalAdderImplProvider.java @@ -24,7 +24,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return SlackTerminal.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/ThreeWindingsTransformerPhaseAngleClockAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/ThreeWindingsTransformerPhaseAngleClockAdderImplProvider.java index d116647c0ae..a83e36830f8 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/ThreeWindingsTransformerPhaseAngleClockAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/ThreeWindingsTransformerPhaseAngleClockAdderImplProvider.java @@ -24,7 +24,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return ThreeWindingsTransformerPhaseAngleClock.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/ThreeWindingsTransformerToBeEstimatedAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/ThreeWindingsTransformerToBeEstimatedAdderImplProvider.java index d37aff72f75..eff0ba50289 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/ThreeWindingsTransformerToBeEstimatedAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/ThreeWindingsTransformerToBeEstimatedAdderImplProvider.java @@ -24,7 +24,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return ThreeWindingsTransformerToBeEstimated.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/TwoWindingsTransformerPhaseAngleClockAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/TwoWindingsTransformerPhaseAngleClockAdderImplProvider.java index 5022612d2f3..1921e0b0ba5 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/TwoWindingsTransformerPhaseAngleClockAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/TwoWindingsTransformerPhaseAngleClockAdderImplProvider.java @@ -24,7 +24,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return TwoWindingsTransformerPhaseAngleClock.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/TwoWindingsTransformerToBeEstimatedAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/TwoWindingsTransformerToBeEstimatedAdderImplProvider.java index d64ca3a10a0..c09e4f9d678 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/TwoWindingsTransformerToBeEstimatedAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/TwoWindingsTransformerToBeEstimatedAdderImplProvider.java @@ -23,7 +23,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return TwoWindingsTransformerToBeEstimated.NAME; } diff --git a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/VoltagePerReactivePowerControlAdderImplProvider.java b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/VoltagePerReactivePowerControlAdderImplProvider.java index f85091819a2..fda61d6f3b5 100644 --- a/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/VoltagePerReactivePowerControlAdderImplProvider.java +++ b/iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/extensions/VoltagePerReactivePowerControlAdderImplProvider.java @@ -24,7 +24,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return VoltagePerReactivePowerControl.NAME; } diff --git a/iidm/iidm-scripting/src/test/groovy/com/powsybl/iidm/network/scripting/IdentifiableExtensionGroovyTest.groovy b/iidm/iidm-scripting/src/test/groovy/com/powsybl/iidm/network/scripting/IdentifiableExtensionGroovyTest.groovy index aad36caa260..6dae4d5d2a7 100644 --- a/iidm/iidm-scripting/src/test/groovy/com/powsybl/iidm/network/scripting/IdentifiableExtensionGroovyTest.groovy +++ b/iidm/iidm-scripting/src/test/groovy/com/powsybl/iidm/network/scripting/IdentifiableExtensionGroovyTest.groovy @@ -67,7 +67,7 @@ class IdentifiableExtensionGroovyTest { static class FooAdderProvider implements ExtensionAdderProvider { @Override - String getExtensionsName() { + String getExtensionName() { return Foo.NAME } diff --git a/psse/psse-converter/src/main/java/com/powsybl/psse/converter/extensions/PsseConversionContextExtensionAdderImplProvider.java b/psse/psse-converter/src/main/java/com/powsybl/psse/converter/extensions/PsseConversionContextExtensionAdderImplProvider.java index 9bd0dd6972e..eed98ce10c9 100644 --- a/psse/psse-converter/src/main/java/com/powsybl/psse/converter/extensions/PsseConversionContextExtensionAdderImplProvider.java +++ b/psse/psse-converter/src/main/java/com/powsybl/psse/converter/extensions/PsseConversionContextExtensionAdderImplProvider.java @@ -24,7 +24,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return PsseConversionContextExtension.NAME; } diff --git a/psse/psse-converter/src/main/java/com/powsybl/psse/converter/extensions/PsseModelExtensionAdderImplProvider.java b/psse/psse-converter/src/main/java/com/powsybl/psse/converter/extensions/PsseModelExtensionAdderImplProvider.java index 9e5fe5113dd..c1b87e4f2cc 100644 --- a/psse/psse-converter/src/main/java/com/powsybl/psse/converter/extensions/PsseModelExtensionAdderImplProvider.java +++ b/psse/psse-converter/src/main/java/com/powsybl/psse/converter/extensions/PsseModelExtensionAdderImplProvider.java @@ -24,7 +24,7 @@ public String getImplementationName() { } @Override - public String getExtensionsName() { + public String getExtensionName() { return PsseModelExtension.NAME; }