Class ExtRefBindingInfo
java.lang.Object
org.lfenergy.compas.sct.commons.dto.ExtRefBindingInfo
- All Implemented Interfaces:
Comparable<ExtRefBindingInfo>
A representation of the model object ExtRef Binding Information.
The following features are supported:
Ied Name
Ld Inst
Ln Class
Ln Inst
Prefix
Ln Type
Refers To org.lfenergy.compas.sct.commons.dto.DaTypeName
Refers To org.lfenergy.compas.sct.commons.dto.DoTypeName
Service Type
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Define the way to compare 2 objects ExtRefBindingInfo in order to allow sorting itemsboolean
int
hashCode()
boolean
isNull()
Check nullability of ExtRef binding informationboolean
isValid()
Check validity of ExtRef binding informationboolean
isWrappedIn
(TExtRef tExtRef) Check dependency between ExtRef binding information and ExtReftoString()
void
updateDAInfos
(ExtRefSignalInfo signalInfo, DataTypeTemplateAdapter.DOTypeInfo doTypeInfo) updates bindingInfo from given data
-
Field Details
-
EXT_REF_BINDING_INFO_COMPARATOR
-
-
Constructor Details
-
ExtRefBindingInfo
Constructor- Parameters:
tExtRef
- input
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
isValid
public boolean isValid()Check validity of ExtRef binding information- Returns:
- validity state
-
isWrappedIn
Check dependency between ExtRef binding information and ExtRef- Parameters:
tExtRef
- object containing ExtRef data's'- Returns:
- dependency state
-
isNull
public boolean isNull()Check nullability of ExtRef binding information- Returns:
- nullability state
-
compareTo
Define the way to compare 2 objects ExtRefBindingInfo in order to allow sorting items- Specified by:
compareTo
in interfaceComparable<ExtRefBindingInfo>
- Parameters:
o
- the object to be compared.- Returns:
- the comparaison's result (a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second)
-
toString
-
updateDAInfos
public void updateDAInfos(ExtRefSignalInfo signalInfo, DataTypeTemplateAdapter.DOTypeInfo doTypeInfo) throws ScdException updates bindingInfo from given data- Parameters:
signalInfo
- contains DAType info to setdoTypeInfo
- contains DOType info leading to DA- Throws:
ScdException
- thrown when inconsistency between DOType and DAType
-