Record Class PrivateLinkedToStds
java.lang.Object
java.lang.Record
org.lfenergy.compas.sct.commons.dto.PrivateLinkedToStds
-
Constructor Summary
ConstructorDescriptionPrivateLinkedToStds
(TPrivate tPrivate, List<SCL> stdList) Creates an instance of aPrivateLinkedToStds
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.stdList()
Returns the value of thestdList
record component.final String
toString()
Returns a string representation of this record class.tPrivate()
Returns the value of thetPrivate
record component.
-
Constructor Details
-
PrivateLinkedToStds
Creates an instance of aPrivateLinkedToStds
record class.- Parameters:
tPrivate
- the value for thetPrivate
record componentstdList
- the value for thestdList
record component
-
-
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)
. -
tPrivate
Returns the value of thetPrivate
record component.- Returns:
- the value of the
tPrivate
record component
-
stdList
Returns the value of thestdList
record component.- Returns:
- the value of the
stdList
record component
-