Class ExtRefInfo

java.lang.Object
org.lfenergy.compas.sct.commons.dto.LNodeMetaDataEmbedder
org.lfenergy.compas.sct.commons.dto.ExtRefInfo

public class ExtRefInfo extends LNodeMetaDataEmbedder
A representation of the model object ExtRef.

The following features are supported:

See Also:
  • Constructor Details

    • ExtRefInfo

      public ExtRefInfo(TExtRef tExtRef)
      Constructor
      Parameters:
      tExtRef - input
  • Method Details

    • from

      public static ExtRefInfo from(TExtRef tExtRef, String iedName, String ldInst, String lnClass, String lnInst, String prefix)
      Initializes ExtRefInfo
      Parameters:
      tExtRef - input
      iedName - input
      ldInst - input
      lnClass - input
      lnInst - input
      prefix - input
      Returns:
      ExtRefInfo object
    • checkMatchingFCDA

      public boolean checkMatchingFCDA(@NonNull @NonNull TFCDA tfcda)
      Check matching between FCDA and ExtRef information (for external binding) Check is done for parameter lDInst(mandatory), lNClass(mandatory), lNInst, prefix doName as pDO(mandatory) and daName as pDA present in ExtRef and FCDA
      Parameters:
      tfcda - FCDA data to check compatibilities with ExtRef
      Returns:
      true if ExtRef matches FCDA for parameters ahead false otherwise