Record Class RegistryDataConfigurationHolder
java.lang.Object
java.lang.Record
net.croz.nrich.registry.core.model.RegistryDataConfigurationHolder
public record RegistryDataConfigurationHolder(Map<String,ManagedTypeWrapper> classNameManagedTypeWrapperMap, List<RegistryDataConfiguration<Object,Object>> registryDataConfigurationList)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRegistryDataConfigurationHolder(Map<String, ManagedTypeWrapper> classNameManagedTypeWrapperMap, List<RegistryDataConfiguration<Object, Object>> registryDataConfigurationList) Creates an instance of aRegistryDataConfigurationHolderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassNameManagedTypeWrapperMaprecord component.final booleanIndicates whether some other object is "equal to" this one.findRegistryConfigurationForClass(String classFullName) final inthashCode()Returns a hash code value for this object.Returns the value of theregistryDataConfigurationListrecord component.resolveManagedTypeWrapper(String className) final StringtoString()Returns a string representation of this record class.voidverifyConfigurationExists(String classFullName)
-
Constructor Details
-
RegistryDataConfigurationHolder
public RegistryDataConfigurationHolder(Map<String, ManagedTypeWrapper> classNameManagedTypeWrapperMap, List<RegistryDataConfiguration<Object, Object>> registryDataConfigurationList) Creates an instance of aRegistryDataConfigurationHolderrecord class.- Parameters:
classNameManagedTypeWrapperMap- the value for theclassNameManagedTypeWrapperMaprecord componentregistryDataConfigurationList- the value for theregistryDataConfigurationListrecord component
-
-
Method Details
-
verifyConfigurationExists
-
findRegistryConfigurationForClass
public RegistryDataConfiguration<Object,Object> findRegistryConfigurationForClass(String classFullName) -
resolveManagedTypeWrapper
-
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). -
classNameManagedTypeWrapperMap
Returns the value of theclassNameManagedTypeWrapperMaprecord component.- Returns:
- the value of the
classNameManagedTypeWrapperMaprecord component
-
registryDataConfigurationList
Returns the value of theregistryDataConfigurationListrecord component.- Returns:
- the value of the
registryDataConfigurationListrecord component
-