Record Class RegistryHistoryConfigurationHolder
java.lang.Object
java.lang.Record
net.croz.nrich.registry.core.model.RegistryHistoryConfigurationHolder
public record RegistryHistoryConfigurationHolder(PropertyWithType revisionNumberProperty, PropertyWithType revisionTimestampProperty, PropertyWithType revisionTypeProperty, List<PropertyWithType> revisionAdditionalPropertyList, List<String> propertyDisplayList)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRegistryHistoryConfigurationHolder(PropertyWithType revisionNumberProperty, PropertyWithType revisionTimestampProperty, PropertyWithType revisionTypeProperty, List<PropertyWithType> revisionAdditionalPropertyList, List<String> propertyDisplayList) Creates an instance of aRegistryHistoryConfigurationHolderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepropertyDisplayListrecord component.Returns the value of therevisionAdditionalPropertyListrecord component.Returns the value of therevisionNumberPropertyrecord component.Returns the value of therevisionTimestampPropertyrecord component.Returns the value of therevisionTypePropertyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RegistryHistoryConfigurationHolder
public RegistryHistoryConfigurationHolder(PropertyWithType revisionNumberProperty, PropertyWithType revisionTimestampProperty, PropertyWithType revisionTypeProperty, List<PropertyWithType> revisionAdditionalPropertyList, List<String> propertyDisplayList) Creates an instance of aRegistryHistoryConfigurationHolderrecord class.- Parameters:
revisionNumberProperty- the value for therevisionNumberPropertyrecord componentrevisionTimestampProperty- the value for therevisionTimestampPropertyrecord componentrevisionTypeProperty- the value for therevisionTypePropertyrecord componentrevisionAdditionalPropertyList- the value for therevisionAdditionalPropertyListrecord componentpropertyDisplayList- the value for thepropertyDisplayListrecord component
-
-
Method Details
-
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). -
revisionNumberProperty
Returns the value of therevisionNumberPropertyrecord component.- Returns:
- the value of the
revisionNumberPropertyrecord component
-
revisionTimestampProperty
Returns the value of therevisionTimestampPropertyrecord component.- Returns:
- the value of the
revisionTimestampPropertyrecord component
-
revisionTypeProperty
Returns the value of therevisionTypePropertyrecord component.- Returns:
- the value of the
revisionTypePropertyrecord component
-
revisionAdditionalPropertyList
Returns the value of therevisionAdditionalPropertyListrecord component.- Returns:
- the value of the
revisionAdditionalPropertyListrecord component
-
propertyDisplayList
Returns the value of thepropertyDisplayListrecord component.- Returns:
- the value of the
propertyDisplayListrecord component
-