Record Class Ecf4Filer.CoreMessageAndNames
java.lang.Object
java.lang.Record
edu.suffolk.litlab.efsp.server.services.impl.Ecf4Filer.CoreMessageAndNames
- Enclosing class:
Ecf4Filer
public static record Ecf4Filer.CoreMessageAndNames(CoreFilingMessageType cfm, @Nullable String existingCaseTitle, String caseCategoryName, String courtName)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCoreMessageAndNames(CoreFilingMessageType cfm, String existingCaseTitle, String caseCategoryName, String courtName) Creates an instance of aCoreMessageAndNamesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecaseCategoryNamerecord component.cfm()Returns the value of thecfmrecord component.Returns the value of thecourtNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexistingCaseTitlerecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CoreMessageAndNames
public CoreMessageAndNames(CoreFilingMessageType cfm, @Nullable String existingCaseTitle, String caseCategoryName, String courtName) Creates an instance of aCoreMessageAndNamesrecord class.- Parameters:
cfm- the value for thecfmrecord componentexistingCaseTitle- the value for theexistingCaseTitlerecord componentcaseCategoryName- the value for thecaseCategoryNamerecord componentcourtName- the value for thecourtNamerecord 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). -
cfm
Returns the value of thecfmrecord component.- Returns:
- the value of the
cfmrecord component
-
existingCaseTitle
Returns the value of theexistingCaseTitlerecord component.- Returns:
- the value of the
existingCaseTitlerecord component
-
caseCategoryName
Returns the value of thecaseCategoryNamerecord component.- Returns:
- the value of the
caseCategoryNamerecord component
-
courtName
Returns the value of thecourtNamerecord component.- Returns:
- the value of the
courtNamerecord component
-