Class ConnectedAPAdapter
java.lang.Object
org.lfenergy.compas.sct.commons.scl.SclElementAdapter<SubNetworkAdapter,TConnectedAP>
org.lfenergy.compas.sct.commons.scl.com.ConnectedAPAdapter
A representation of the model object
ConnectedAP
.
The following features are supported:
- See Also:
-
Field Summary
Fields inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
currentElem, parentAdapter
-
Constructor Summary
ConstructorDescriptionConnectedAPAdapter
(SubNetworkAdapter parentAdapter, TConnectedAP currentElem) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Check if node is child of the reference nodevoid
Copies Address and PhysicalConnection nodes from ICD fileprotected String
Returns XPath path to current elementReturns the value of the apName attribute.Returns the value of the iedName attribute.void
updateGseOrCreateIfNotExists
(String ldInst, String cbName, List<TP> listOfP, TDurationInMilliSec minTime, TDurationInMilliSec maxTime) Create A GSE Section or update an existing GSE Section (the network configuration of a GSEControl block).void
updateSmvOrCreateIfNotExists
(String ldInst, String cbName, List<TP> listOfP) Create A SMV Section or update an existing SMV Section (the network configuration of a SampledValueControl block)..Methods inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
addPrivate, amRootElement, buildFatalReportItem, customInit, getXPath, setCurrentElem
-
Constructor Details
-
ConnectedAPAdapter
Constructor- Parameters:
parentAdapter
- Parent container referencecurrentElem
- Current reference
-
-
Method Details
-
amChildElementRef
protected boolean amChildElementRef()Check if node is child of the reference node- Specified by:
amChildElementRef
in classSclElementAdapter<SubNetworkAdapter,
TConnectedAP> - Returns:
- link parent child existence
-
elementXPath
Description copied from class:SclElementAdapter
Returns XPath path to current element- Specified by:
elementXPath
in classSclElementAdapter<SubNetworkAdapter,
TConnectedAP> - Returns:
- message as undefined
-
getIedName
Returns the value of the iedName attribute.- Returns:
- the value of the iedName attribute.
-
getApName
Returns the value of the apName attribute.- Returns:
- the value of the apName attribute.
-
copyAddressAndPhysConnFromIcd
Copies Address and PhysicalConnection nodes from ICD file- Parameters:
icd
- ICD object- See Also:
-
- Issue !76 Copies Address and PhysicalConnection nodes from ICD file
-
updateGseOrCreateIfNotExists
public void updateGseOrCreateIfNotExists(String ldInst, String cbName, List<TP> listOfP, TDurationInMilliSec minTime, TDurationInMilliSec maxTime) Create A GSE Section or update an existing GSE Section (the network configuration of a GSEControl block).- Parameters:
ldInst
- ldInstcbName
- cbNamelistOfP
- list of P elementsminTime
- minTimemaxTime
- maxTime
-
updateSmvOrCreateIfNotExists
Create A SMV Section or update an existing SMV Section (the network configuration of a SampledValueControl block)..- Parameters:
ldInst
- ldInstcbName
- cbNamelistOfP
- list of P elements
-