Class AbstractDAIAdapter<P extends SclElementAdapter>
java.lang.Object
org.lfenergy.compas.sct.commons.scl.SclElementAdapter<P,TDAI>
org.lfenergy.compas.sct.commons.scl.ied.AbstractDAIAdapter<P>
- All Implemented Interfaces:
IDataAdapter
- Direct Known Subclasses:
DOIAdapter.DAIAdapter
,RootSDIAdapter.DAIAdapter
,SDIAdapter.DAIAdapter
public abstract class AbstractDAIAdapter<P extends SclElementAdapter>
extends SclElementAdapter<P,TDAI>
implements IDataAdapter
A representation of the model object
AbstractDAIAdapter
.
The following features are supported:
- Principal functions
- Checklist functions
-
Field Summary
Fields inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
currentElem, parentAdapter
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractDAIAdapter
(P parentAdapter, TDAI currentElem) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
Set Val (without sGroup) for DAI without checking if DAI is updatablevoid
setValImport
(boolean b) Sets ValImport valuevoid
Updates DAI SGroup value.AbstractDAIAdapter<? extends SclElementAdapter>
Methods inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
addPrivate, amChildElementRef, amRootElement, buildFatalReportItem, customInit, elementXPath, getXPath, setCurrentElem
-
Constructor Details
-
AbstractDAIAdapter
Constructor- Parameters:
parentAdapter
- Parent container referencecurrentElem
- Current reference
-
-
Method Details
-
setValImport
public void setValImport(boolean b) Sets ValImport value- Parameters:
b
- value
-
update
public AbstractDAIAdapter<? extends SclElementAdapter> update(Map<Long, String> daiValues) throws ScdException- Throws:
ScdException
-
update
Updates DAI SGroup value. This method checks if DAI is updatable.- Parameters:
sGroup
- SGroup to updateval
- value- Throws:
ScdException
- throws when DAI for which SGroup should be updated is not updatable
-
setVal
Set Val (without sGroup) for DAI without checking if DAI is updatable- Parameters:
value
- new value
-