Uses of Class
org.lfenergy.compas.sct.commons.exception.ScdException
Package
Description
sct-app is a group of automation services
commons.api contains interfaces for manipulating SCL Files
sct.commons.dto is a group of DTO utils for operating on
SCL
servicescommons.scl is a group of services for operating on
Header
,
Substation
,
Communication
,
IED
,
DataTypeTemplates
objectsscl.com is a group of services for operating on
Communication
objectscl.dtt is a group of services for operating on
DataTypeTemplates
objectscl.ied is a group of services for operating on
IED
objectscl.sstation is a group of services for operating on
Substation
object-
Uses of ScdException in org.lfenergy.compas.sct.app
Modifier and TypeMethodDescriptionCreate an SCD file from specified parameters, it calls all functions defined in the process one by one, every step return an SCD file which will be used by the next step. -
Uses of ScdException in org.lfenergy.compas.sct.commons
Modifier and TypeMethodDescriptionvoid
void
SclService.addSubnetworks
(SCL scd, List<SubNetworkDTO> subNetworks, SCL icd) void
SubstationService.addSubstation
(@NonNull SCL scd, @NonNull SCL ssd) SclElementsProviderService.getDAI
(SCL scd, String iedName, String ldInst, DataAttributeRef dataAttributeRef, boolean updatable) SclElementsProviderService.getEnumTypeValues
(SCL scd, String idEnum) SclElementsProviderService.getExtRefBinders
(SCL scd, String iedName, String ldInst, String lnClass, String lnInst, String prefix, ExtRefSignalInfo signalInfo) SclElementsProviderService.getExtRefInfo
(SCL scd, String iedName, String ldInst) SclElementsProviderService.getExtRefSourceInfo
(SCL scd, ExtRefInfo extRefInfo) SclElementsProviderService.getSubnetwork
(SCL scd) void
SclService.importSTDElementsInSCD
(SCL scd, List<SCL> stds, List<SubNetworkTypeDTO> subNetworkTypes) void
SclService.updateDAI
(SCL scd, String iedName, String ldInst, DataAttributeRef dataAttributeRef) void
ExtRefService.updateExtRefBinders
(SCL scd, ExtRefInfo extRefInfo) ExtRefService.updateExtRefSource
(SCL scd, ExtRefInfo extRefInfo) -
Uses of ScdException in org.lfenergy.compas.sct.commons.api
Modifier and TypeMethodDescriptionvoid
Adds IED in SCL file (Related DataTypeTemplate of SCL is updated also)void
SclEditor.addSubnetworks
(SCL scd, List<SubNetworkDTO> subNetworks, SCL icd) Adds new SubNetworks in SCL file from ICD filevoid
SubstationEditor.addSubstation
(@NonNull SCL scd, @NonNull SCL ssd) Adds or Updates Substation section in SCLSclElementsProvider.getDAI
(SCL scd, String iedName, String ldInst, DataAttributeRef dataAttributeRef, boolean updatable) Gets a list of summarized DataTypeTemplate for DataAttribute DA (updatable or not) related to the one given in dataAttributeRefSclElementsProvider.getEnumTypeValues
(SCL scd, String idEnum) Gets EnumTypes values of ID idEnum from DataTypeTemplate of SCL fileSclElementsProvider.getExtRefBinders
(SCL scd, String iedName, String ldInst, String lnClass, String lnInst, String prefix, ExtRefSignalInfo signalInfo) Gets all possible ExtRefs to bind in SCL file with given ExtRef (signalInfo) in SCL fileSclElementsProvider.getExtRefInfo
(SCL scd, String iedName, String ldInst) Gets all ExtRef from specific IED/LDevice in SCL fileSclElementsProvider.getExtRefSourceInfo
(SCL scd, ExtRefInfo extRefInfo) Gets all Control Blocks related to extRefInfo in given SCL fileSclElementsProvider.getSubnetwork
(SCL scd) Gets list of SCL SubNetworksvoid
SclEditor.importSTDElementsInSCD
(SCL scd, List<SCL> stds, List<SubNetworkTypeDTO> subNetworkTypes) Imports IEDs, DataTypeTemplates and Communication nodes of STD files into SCL (SCD) file STD : System Template Definition To import STD into SCD, this step are realized Check SCD and STD compatibilities by checking if there is at least one ICD_SYSTEM_VERSION_UUID in LNode/Private CompasICDHeader of SCL/Substation/..Initialise SCD file with Header and Private SCLFileTypevoid
SclEditor.updateDAI
(SCL scd, String iedName, String ldInst, DataAttributeRef dataAttributeRef) Updates DAI based on given data in dataAttributeRefvoid
ExtRefEditor.updateExtRefBinders
(SCL scd, ExtRefInfo extRefInfo) Updates ExtRef binding data related to given ExtRef (extRefInfo) in given SCL fileExtRefEditor.updateExtRefSource
(SCL scd, ExtRefInfo extRefInfo) Updates ExtRef source binding data's based on given data in extRefInfo -
Uses of ScdException in org.lfenergy.compas.sct.commons.dto
Modifier and TypeMethodDescriptionvoid
ExtRefBindingInfo.updateDAInfos
(ExtRefSignalInfo signalInfo, DataTypeTemplateAdapter.DOTypeInfo doTypeInfo) updates bindingInfo from given datavoid
ControlBlock.validateCB()
Validate Control block structurevoid
ReportControlBlock.validateCB()
Validates Report Control Blockvoid
SMVControlBlock.validateCB()
protected abstract void
ControlBlock.validateSecurityEnabledValue
(TServices tServices) Abstract method to check validity of Security Enable state for Control blocksfinal void
ControlBlock.validateSecurityEnabledValue
(IEDAdapter iedAdapter) Check if Security is enabled in IED (Services)protected void
GooseControlBlock.validateSecurityEnabledValue
(TServices tServices) protected void
ReportControlBlock.validateSecurityEnabledValue
(TServices tServices) Implementation is required by superclass but ReportControl blocks has no SecurityEnabled attributes.protected void
SMVControlBlock.validateSecurityEnabledValue
(TServices tServices) -
Uses of ScdException in org.lfenergy.compas.sct.commons.scl
Modifier and TypeMethodDescriptionprotected void
Add Header to SCL root nodeAdds IED and updates DataTypeTemplate of current SCLSclRootAdapter.checkObjRef
(String val) Checks if given reference matches with at least one IED of SCLSclRootAdapter.findIedAdapterByName
(String iedName) Find an IED by name from SCLSclRootAdapter.getCommunicationAdapter
(boolean createIfNotExists) Gets Communication from SCLSclRootAdapter.getIEDAdapterByName
(String iedName) Gets IED by name from SCLSclRootAdapter.getSubstationAdapter()
Gets the first Substation from SCL root nodeSclRootAdapter.getSubstationAdapter
(String ssName) Gets Substation from SCL root node by Substation nameModifierConstructorDescriptionSclRootAdapter
(String hId, String hVersion, String hRevision) Constructor -
Uses of ScdException in org.lfenergy.compas.sct.commons.scl.com
Modifier and TypeMethodDescriptionCommunicationAdapter.addSubnetwork
(String snName, String snType, String iedName, String apName) Add Subnetwork node in Communication one.SubNetworkAdapter.findConnectedAPAdapter
(String iedName, String apName) Find ConnectedAP from SubnetworkSubNetworkAdapter.getConnectedAPAdapter
(String iedName, String apName) Gets ConnectedAP from Subnetwork -
Uses of ScdException in org.lfenergy.compas.sct.commons.scl.dtt
Modifier and TypeMethodDescriptionvoid
AbstractDataAttributeAdapter.check
(DaTypeName daTypeName) Updates DA Type Namevoid
DAAdapter.check
(DaTypeName daTypeName) Updates DA Type Namevoid
DATypeAdapter.check
(DaTypeName daTypeName) Check if DaTypeName is correct and coherent with this DATypeAdaptervoid
LNodeTypeAdapter.check
(@NonNull DoTypeName doTypeName, @NonNull DaTypeName daTypeName) Check if DoTypeName and DaTypeName are correct and coherent with this LNodeTypeAdapterOptional<org.apache.commons.lang3.tuple.Pair<String,
DOTypeAdapter>> DOTypeAdapter.checkAndCompleteStructData
(DoTypeName doTypeName) Checks current DOType structure coherence and completes given DoTypeName with CDC valueLNodeTypeAdapter.findMatchingDOType
(ExtRefSignalInfo signalInfo) Find bound DOType infoorg.apache.commons.lang3.tuple.Pair<String,
DOTypeAdapter> DOTypeAdapter.findPathDoTypeToDA
(String daName) Find path from a DoType to DA (defined by name)org.apache.commons.lang3.tuple.Pair<String,
DOTypeAdapter> DOTypeAdapter.findPathSDOToDA
(String sdoName, String daName) Find path from a SDO to DA (defined by names)DataTypeTemplateAdapter.getBinderDataAttribute
(String lnType, ExtRefSignalInfo signalInfo) Gets binding information for ExtRefsDATypeAdapter.getDataAttributeRefByDaName
(DaTypeName daTypeName, int idx, DataAttributeRef dataAttributeRef) complete the input Data Attribute Reference from DataTypeTemplate filtered out by the given DaTypeNameDOTypeAdapter.getDataAttributeRefByDaName
(DaTypeName daTypeName, DataAttributeRef dataAttributeRef) Completes recursively summarize Data Type Templates (dataAttributeRef) from DOType to specified DaTypeName.LNodeTypeAdapter.getDataAttributeRefByDaName
(DaTypeName daTypeName) Gets list of summarized data type template from DaTypeName -
Uses of ScdException in org.lfenergy.compas.sct.commons.scl.ied
Modifier and TypeMethodDescriptionLNAdapterBuilder.build()
default Optional<IDataParentAdapter>
IDataParentAdapter.findStructuredDataAdapterByName
(String sdiName) Search SDI by name, directly under current this DOI or SDIAbstractLNAdapter.getDAI
(DataAttributeRef dataAttributeRef, boolean updatableOnly) Returns a list of Data Attribute Reference for DataAttribute (updatable or not)LDeviceAdapter.getDAI
(DataAttributeRef dataAttributeRef, boolean updatableOnly) Gets a list of summarized DataTypeTemplate for DataAttribute DAIs (updatableOnly or not)default AbstractDAIAdapter<?>
IDataParentAdapter.getDataAdapterByName
(String daiName) Gets DAI from current DOIAbstractLNAdapter.getDOIAdapterByName
(String doiName) Get DOI in this LN/LN0 by nameIEDAdapter.getExtRefBinders
(@NonNull ExtRefSignalInfo signalInfo) Checks all possible ExtRef in current IED which could be bound to given ExtRef as parameterIEDAdapter.getLDeviceAdapterByLdInst
(String ldInst) Gets LDevice from current IED by ldInst parameterLDeviceAdapter.getLNAdapter
(String lnClass, String lnInst, String prefix) Gets specific LNode from current LDevicedefault IDataParentAdapter
IDataParentAdapter.getStructuredDataAdapterByName
(String sdiName) Gets SDI by name, directly under current this DOI or SDIvoid
Updates DAI SGroup value.AbstractDAIAdapter<? extends SclElementAdapter>
void
AbstractLNAdapter.updateDAI
(@NonNull DataAttributeRef dataAttributeRef) Updates DAI in LN/LN0 section.void
AbstractLNAdapter.updateExtRefBinders
(ExtRefInfo extRefInfo) Update LNode ExtRefs data with ExtRefInfo dataAbstractLNAdapter.updateExtRefSource
(ExtRefInfo extRefInfo) Updates ExtRef source binding data's based on given data in extRefInfovoid
IEDAdapter.updateLDeviceNodesType
(Map<String, String> pairOldNewId) Updates all LNode type value specified in pairOldNewId as key (oldID), by corresponding value (newID) in all LDevice of the current IED.void
LDeviceAdapter.updateLDName()
Updates LDevice name by combining IED name and LDevice ldInst valuevoid
DAITracker.validateBoundedDAI()
Validate if DAI Setting Group value is between boundaries (of DA BType)ModifierConstructorDescriptionIEDAdapter
(SclRootAdapter parentAdapter, String iedName) Constructor -
Uses of ScdException in org.lfenergy.compas.sct.commons.scl.sstation
ModifierConstructorDescriptionBayAdapter
(VoltageLevelAdapter parentAdapter, String bayName) ConstructorSubstationAdapter
(SclRootAdapter parentAdapter, String ssName) ConstructorVoltageLevelAdapter
(SubstationAdapter parentAdapter, String vLevelName) Constructor -
Uses of ScdException in org.lfenergy.compas.sct.commons.util
Modifier and TypeMethodDescriptionstatic void
PrivateUtils.checkSTDCorrespondanceWithLNodeCompasICDHeader
(Map<String, PrivateLinkedToStds> mapICDSystemVersionUuidAndSTDFile) Checks SCD and STD compatibilities by checking if there is at least one ICD_SYSTEM_VERSION_UUID in Substation/../LNode/Private COMPAS-ICDHeader of SCL not present in IED/Private COMPAS-ICDHeader of STDstatic boolean
PrivateUtils.comparePrivateCompasICDHeaders
(TPrivate iedPrivate, TPrivate scdPrivate) Compares if two Private:COMPAS-ICDHeader have all attributes equal except IEDNane, BayLabel and IEDinstancestatic void
PrivateUtils.copyCompasICDHeaderFromLNodePrivateIntoSTDPrivate
(TPrivate stdPrivate, TCompasICDHeader compasICDHeader) Copy Private COMPAS_ICDHEADER from LNode of SCD into Private COMPAS_ICDHEADER from IED of STDstatic Optional<TCompasICDHeader>
PrivateUtils.extractCompasICDHeader
(TPrivate tPrivate) Gets Private CompasICDHeader from Privatestatic <T> Optional<T>
PrivateUtils.extractCompasPrivate
(TBaseElement baseElement, Class<T> compasClass) Extract a single compas element of class compasClass nested in private elements of a given baseElement.static <T> Stream<T>
PrivateUtils.extractCompasPrivates
(TBaseElement baseElement, Class<T> compasClass) Extract compas elements of class compasClass nested in private elements of the given baseElement.static String
PrivateUtils.stdCheckFormatExceptionMessage
(TPrivate key) Creates formatted message including data's of Private for Exception