Package com.powsybl.cgmes.extensions
Class CgmesControlAreasSerDe
java.lang.Object
com.powsybl.commons.extensions.AbstractExtensionSerDe<Network,CgmesControlAreas>
com.powsybl.cgmes.extensions.CgmesControlAreasSerDe
- All Implemented Interfaces:
ExtensionProvider<Network,
,CgmesControlAreas> ExtensionSerDe<Network,
,CgmesControlAreas> Versionable
@AutoService(ExtensionSerDe.class)
public class CgmesControlAreasSerDe
extends AbstractExtensionSerDe<Network,CgmesControlAreas>
- Author:
- Marcos de Miguel <demiguelm at aia.es>
-
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
(CgmesControlAreas extension) Check if an extension can be serialized or not.read
(Network extendable, DeserializerContext context) void
write
(CgmesControlAreas 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
-
TERMINAL_ROOT_ELEMENT
- See Also:
-
TERMINAL_ARRAY_ELEMENT
- See Also:
-
BOUNDARY_ROOT_ELEMENT
- See Also:
-
BOUNDARY_ARRAY_ELEMENT
- See Also:
-
-
Constructor Details
-
CgmesControlAreasSerDe
public CgmesControlAreasSerDe()
-
-
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. -
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
-
write
-
read
-