Record Class ArchiveUnitTreeExportModel
java.lang.Object
java.lang.Record
fr.gouv.vitam.common.manifest.naming.ArchiveUnitTreeExportModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.Returns the value of theobjectGroupId
record component.Returns the value of theparentUnitIds
record component.title()
Returns the value of thetitle
record component.title_()
Returns the value of thetitle_
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ArchiveUnitTreeExportModel
public ArchiveUnitTreeExportModel(String id, String title, Map<String, String> title_, List<String> parentUnitIds, String objectGroupId) Creates an instance of aArchiveUnitTreeExportModel
record class.- Parameters:
id
- the value for theid
record componenttitle
- the value for thetitle
record componenttitle_
- the value for thetitle_
record componentparentUnitIds
- the value for theparentUnitIds
record componentobjectGroupId
- the value for theobjectGroupId
record 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)
. -
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
title
Returns the value of thetitle
record component.- Returns:
- the value of the
title
record component
-
title_
Returns the value of thetitle_
record component.- Returns:
- the value of the
title_
record component
-
parentUnitIds
Returns the value of theparentUnitIds
record component.- Returns:
- the value of the
parentUnitIds
record component
-
objectGroupId
Returns the value of theobjectGroupId
record component.- Returns:
- the value of the
objectGroupId
record component
-