Record Class ExtRefInfo.ExtRefBayReference
java.lang.Object
java.lang.Record
org.lfenergy.compas.sct.commons.dto.ExtRefInfo.ExtRefBayReference
- Record Components:
iedName
- The name of the IED containing baycompasBay
- The Bay objectextRef
- The ExtRef object
- Enclosing class:
- ExtRefInfo
public static record ExtRefInfo.ExtRefBayReference(String iedName, TCompasBay compasBay, TExtRef extRef)
extends Record
ExtRef and related Bay model
-
Constructor Summary
ConstructorDescriptionExtRefBayReference
(String iedName, TCompasBay compasBay, TExtRef extRef) Creates an instance of aExtRefBayReference
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompasBay
record component.final boolean
Indicates whether some other object is "equal to" this one.extRef()
Returns the value of theextRef
record component.final int
hashCode()
Returns a hash code value for this object.iedName()
Returns the value of theiedName
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
iedName
Returns the value of theiedName
record component.- Returns:
- the value of the
iedName
record component
-
compasBay
Returns the value of thecompasBay
record component.- Returns:
- the value of the
compasBay
record component
-
extRef
Returns the value of theextRef
record component.- Returns:
- the value of the
extRef
record component
-