Record Class FileSubmissionIndex.FieldFileEntry
java.lang.Object
java.lang.Record
com.inductiveautomation.perspective.gateway.util.FileSubmissionIndex.FieldFileEntry
- Enclosing class:
- FileSubmissionIndex
public static record FileSubmissionIndex.FieldFileEntry(String fieldId, String trueName)
extends Record
Pairs an owning field id with the user-facing display name for a single file.
-
Constructor Summary
ConstructorsConstructorDescriptionFieldFileEntry(String fieldId, String trueName) Creates an instance of aFieldFileEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fieldId()Returns the value of thefieldIdrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.trueName()Returns the value of thetrueNamerecord component.
-
Constructor Details
-
FieldFileEntry
Creates an instance of aFieldFileEntryrecord class.- Parameters:
fieldId- the value for thefieldIdrecord componenttrueName- the value for thetrueNamerecord 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). -
fieldId
Returns the value of thefieldIdrecord component.- Returns:
- the value of the
fieldIdrecord component
-
trueName
Returns the value of thetrueNamerecord component.- Returns:
- the value of the
trueNamerecord component
-