Record Class Detailplanning
java.lang.Object
java.lang.Record
nl.b3p.planmonitorwonen.api.model.Detailplanning
public record Detailplanning(String id, String plancategorieId, String creator, OffsetDateTime createdAt, String editor, OffsetDateTime editedAt, Integer jaartal, Integer aantalGepland)
extends Record
-
Constructor Summary
ConstructorDescriptionDetailplanning
(String id, String plancategorieId, String creator, OffsetDateTime createdAt, String editor, OffsetDateTime editedAt, Integer jaartal, Integer aantalGepland) Creates an instance of aDetailplanning
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaantalGepland
record component.Returns the value of thecreatedAt
record component.creator()
Returns the value of thecreator
record component.editedAt()
Returns the value of theeditedAt
record component.editor()
Returns the value of theeditor
record component.final 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.jaartal()
Returns the value of thejaartal
record component.Returns the value of theplancategorieId
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Detailplanning
public Detailplanning(String id, String plancategorieId, String creator, OffsetDateTime createdAt, String editor, OffsetDateTime editedAt, Integer jaartal, Integer aantalGepland) Creates an instance of aDetailplanning
record class.- Parameters:
id
- the value for theid
record componentplancategorieId
- the value for theplancategorieId
record componentcreator
- the value for thecreator
record componentcreatedAt
- the value for thecreatedAt
record componenteditor
- the value for theeditor
record componenteditedAt
- the value for theeditedAt
record componentjaartal
- the value for thejaartal
record componentaantalGepland
- the value for theaantalGepland
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
-
plancategorieId
Returns the value of theplancategorieId
record component.- Returns:
- the value of the
plancategorieId
record component
-
creator
Returns the value of thecreator
record component.- Returns:
- the value of the
creator
record component
-
createdAt
Returns the value of thecreatedAt
record component.- Returns:
- the value of the
createdAt
record component
-
editor
Returns the value of theeditor
record component.- Returns:
- the value of the
editor
record component
-
editedAt
Returns the value of theeditedAt
record component.- Returns:
- the value of the
editedAt
record component
-
jaartal
Returns the value of thejaartal
record component.- Returns:
- the value of the
jaartal
record component
-
aantalGepland
Returns the value of theaantalGepland
record component.- Returns:
- the value of the
aantalGepland
record component
-