Class AccessPointAdapter
java.lang.Object
org.lfenergy.compas.sct.commons.scl.SclElementAdapter<IEDAdapter,TAccessPoint>
org.lfenergy.compas.sct.commons.scl.ied.AccessPointAdapter
A representation of the model object
AccessPoint
.
The following features are supported:
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
currentElem, parentAdapter
-
Constructor Summary
ConstructorDescriptionAccessPointAdapter
(IEDAdapter parentAdapter, TAccessPoint tAccessPoint) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Check if current element is a child of the parent elementcheckControlsLimitation
(ServicesConfigEnum servicesConfigEnum) Checks if occurrences of specified tpe (DataSet, Controls) exceeds config limitationChecks FCDA number limitation into each LDevice of AccessPointcheckLimitationForBoundIEDControls
(List<TExtRef> tExtRefs) Checks Control Blocks (Report, Goose, SMV) number limitation for bound IEDcheckLimitationForBoundIedFcdas
(List<TExtRef> tExtRefs) Checks FCDA number limitation for bound IEDprotected String
Returns XPath path to current elementReturns all ExtRef of the AccessPoint which have SrcCBName set and ServiceType providedMethods inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
addPrivate, amRootElement, buildFatalReportItem, customInit, getXPath, setCurrentElem
-
Field Details
-
MAX_OCCURRENCE_NO_LIMIT_VALUE
public static final long MAX_OCCURRENCE_NO_LIMIT_VALUE- See Also:
-
-
Constructor Details
-
AccessPointAdapter
Constructor- Parameters:
parentAdapter
- Parent container referencetAccessPoint
- Current reference
-
-
Method Details
-
amChildElementRef
protected boolean amChildElementRef()Check if current element is a child of the parent element- Specified by:
amChildElementRef
in classSclElementAdapter<IEDAdapter,
TAccessPoint> - 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<IEDAdapter,
TAccessPoint> - Returns:
- message as undefined
-
checkFCDALimitations
Checks FCDA number limitation into each LDevice of AccessPoint- Returns:
- List of errors encountered for LDevices
-
checkControlsLimitation
Checks if occurrences of specified tpe (DataSet, Controls) exceeds config limitation- Parameters:
servicesConfigEnum
- type of element for which limitation is checked- Returns:
- Optional of encountered error or empty
-
checkLimitationForBoundIedFcdas
Checks FCDA number limitation for bound IED- Returns:
- Optional of encountered error or empty
-
getAllCoherentExtRefForAnalyze
Returns all ExtRef of the AccessPoint which have SrcCBName set and ServiceType provided- Returns:
- ExtRefAnalyzeRecord object containing Set of ExtRefs and errors list for ExtRefs with SrcCBName and without ServiceType provided
-
checkLimitationForBoundIEDControls
Checks Control Blocks (Report, Goose, SMV) number limitation for bound IED- Returns:
- List of errors encountered
-