Class ExtRefInfo
java.lang.Object
org.lfenergy.compas.sct.commons.dto.LNodeMetaDataEmbedder
org.lfenergy.compas.sct.commons.dto.ExtRefInfo
A representation of the model object ExtRef.
The following features are supported:
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
ExtRef and related Bay model -
Field Summary
Fields inherited from class org.lfenergy.compas.sct.commons.dto.LNodeMetaDataEmbedder
metaData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkMatchingFCDA
(@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 FCDAstatic ExtRefInfo
Initializes ExtRefInfoMethods inherited from class org.lfenergy.compas.sct.commons.dto.LNodeMetaDataEmbedder
getHolderIEDName, getHolderLDInst, getHolderLnClass, getHolderLnInst, getHolderLnPrefix, setHolderIEDName, setHolderLDInst, setHolderLnClass, setHolderLnInst, setHolderLnPrefix, setMetaData
-
Constructor Details
-
ExtRefInfo
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
- inputiedName
- inputldInst
- inputlnClass
- inputlnInst
- inputprefix
- input- Returns:
- ExtRefInfo object
-
checkMatchingFCDA
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
-