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 objectReturns the value of the DATypeAdapter reference object- Principal functions
Add TPrivate under this objectReturns the value of the type attributeReturns the value of the type nameReturns the value of the bType attribute- Checklist functions
- See Also:
-
Field Summary
Fields inherited from class org.lfenergy.compas.sct.commons.scl.dtt.AbstractDataAttributeAdapter
tailFields inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
currentElem, parentAdapter -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDAAdapter(DOTypeAdapter parentAdapter, TDA currentElem) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanCheck if node is child of the reference nodevoidcheck(DaTypeName daTypeName) Updates DA Type Nameprotected StringReturns XPath path to current elementMethods inherited from class org.lfenergy.compas.sct.commons.scl.dtt.AbstractDataAttributeAdapter
getBType, getDataTypeTemplateAdapter, getDATypeAdapter, getName, getType, hasSameContentAs, isValImportMethods inherited from class org.lfenergy.compas.sct.commons.scl.SclElementAdapter
addPrivate, amRootElement, buildFatalReportItem, customInit, getXPath, setCurrentElemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.lfenergy.compas.sct.commons.scl.dtt.IDataTemplate
getDataTypeTemplateAdapterMethods 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:
amChildElementRefin classSclElementAdapter<DOTypeAdapter,TDA> - Returns:
- link parent child existence
-
elementXPath
Description copied from class:SclElementAdapterReturns XPath path to current element- Specified by:
elementXPathin classSclElementAdapter<DOTypeAdapter,TDA> - Returns:
- message as undefined
-
check
Updates DA Type Name- Overrides:
checkin classAbstractDataAttributeAdapter<DOTypeAdapter,TDA> - Parameters:
daTypeName- DA Type Name to update- Throws:
ScdException
-