Class LDeviceDTO

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

public class LDeviceDTO extends Object
A representation of the model object LDevice.

The following features are supported:

See Also:
  • Constructor Details

    • LDeviceDTO

      public LDeviceDTO(String inst, String ldName)
      Constructor
      Parameters:
      inst - input
      ldName - input
  • Method Details

    • from

      public static LDeviceDTO from(LDeviceAdapter lDeviceAdapter, LogicalNodeOptions options)
      Initializes LDeviceDTO
      Parameters:
      lDeviceAdapter - input
      options - input
      Returns:
      LDevice DTO object
    • setLdInst

      public void setLdInst(String ldInst)
      Sets LDevice Inst value
      Parameters:
      ldInst - input
    • setLdName

      public void setLdName(String ldName)
      Sets LDevice name value
      Parameters:
      ldName - input
    • getLNodes

      public Set<LNodeDTO> getLNodes()
      Gets list of LNodes DTO
      Returns:
      Set of LNodeDTO object
    • addLNode

      public void addLNode(LNodeDTO ln)
      Adds LNode
      Parameters:
      ln - input
    • addLNode

      public LNodeDTO addLNode(String lnClass, String inst, String lnPrefix, String lnType)
      Adds LNode
      Parameters:
      lnClass - input
      inst - input
      lnPrefix - input
      lnType - input
      Returns:
      LNodeDTO object
    • addAll

      public void addAll(Set<LNodeDTO> lns)
      Adds Set of LNode DTO
      Parameters:
      lns - input