Record Class HibernateCollectionInfo
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.hibernate.model.HibernateCollectionInfo
- Record Components:
role- collection roleownerEntityName- entity that owns the collectionattributeName- collection field name on the owning entitystatistics- collection statistics
public record HibernateCollectionInfo(String role, String ownerEntityName, String attributeName, HibernateCollectionStatisticsInfo statistics)
extends Record
Hibernate collection role metadata and statistics.
-
Constructor Summary
ConstructorsConstructorDescriptionHibernateCollectionInfo(String role, String ownerEntityName, String attributeName, HibernateCollectionStatisticsInfo statistics) Creates an instance of aHibernateCollectionInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattributeNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theownerEntityNamerecord component.role()Returns the value of therolerecord component.Returns the value of thestatisticsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HibernateCollectionInfo
public HibernateCollectionInfo(String role, String ownerEntityName, String attributeName, HibernateCollectionStatisticsInfo statistics) Creates an instance of aHibernateCollectionInforecord class.- Parameters:
role- the value for therolerecord componentownerEntityName- the value for theownerEntityNamerecord componentattributeName- the value for theattributeNamerecord componentstatistics- the value for thestatisticsrecord component
-
-
Method Details
-
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). -
role
-
ownerEntityName
Returns the value of theownerEntityNamerecord component.- Returns:
- the value of the
ownerEntityNamerecord component
-
attributeName
Returns the value of theattributeNamerecord component.- Returns:
- the value of the
attributeNamerecord component
-
statistics
Returns the value of thestatisticsrecord component.- Returns:
- the value of the
statisticsrecord component
-