Class BayAdapter
java.lang.Object
org.lfenergy.compas.sct.commons.scl.SclElementAdapter<VoltageLevelAdapter,TBay>
org.lfenergy.compas.sct.commons.scl.sstation.BayAdapter
A representation of the model object
BayAdapter
.
The following features are supported:
- Adapter
- Principal functions
XPATH Example :
Bay[@name="BayName"]
-
Field Summary
Fields inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
currentElem, parentAdapter
-
Constructor Summary
ConstructorDescriptionBayAdapter
(VoltageLevelAdapter parentAdapter) ConstructorBayAdapter
(VoltageLevelAdapter parentAdapter, String bayName) ConstructorBayAdapter
(VoltageLevelAdapter parentAdapter, TBay currentElem) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Check if node is child of the reference nodeprotected String
Returns XPath path to current BayGets Functions in Stream from current BayMethods inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
addPrivate, amRootElement, buildFatalReportItem, customInit, getXPath, setCurrentElem
-
Constructor Details
-
BayAdapter
Constructor- Parameters:
parentAdapter
- Parent container reference
-
BayAdapter
Constructor- Parameters:
parentAdapter
- Parent container referencecurrentElem
- Current reference
-
BayAdapter
Constructor- Parameters:
parentAdapter
- Parent container referencebayName
- BAY name reference- Throws:
ScdException
-
-
Method Details
-
amChildElementRef
protected boolean amChildElementRef()Check if node is child of the reference node- Specified by:
amChildElementRef
in classSclElementAdapter<VoltageLevelAdapter,
TBay> - Returns:
- link parent child existence
-
elementXPath
Returns XPath path to current Bay- Specified by:
elementXPath
in classSclElementAdapter<VoltageLevelAdapter,
TBay> - Returns:
- path to current Bay
-
streamFunctionAdapters
Gets Functions in Stream from current Bay- Returns:
- Stream of FunctionAdapter object from Bay
-