Class LNAdapter
java.lang.Object
org.lfenergy.compas.sct.commons.scl.SclElementAdapter<LDeviceAdapter,T>
org.lfenergy.compas.sct.commons.scl.ied.AbstractLNAdapter<TLN>
org.lfenergy.compas.sct.commons.scl.ied.LNAdapter
A representation of the model object
LNAdapter.
The following features are supported:
- Adapter
- Principal functions
Returns the value of the inst attributeReturns the value of the lnClass attributeReturns the value of the lnTYpe attributeReturns the logical node name LNName = prefix + lnClass + lnInstReturns the value of the TExtRef containment reference listReturns the value of the TExtRef containment reference list By ExtRefSignalInfoReturns the value of the TExtRef containment reference list By ExtRefSignalInfoReturns the value of the DataAttributeRef containment reference By filterReturns DAI (sGroup, value) containment reference list By DataAttributeRef filterReturns the value of the TDataSet object reference By the value of the name attributeReturns the value of the ControlBlock containment reference list that match datSet value of given TDataSetAdd TPrivate under this objectRemove all ControlBlock- Checklist functions
ObjectReference: LDName/LNName.DataName[.DataName[…]].DataAttributeName[.DAComponentName[ ….]]
LDName = "name" attribute of IEDName element + "inst" attribute of LDevice element
LNName = "prefix" + "lnClass" + "lnInst"
- See Also:
-
Field Summary
Fields inherited from class org.lfenergy.compas.sct.commons.scl.ied.AbstractLNAdapter
MOD_DO_TYPE_NAME, STVAL_DA_TYPE_NAMEFields inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
currentElem, parentAdapter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanCheck if node is child of the reference nodeprotected StringReturns XPath path to current elementGets LNode class typeGets LNClass enum value of current LNodeGets LNInst value of current LNodeGets Prefix value of current LNodeMethods inherited from class org.lfenergy.compas.sct.commons.scl.ied.AbstractLNAdapter
addControlBlock, addDOI, builder, checkExtRefInfoCoherence, createControlBlockIfNotExists, createDataSetIfNotExists, createDoiSdiDaiChainIfNotExists, extractExtRefFromExtRefInfo, findControlBlock, findDataSetByName, findDoiAdapterByName, findMatch, generateControlBlockId, getControlBlocks, getControlBlocksForMatchingFCDA, getCurrentScd, getDAI, getDaiModStVal, getDaiModStValValue, getDAIValues, getDataSetByName, getDataSetMatchingExtRefInfo, getDataTypeTemplateAdapter, getDOIAdapterByName, getDOIAdapters, getEnumValues, getExtRefs, getExtRefs, getFCDAs, getLNodeName, getLnType, getParentIed, getParentLDevice, getTControlsByType, hasControlBlock, hasInputs, isExtRefExist, matches, matchesDataAttributes, overrideAttributesFromDAI, removeAllControlBlocksAndDatasets, removeAllExtRefSourceBindings, streamControlBlocks, updateDAI, updateExtRefBinders, updateExtRefBindingInfo, updateExtRefSourceMethods inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
addPrivate, amRootElement, buildFatalReportItem, customInit, getXPath, setCurrentElem
-
Constructor Details
-
LNAdapter
Constructor- Parameters:
parentAdapter- Parent container referencecurrentElem- Current reference
-
-
Method Details
-
getElementClassType
Gets LNode class type- Specified by:
getElementClassTypein classAbstractLNAdapter<TLN>- Returns:
- TLN.class
-
getLNClass
Gets LNClass enum value of current LNode- Specified by:
getLNClassin classAbstractLNAdapter<TLN>- Returns:
- LNClass value
-
getLNInst
Gets LNInst value of current LNode- Specified by:
getLNInstin classAbstractLNAdapter<TLN>- Returns:
- LNInst value
-
getPrefix
Gets Prefix value of current LNode- Specified by:
getPrefixin classAbstractLNAdapter<TLN>- Returns:
- Prefix value
-
amChildElementRef
protected boolean amChildElementRef()Check if node is child of the reference node- Specified by:
amChildElementRefin classSclElementAdapter<LDeviceAdapter,TLN> - Returns:
- link parent child existence
-
elementXPath
Description copied from class:SclElementAdapterReturns XPath path to current element- Specified by:
elementXPathin classSclElementAdapter<LDeviceAdapter,TLN> - Returns:
- message as undefined
-