Class InputsAdapter
java.lang.Object
org.lfenergy.compas.sct.commons.scl.SclElementAdapter<LN0Adapter,TInputs>
org.lfenergy.compas.sct.commons.scl.ied.InputsAdapter
A representation of the model object
InputsAdapter
.- See Also:
-
Field Summary
Fields inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
currentElem, parentAdapter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Check if current element is a child of the parent elementprotected String
Returns XPath path to current elementRemove ExtRef which are fed by same Control BlockupdateAllExtRefIedNames
(Map<String, IEDAdapter> icdSystemVersionToIed) Update iedName of all ExtRefs in this "Inputs" element.updateAllSourceDataSetsAndControlBlocks
(Set<FcdaForDataSetsCreation> allowedFcdas) Methods inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
addPrivate, amRootElement, buildFatalReportItem, customInit, getXPath, setCurrentElem
-
Constructor Details
-
InputsAdapter
Constructor- Parameters:
parentAdapter
- Parent container referencetInputs
- Current reference
-
-
Method Details
-
amChildElementRef
protected boolean amChildElementRef()Check if current element is a child of the parent element- Specified by:
amChildElementRef
in classSclElementAdapter<LN0Adapter,
TInputs> - Returns:
- true if the currentElem is part of the parentAdapter children
-
elementXPath
Description copied from class:SclElementAdapter
Returns XPath path to current element- Specified by:
elementXPath
in classSclElementAdapter<LN0Adapter,
TInputs> - Returns:
- message as undefined
-
updateAllExtRefIedNames
Update iedName of all ExtRefs in this "Inputs" element.- Returns:
- list of encountered errors
-
updateAllSourceDataSetsAndControlBlocks
public List<SclReportItem> updateAllSourceDataSetsAndControlBlocks(Set<FcdaForDataSetsCreation> allowedFcdas) -
filterDuplicatedExtRefs
Remove ExtRef which are fed by same Control Block- Returns:
- list ExtRefs without duplication
-