Class DOAdapter
java.lang.Object
org.lfenergy.compas.sct.commons.scl.SclElementAdapter<LNodeTypeAdapter,TDO>
org.lfenergy.compas.sct.commons.scl.dtt.DOAdapter
- All Implemented Interfaces:
IDataTemplate
A representation of the model object
DO
.
The following features are supported:
-
Field Summary
Fields inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
currentElem, parentAdapter
-
Constructor Summary
ModifierConstructorDescriptionprotected
DOAdapter
(LNodeTypeAdapter parentAdapter, TDO currElement) Constructor -
Method Summary
Methods inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
addPrivate, amRootElement, buildFatalReportItem, customInit, getXPath, setCurrentElem
-
Constructor Details
-
DOAdapter
Constructor- Parameters:
parentAdapter
- Parent container referencecurrElement
- Current reference
-
-
Method Details
-
amChildElementRef
protected boolean amChildElementRef()Check if node is child of the reference node- Specified by:
amChildElementRef
in classSclElementAdapter<LNodeTypeAdapter,
TDO> - Returns:
- link parent child existence
-
elementXPath
Description copied from class:SclElementAdapter
Returns XPath path to current element- Specified by:
elementXPath
in classSclElementAdapter<LNodeTypeAdapter,
TDO> - Returns:
- message as undefined
-
getDataTypeTemplateAdapter
Gets linked DataTypeTemplateAdapter as parent- Specified by:
getDataTypeTemplateAdapter
in interfaceIDataTemplate
- Returns:
- DataTypeTemplateAdapter object
-
getDoTypeAdapter
Gets DOTypeAdapter from parent DataTypeTemplate- Returns:
- Optional of DOTypeAdapter object
-
getType
Gets DO element type- Returns:
- type of DO
-