Class FunctionAdapter
java.lang.Object
org.lfenergy.compas.sct.commons.scl.SclElementAdapter<BayAdapter,TFunction>
org.lfenergy.compas.sct.commons.scl.sstation.FunctionAdapter
A representation of the model object
FunctionAdapter
.
The following features are supported:
- Principal functions
XPATH Example :
Function[@name="functionName"]
-
Field Summary
Fields inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
currentElem, parentAdapter
-
Constructor Summary
ConstructorDescriptionFunctionAdapter
(BayAdapter parentAdapter, TFunction currentElem) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Check if node is child of the reference nodeprotected String
Returns XPath path to current FunctionMethods inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
addPrivate, amRootElement, buildFatalReportItem, customInit, getXPath, setCurrentElem
-
Constructor Details
-
FunctionAdapter
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<BayAdapter,
TFunction> - Returns:
- link parent child existence
-
elementXPath
Returns XPath path to current Function- Specified by:
elementXPath
in classSclElementAdapter<BayAdapter,
TFunction> - Returns:
- path to current Function
-