Record Class HibernateBody
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.hibernate.model.HibernateBody
- Record Components:
sessionFactory- session factory metadatastatistics- global Hibernate statisticsentities- entity metadata and statisticscollections- collection role statisticsqueries- query statisticscacheRegions- second-level cache region statisticsnamedQueries- named HQL, native, and callable queriesdataSources- datasource and JDBC metadata
public record HibernateBody(HibernateSessionFactoryInfo sessionFactory, HibernateStatisticsInfo statistics, List<HibernateEntityInfo> entities, List<HibernateCollectionInfo> collections, List<HibernateQueryInfo> queries, List<HibernateCacheRegionInfo> cacheRegions, List<HibernateNamedQueryInfo> namedQueries, List<HibernateDataSourceInfo> dataSources)
extends Record
Body of a Hibernate control panel.
-
Constructor Summary
ConstructorsConstructorDescriptionHibernateBody(HibernateSessionFactoryInfo sessionFactory, HibernateStatisticsInfo statistics, List<HibernateEntityInfo> entities, List<HibernateCollectionInfo> collections, List<HibernateQueryInfo> queries, List<HibernateCacheRegionInfo> cacheRegions) HibernateBody(HibernateSessionFactoryInfo sessionFactory, HibernateStatisticsInfo statistics, List<HibernateEntityInfo> entities, List<HibernateCollectionInfo> collections, List<HibernateQueryInfo> queries, List<HibernateCacheRegionInfo> cacheRegions, List<HibernateNamedQueryInfo> namedQueries, List<HibernateDataSourceInfo> dataSources) Creates an instance of aHibernateBodyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecacheRegionsrecord component.Returns the value of thecollectionsrecord component.Returns the value of thedataSourcesrecord component.entities()Returns the value of theentitiesrecord 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 thenamedQueriesrecord component.queries()Returns the value of thequeriesrecord component.Returns the value of thesessionFactoryrecord component.Returns the value of thestatisticsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HibernateBody
public HibernateBody(HibernateSessionFactoryInfo sessionFactory, HibernateStatisticsInfo statistics, List<HibernateEntityInfo> entities, List<HibernateCollectionInfo> collections, List<HibernateQueryInfo> queries, List<HibernateCacheRegionInfo> cacheRegions) -
HibernateBody
public HibernateBody(HibernateSessionFactoryInfo sessionFactory, HibernateStatisticsInfo statistics, List<HibernateEntityInfo> entities, List<HibernateCollectionInfo> collections, List<HibernateQueryInfo> queries, List<HibernateCacheRegionInfo> cacheRegions, List<HibernateNamedQueryInfo> namedQueries, List<HibernateDataSourceInfo> dataSources) Creates an instance of aHibernateBodyrecord class.- Parameters:
sessionFactory- the value for thesessionFactoryrecord componentstatistics- the value for thestatisticsrecord componententities- the value for theentitiesrecord componentcollections- the value for thecollectionsrecord componentqueries- the value for thequeriesrecord componentcacheRegions- the value for thecacheRegionsrecord componentnamedQueries- the value for thenamedQueriesrecord componentdataSources- the value for thedataSourcesrecord 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). -
sessionFactory
Returns the value of thesessionFactoryrecord component.- Returns:
- the value of the
sessionFactoryrecord component
-
statistics
Returns the value of thestatisticsrecord component.- Returns:
- the value of the
statisticsrecord component
-
entities
-
collections
Returns the value of thecollectionsrecord component.- Returns:
- the value of the
collectionsrecord component
-
queries
-
cacheRegions
Returns the value of thecacheRegionsrecord component.- Returns:
- the value of the
cacheRegionsrecord component
-
namedQueries
Returns the value of thenamedQueriesrecord component.- Returns:
- the value of the
namedQueriesrecord component
-
dataSources
Returns the value of thedataSourcesrecord component.- Returns:
- the value of the
dataSourcesrecord component
-