Class MeasurementsSerDe<C extends Connectable<C>>
java.lang.Object
com.powsybl.commons.extensions.AbstractExtensionSerDe<C,Measurements<C>>
com.powsybl.iidm.serde.extensions.MeasurementsSerDe<C>
- All Implemented Interfaces:
ExtensionProvider<C,
,Measurements<C>> ExtensionSerDe<C,
,Measurements<C>> Versionable
@AutoService(ExtensionSerDe.class)
public class MeasurementsSerDe<C extends Connectable<C>>
extends AbstractExtensionSerDe<C,Measurements<C>>
- Author:
- Miora Ralambotiana <miora.ralambotiana at rte-france.com>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionProvides the map whose keys are the array field names and whose values are the single element field names.boolean
isSerializable
(Measurements<C> extension) Check if an extension can be serialized or not.read
(C extendable, DeserializerContext context) void
write
(Measurements<C> extension, SerializerContext context) Methods inherited from class com.powsybl.commons.extensions.AbstractExtensionSerDe
getCategoryName, getExtensionClass, getExtensionName, getNamespacePrefix, getNamespaceUri, getVersion, getXsdAsStream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.commons.extensions.ExtensionSerDe
checkExtensionVersionSupported, getName, getNamespaceUri, getVersion, getVersions, getXsdAsStreamList
-
Field Details
-
PROPERTY_ROOT_ELEMENT
- See Also:
-
-
Constructor Details
-
MeasurementsSerDe
public MeasurementsSerDe()
-
-
Method Details
-
getArrayNameToSingleNameMap
Description copied from interface:ExtensionSerDe
Provides the map whose keys are the array field names and whose values are the single element field names. This is used to deduce the name of an element inside and array. -
write
-
read
-
isSerializable
Description copied from interface:ExtensionSerDe
Check if an extension can be serialized or not.- Parameters:
extension
- the extension to check- Returns:
- true if the extension can be serialized, false otherwise
-