Class GooseControlBlock
java.lang.Object
org.lfenergy.compas.sct.commons.dto.LNodeMetaDataEmbedder
org.lfenergy.compas.sct.commons.dto.ControlBlock
org.lfenergy.compas.sct.commons.dto.GooseControlBlock
A representation of the model object GooseControlBlock.
The following features are supported:
appIDNamedataSetRefDescRefers To confRevRefers To list of IEDName ot TClientLNRefers To security EnableRefers To fixedOffsRefers To Protocol
- See Also:
-
Field Summary
Fields inherited from class org.lfenergy.compas.sct.commons.dto.ControlBlock
confRev, dataSetRef, desc, id, name, targetsFields inherited from class org.lfenergy.compas.sct.commons.dto.LNodeMetaDataEmbedder
metaData -
Constructor Summary
ConstructorsConstructorDescriptionGooseControlBlock(String name, String id, String dataSetRef) Create GooseControlBlock with default valuesGooseControlBlock(TGSEControl tgseControl) Constructor -
Method Summary
Modifier and TypeMethodDescriptionConvert instance to TGSEControl and add it to LN0.GSEControl.Get ControlBlockEnumMap the object to TGSEControlprotected voidvalidateSecurityEnabledValue(TServices tServices) Abstract method to check validity of Security Enable state for Control blocksMethods inherited from class org.lfenergy.compas.sct.commons.dto.ControlBlock
copyProtocol, getConfRev, getControlBlockServiceSetting, getServiceType, validateCB, validateSecurityEnabledValueMethods inherited from class org.lfenergy.compas.sct.commons.dto.LNodeMetaDataEmbedder
getHolderIEDName, getHolderLDInst, getHolderLnClass, getHolderLnInst, getHolderLnPrefix, setHolderIEDName, setHolderLDInst, setHolderLnClass, setHolderLnInst, setHolderLnPrefix, setMetaData
-
Constructor Details
-
GooseControlBlock
Constructor- Parameters:
tgseControl- input
-
GooseControlBlock
Create GooseControlBlock with default values- Parameters:
name- name of the GooseControlBlockid- appId of the GooseControlBlockdataSetRef- datSet of the GooseControlBlock
-
-
Method Details
-
getControlBlockEnum
Description copied from class:ControlBlockGet ControlBlockEnum- Specified by:
getControlBlockEnumin classControlBlock- Returns:
- ControlBlockEnum of the instance
-
validateSecurityEnabledValue
Description copied from class:ControlBlockAbstract method to check validity of Security Enable state for Control blocks- Specified by:
validateSecurityEnabledValuein classControlBlock- Parameters:
tServices- Service object- Throws:
ScdException- when ControlBlock Security is not consistent
-
toTControl
Map the object to TGSEControl- Specified by:
toTControlin classControlBlock- Returns:
- new instance of TGSEControl
-
addToLN
Convert instance to TGSEControl and add it to LN0.GSEControl. GSEControl is only available on LN0 (not LN)- Specified by:
addToLNin classControlBlock- Parameters:
tAnyLN- TLN0 element- Returns:
- the added TGSEControl
- Throws:
IllegalArgumentException- when tAnyLN is not of class TLNO
-