Class LDeviceDTO
java.lang.Object
org.lfenergy.compas.sct.commons.dto.LDeviceDTO
A representation of the model object LDevice.
The following features are supported:
LD Name
LD Inst
Refers To LNode
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds Set of LNode DTOAdds LNodevoid
Adds LNodestatic LDeviceDTO
from
(LDeviceAdapter lDeviceAdapter, LogicalNodeOptions options) Initializes LDeviceDTOGets list of LNodes DTOvoid
Sets LDevice Inst valuevoid
Sets LDevice name value
-
Constructor Details
-
LDeviceDTO
Constructor- Parameters:
inst
- inputldName
- input
-
-
Method Details
-
from
Initializes LDeviceDTO- Parameters:
lDeviceAdapter
- inputoptions
- input- Returns:
- LDevice DTO object
-
setLdInst
Sets LDevice Inst value- Parameters:
ldInst
- input
-
setLdName
Sets LDevice name value- Parameters:
ldName
- input
-
getLNodes
Gets list of LNodes DTO- Returns:
- Set of LNodeDTO object
-
addLNode
Adds LNode- Parameters:
ln
- input
-
addLNode
Adds LNode- Parameters:
lnClass
- inputinst
- inputlnPrefix
- inputlnType
- input- Returns:
- LNodeDTO object
-
addAll
Adds Set of LNode DTO- Parameters:
lns
- input
-