Record Class Plancategorie

java.lang.Object
java.lang.Record
nl.b3p.planmonitorwonen.api.model.Plancategorie

public record Plancategorie(String id, String planregistratieId, String creator, OffsetDateTime createdAt, String editor, OffsetDateTime editedAt, String nieuwbouw, String woningType, String wonenEnZorg, String flexwoningen, String betaalbaarheid, String sloop, Integer totaalGepland, Integer totaalGerealiseerd) extends Record
  • Constructor Details

    • Plancategorie

      public Plancategorie(String id, String planregistratieId, String creator, OffsetDateTime createdAt, String editor, OffsetDateTime editedAt, String nieuwbouw, String woningType, String wonenEnZorg, String flexwoningen, String betaalbaarheid, String sloop, Integer totaalGepland, Integer totaalGerealiseerd)
      Creates an instance of a Plancategorie record class.
      Parameters:
      id - the value for the id record component
      planregistratieId - the value for the planregistratieId record component
      creator - the value for the creator record component
      createdAt - the value for the createdAt record component
      editor - the value for the editor record component
      editedAt - the value for the editedAt record component
      nieuwbouw - the value for the nieuwbouw record component
      woningType - the value for the woningType record component
      wonenEnZorg - the value for the wonenEnZorg record component
      flexwoningen - the value for the flexwoningen record component
      betaalbaarheid - the value for the betaalbaarheid record component
      sloop - the value for the sloop record component
      totaalGepland - the value for the totaalGepland record component
      totaalGerealiseerd - the value for the totaalGerealiseerd record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • planregistratieId

      public String planregistratieId()
      Returns the value of the planregistratieId record component.
      Returns:
      the value of the planregistratieId record component
    • creator

      public String creator()
      Returns the value of the creator record component.
      Returns:
      the value of the creator record component
    • createdAt

      public OffsetDateTime createdAt()
      Returns the value of the createdAt record component.
      Returns:
      the value of the createdAt record component
    • editor

      public String editor()
      Returns the value of the editor record component.
      Returns:
      the value of the editor record component
    • editedAt

      public OffsetDateTime editedAt()
      Returns the value of the editedAt record component.
      Returns:
      the value of the editedAt record component
    • nieuwbouw

      public String nieuwbouw()
      Returns the value of the nieuwbouw record component.
      Returns:
      the value of the nieuwbouw record component
    • woningType

      public String woningType()
      Returns the value of the woningType record component.
      Returns:
      the value of the woningType record component
    • wonenEnZorg

      public String wonenEnZorg()
      Returns the value of the wonenEnZorg record component.
      Returns:
      the value of the wonenEnZorg record component
    • flexwoningen

      public String flexwoningen()
      Returns the value of the flexwoningen record component.
      Returns:
      the value of the flexwoningen record component
    • betaalbaarheid

      public String betaalbaarheid()
      Returns the value of the betaalbaarheid record component.
      Returns:
      the value of the betaalbaarheid record component
    • sloop

      public String sloop()
      Returns the value of the sloop record component.
      Returns:
      the value of the sloop record component
    • totaalGepland

      public Integer totaalGepland()
      Returns the value of the totaalGepland record component.
      Returns:
      the value of the totaalGepland record component
    • totaalGerealiseerd

      public Integer totaalGerealiseerd()
      Returns the value of the totaalGerealiseerd record component.
      Returns:
      the value of the totaalGerealiseerd record component