Class IedDTO

java.lang.Object
org.lfenergy.compas.sct.commons.dto.IedDTO

public class IedDTO extends Object
A representation of the model object IED.

The following features are supported:

See Also:
  • Constructor Details

    • IedDTO

      public IedDTO(String name)
      Constructor
      Parameters:
      name - input
  • Method Details

    • from

      public static IedDTO from(IEDAdapter iedAdapter, LogicalNodeOptions options)
      Initializes IedDTO
      Parameters:
      iedAdapter - input
      options - input
      Returns:
      IedDTO object
    • setName

      public void setName(String name)
      Sets IED name
      Parameters:
      name - input
    • getLDevices

      public Set<LDeviceDTO> getLDevices()
      Gets LDevice's' DTO
      Returns:
      Set of LDeviceDTO object
    • addLDevice

      public void addLDevice(LDeviceDTO ld)
      Adds LDevice in LDevice's' list
      Parameters:
      ld - input
    • lDeviceDTOFrom

      public LDeviceDTO lDeviceDTOFrom(String inst, String ldName)
      Initializes LDeviceDTO
      Parameters:
      inst - LDevice inst value
      ldName - LDevice name value
      Returns:
      LDeviceDTO object
    • addLDevice

      public LDeviceDTO addLDevice(String inst, String ldName)
    • getLDeviceDTO

      public Optional<LDeviceDTO> getLDeviceDTO(String ldInst)
      Gets LDeviiceDTO by LDevice inst value
      Parameters:
      ldInst - LDevice inst value
      Returns:
      Optional LDevice object value