Package org.emrick.project
Record Class MediaEditorGUI.LoadedProjectData
java.lang.Object
java.lang.Record
org.emrick.project.MediaEditorGUI.LoadedProjectData
- Enclosing class:
- MediaEditorGUI
private static record MediaEditorGUI.LoadedProjectData(File projectPath, ArrayList<File> archivePaths, ProjectFile projectFile, OldProjectFile oldProjectFile)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for thearchivePathsrecord component.private final OldProjectFileThe field for theoldProjectFilerecord component.private final ProjectFileThe field for theprojectFilerecord component.private final FileThe field for theprojectPathrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateLoadedProjectData(File projectPath, ArrayList<File> archivePaths, ProjectFile projectFile, OldProjectFile oldProjectFile) Creates an instance of aLoadedProjectDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thearchivePathsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theoldProjectFilerecord component.Returns the value of theprojectFilerecord component.Returns the value of theprojectPathrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
projectPath
The field for theprojectPathrecord component. -
archivePaths
The field for thearchivePathsrecord component. -
projectFile
The field for theprojectFilerecord component. -
oldProjectFile
The field for theoldProjectFilerecord component.
-
-
Constructor Details
-
LoadedProjectData
private LoadedProjectData(File projectPath, ArrayList<File> archivePaths, ProjectFile projectFile, OldProjectFile oldProjectFile) Creates an instance of aLoadedProjectDatarecord class.- Parameters:
projectPath- the value for theprojectPathrecord componentarchivePaths- the value for thearchivePathsrecord componentprojectFile- the value for theprojectFilerecord componentoldProjectFile- the value for theoldProjectFilerecord 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). -
projectPath
Returns the value of theprojectPathrecord component.- Returns:
- the value of the
projectPathrecord component
-
archivePaths
Returns the value of thearchivePathsrecord component.- Returns:
- the value of the
archivePathsrecord component
-
projectFile
Returns the value of theprojectFilerecord component.- Returns:
- the value of the
projectFilerecord component
-
oldProjectFile
Returns the value of theoldProjectFilerecord component.- Returns:
- the value of the
oldProjectFilerecord component
-