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 attribute
Returns the value of the lnClass attribute
Returns the value of the lnTYpe attribute
Returns the logical node name LNName = prefix + lnClass + lnInst
Returns the value of the TExtRef containment reference list
Returns the value of the TExtRef containment reference list By ExtRefSignalInfo
Returns the value of the TExtRef containment reference list By ExtRefSignalInfo
Returns the value of the DataAttributeRef containment reference By filter
Returns DAI (sGroup, value) containment reference list By DataAttributeRef filter
Returns the value of the TDataSet object reference By the value of the name attribute
Returns the value of the ControlBlock containment reference list that match datSet value of given TDataSet
Add TPrivate under this object
Remove 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_NAME
Fields inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
currentElem, parentAdapter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Check if node is child of the reference nodeprotected String
Returns 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, updateExtRefSource
Methods 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:
getElementClassType
in classAbstractLNAdapter<TLN>
- Returns:
- TLN.class
-
getLNClass
Gets LNClass enum value of current LNode- Specified by:
getLNClass
in classAbstractLNAdapter<TLN>
- Returns:
- LNClass value
-
getLNInst
Gets LNInst value of current LNode- Specified by:
getLNInst
in classAbstractLNAdapter<TLN>
- Returns:
- LNInst value
-
getPrefix
Gets Prefix value of current LNode- Specified by:
getPrefix
in classAbstractLNAdapter<TLN>
- Returns:
- Prefix value
-
amChildElementRef
protected boolean amChildElementRef()Check if node is child of the reference node- Specified by:
amChildElementRef
in classSclElementAdapter<LDeviceAdapter,
TLN> - Returns:
- link parent child existence
-
elementXPath
Description copied from class:SclElementAdapter
Returns XPath path to current element- Specified by:
elementXPath
in classSclElementAdapter<LDeviceAdapter,
TLN> - Returns:
- message as undefined
-