Record Class ScanResultImpl
java.lang.Object
java.lang.Record
org.hibernate.archive.scan.internal.ScanResultImpl
- All Implemented Interfaces:
Serializable, org.hibernate.boot.archive.scan.spi.ScanResult
public record ScanResultImpl(Set<org.hibernate.boot.archive.scan.spi.PackageDescriptor> packageDescriptorSet, Set<org.hibernate.boot.archive.scan.spi.ClassDescriptor> classDescriptorSet, Set<org.hibernate.boot.archive.scan.spi.MappingFileDescriptor> mappingFileSet)
extends Record
implements org.hibernate.boot.archive.scan.spi.ScanResult, Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionScanResultImpl(Set<org.hibernate.boot.archive.scan.spi.PackageDescriptor> packageDescriptorSet, Set<org.hibernate.boot.archive.scan.spi.ClassDescriptor> classDescriptorSet, Set<org.hibernate.boot.archive.scan.spi.MappingFileDescriptor> mappingFileSet) Creates an instance of aScanResultImplrecord class. -
Method Summary
Modifier and TypeMethodDescriptionSet<org.hibernate.boot.archive.scan.spi.ClassDescriptor> Returns the value of theclassDescriptorSetrecord component.final booleanIndicates whether some other object is "equal to" this one.Set<org.hibernate.boot.archive.scan.spi.ClassDescriptor> Set<org.hibernate.boot.archive.scan.spi.MappingFileDescriptor> Set<org.hibernate.boot.archive.scan.spi.PackageDescriptor> final inthashCode()Returns a hash code value for this object.Set<org.hibernate.boot.archive.scan.spi.MappingFileDescriptor> Returns the value of themappingFileSetrecord component.Set<org.hibernate.boot.archive.scan.spi.PackageDescriptor> Returns the value of thepackageDescriptorSetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScanResultImpl
public ScanResultImpl(Set<org.hibernate.boot.archive.scan.spi.PackageDescriptor> packageDescriptorSet, Set<org.hibernate.boot.archive.scan.spi.ClassDescriptor> classDescriptorSet, Set<org.hibernate.boot.archive.scan.spi.MappingFileDescriptor> mappingFileSet) Creates an instance of aScanResultImplrecord class.- Parameters:
packageDescriptorSet- the value for thepackageDescriptorSetrecord componentclassDescriptorSet- the value for theclassDescriptorSetrecord componentmappingFileSet- the value for themappingFileSetrecord component
-
-
Method Details
-
getLocatedPackages
- Specified by:
getLocatedPackagesin interfaceorg.hibernate.boot.archive.scan.spi.ScanResult
-
getLocatedClasses
- Specified by:
getLocatedClassesin interfaceorg.hibernate.boot.archive.scan.spi.ScanResult
-
getLocatedMappingFiles
- Specified by:
getLocatedMappingFilesin interfaceorg.hibernate.boot.archive.scan.spi.ScanResult
-
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). -
packageDescriptorSet
Returns the value of thepackageDescriptorSetrecord component.- Returns:
- the value of the
packageDescriptorSetrecord component
-
classDescriptorSet
Returns the value of theclassDescriptorSetrecord component.- Returns:
- the value of the
classDescriptorSetrecord component
-
mappingFileSet
Returns the value of themappingFileSetrecord component.- Returns:
- the value of the
mappingFileSetrecord component
-