Class LNodeDTO
java.lang.Object
org.lfenergy.compas.sct.commons.dto.LNodeDTO
A representation of the model object LNode.
The following features are supported:
Ln Class
Ln Inst
Ln Type
Prefix
Refers To ExtRef
Refers To GooseControl Blocks
Refers To SmvControl Blocks
Refers To ReportControl Blocks
Refers To DataTemplates Objects
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAllControlBlocks
(List<ControlBlock> controlBlockInfoList) Adds lis of Control Block to LNode Control Blocksvoid
addAllDataAttributeRef
(List<DataAttributeRef> dataAttributeRefs) Adds list of DataTypeTemplate's sumarised datavoid
addAllDatSets
(List<DataSetInfo> dataSetList) Adds list of DataSet to LNodevoid
addAllExtRefInfo
(List<ExtRefInfo> extRefs) Adds list of ExtRef Info into LNodevoid
addControlBlock
(ControlBlock controlBlock) Adds Control Block to LNode Control Blocksvoid
addDataAttributeRef
(DataAttributeRef dataAttributeRef) Adds DataTypeTemplate's sumarised datavoid
addDataSet
(DataSetInfo dataSetInfo) Adds DataSet information to LNodevoid
addExtRefInfo
(ExtRefInfo extRef) Adds ExtRef Info to LNode ExtRefsstatic LNodeDTO
extractExtRefInfo
(LNAdapter lnAdapter) Extracts LNode ExtRef informationsfrom
(AbstractLNAdapter<T> nodeAdapter, LogicalNodeOptions options) Initialize LNGets DataTypeTemplate's sumarised datavoid
Sets LNode Inst valuevoid
setNodeClass
(String lnClass) Sets LNode Class valuevoid
setNodeType
(String lnType) Sets LNode Typevoid
Sets LNode Prefix value
-
Constructor Details
-
LNodeDTO
Constructor- Parameters:
inst
- inputlnClass
- inputlnPrefix
- inputlnType
- input
-
-
Method Details
-
from
public static <T extends TAnyLN> LNodeDTO from(AbstractLNAdapter<T> nodeAdapter, LogicalNodeOptions options) Initialize LN- Type Parameters:
T
- LNode type (LLN0 or other LN's)- Parameters:
nodeAdapter
- inputoptions
- input- Returns:
- LNodeDTO object
-
setInst
Sets LNode Inst value- Parameters:
inst
- input
-
setNodeClass
Sets LNode Class value- Parameters:
lnClass
- input
-
setNodeType
Sets LNode Type- Parameters:
lnType
-
-
setPrefix
Sets LNode Prefix value- Parameters:
prefix
- input
-
extractExtRefInfo
Extracts LNode ExtRef informations- Parameters:
lnAdapter
- input- Returns:
- LNodeDTO object
-
addExtRefInfo
Adds ExtRef Info to LNode ExtRefs- Parameters:
extRef
- input
-
addAllExtRefInfo
Adds list of ExtRef Info into LNode- Parameters:
extRefs
- input
-
addControlBlock
Adds Control Block to LNode Control Blocks- Parameters:
controlBlock
- input
-
addAllControlBlocks
Adds lis of Control Block to LNode Control Blocks- Parameters:
controlBlockInfoList
- input
-
addAllDatSets
Adds list of DataSet to LNode- Parameters:
dataSetList
- input
-
addDataAttributeRef
Adds DataTypeTemplate's sumarised data- Parameters:
dataAttributeRef
- input
-
addAllDataAttributeRef
Adds list of DataTypeTemplate's sumarised data- Parameters:
dataAttributeRefs
- input
-
getDataAttributeRefs
Gets DataTypeTemplate's sumarised data- Returns:
- Set of DataAttributeRef object
-
addDataSet
Adds DataSet information to LNode- Parameters:
dataSetInfo
- input
-