Record Class CorrespondenceActionResource.LoadCorrespondenceResponseBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.correspondence.impl.action.CorrespondenceActionResource.LoadCorrespondenceResponseBean
- Enclosing class:
CorrespondenceActionResource
public static record CorrespondenceActionResource.LoadCorrespondenceResponseBean(CorrespondenceActionResource.InitializeCorrespondenceResponseBean.LookupEntityBean locale, String sourceModel, EntityBean loadedValues)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLoadCorrespondenceResponseBean(CorrespondenceActionResource.InitializeCorrespondenceResponseBean.LookupEntityBean locale, String sourceModel, EntityBean loadedValues) Creates an instance of aLoadCorrespondenceResponseBeanrecord 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 theloadedValuesrecord component.locale()Returns the value of thelocalerecord component.Returns the value of thesourceModelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LoadCorrespondenceResponseBean
public LoadCorrespondenceResponseBean(CorrespondenceActionResource.InitializeCorrespondenceResponseBean.LookupEntityBean locale, String sourceModel, EntityBean loadedValues) Creates an instance of aLoadCorrespondenceResponseBeanrecord class.- Parameters:
locale- the value for thelocalerecord componentsourceModel- the value for thesourceModelrecord componentloadedValues- the value for theloadedValuesrecord 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). -
locale
Returns the value of thelocalerecord component.- Returns:
- the value of the
localerecord component
-
sourceModel
Returns the value of thesourceModelrecord component.- Returns:
- the value of the
sourceModelrecord component
-
loadedValues
Returns the value of theloadedValuesrecord component.- Returns:
- the value of the
loadedValuesrecord component
-