Class 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 Details

  • Constructor Details

    • CgmesControlAreasSerDe

      public CgmesControlAreasSerDe()
  • Method Details

    • getArrayNameToSingleNameMap

      public Map<String,String> 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

      public boolean isSerializable(CgmesControlAreas extension)
      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

      public void write(CgmesControlAreas extension, SerializerContext context)
    • read

      public CgmesControlAreas read(Network extendable, DeserializerContext context)