Record Class TrustPointDefaultData
java.lang.Object
java.lang.Record
br.ufsc.labsec.signature.database.populate.TrustPointDefaultData
- All Implemented Interfaces:
DatabaseDefaultData, Consumer<Database>
public record TrustPointDefaultData(Collection<TrustPoint> trustPoints)
extends Record
implements DatabaseDefaultData
-
Constructor Summary
ConstructorsConstructorDescriptionTrustPointDefaultData(Collection<TrustPoint> trustPoints) Creates an instance of aTrustPointDefaultDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic TrustPointDefaultDataDEFAULT()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static TrustPointDefaultDataPBAD()voidfinal StringtoString()Returns a string representation of this record class.Returns the value of thetrustPointsrecord component.Methods inherited from interface DatabaseDefaultData
accept
-
Constructor Details
-
TrustPointDefaultData
Creates an instance of aTrustPointDefaultDatarecord class.- Parameters:
trustPoints- the value for thetrustPointsrecord component
-
-
Method Details
-
populate
- Specified by:
populatein interfaceDatabaseDefaultData
-
PBAD
-
DEFAULT
-
toString
-
hashCode
-
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). -
trustPoints
Returns the value of thetrustPointsrecord component.- Returns:
- the value of the
trustPointsrecord component
-