Class DAAdapter
java.lang.Object
org.lfenergy.compas.sct.commons.scl.SclElementAdapter<P,T>
org.lfenergy.compas.sct.commons.scl.dtt.AbstractDataAttributeAdapter<DOTypeAdapter,TDA>
org.lfenergy.compas.sct.commons.scl.dtt.DAAdapter
- All Implemented Interfaces:
IDataTemplate
,IDTTComparable<TDA>
public class DAAdapter
extends AbstractDataAttributeAdapter<DOTypeAdapter,TDA>
implements IDataTemplate, IDTTComparable<TDA>
A representation of the model object
DA
.
The following features are supported:
- Adapter
Returns the value of the DataTypeTemplateAdapter reference object
Returns the value of the DATypeAdapter reference object
- Principal functions
Add TPrivate under this object
Returns the value of the type attribute
Returns the value of the type name
Returns the value of the bType attribute
- Checklist functions
- See Also:
-
Field Summary
Fields inherited from class org.lfenergy.compas.sct.commons.scl.dtt.AbstractDataAttributeAdapter
tail
Fields inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
currentElem, parentAdapter
-
Constructor Summary
ModifierConstructorDescriptionprotected
DAAdapter
(DOTypeAdapter parentAdapter, TDA currentElem) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Check if node is child of the reference nodevoid
check
(DaTypeName daTypeName) Updates DA Type Nameprotected String
Returns XPath path to current elementMethods inherited from class org.lfenergy.compas.sct.commons.scl.dtt.AbstractDataAttributeAdapter
getBType, getDataTypeTemplateAdapter, getDATypeAdapter, getName, getType, hasSameContentAs, isValImport
Methods inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
addPrivate, amRootElement, buildFatalReportItem, customInit, getXPath, setCurrentElem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.lfenergy.compas.sct.commons.scl.dtt.IDataTemplate
getDataTypeTemplateAdapter
Methods inherited from interface org.lfenergy.compas.sct.commons.scl.dtt.IDTTComparable
hasSameContentAs
-
Constructor Details
-
DAAdapter
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<DOTypeAdapter,
TDA> - Returns:
- link parent child existence
-
elementXPath
Description copied from class:SclElementAdapter
Returns XPath path to current element- Specified by:
elementXPath
in classSclElementAdapter<DOTypeAdapter,
TDA> - Returns:
- message as undefined
-
check
Updates DA Type Name- Overrides:
check
in classAbstractDataAttributeAdapter<DOTypeAdapter,
TDA> - Parameters:
daTypeName
- DA Type Name to update- Throws:
ScdException
-