Record Class Aantal
java.lang.Object
java.lang.Record
nl.b3p.planmonitorwonen.api.model.Aantal
- Record Components:
gepland- total number of planned dwellings, null is the same as 0gerealiseerd- number of dwellings already realised, null is the same as 0perJaar- planned number of dwellings per year of delivery (fasering), years with a null value are left out
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.gepland()Returns the value of thegeplandrecord component.Returns the value of thegerealiseerdrecord component.final inthashCode()Returns a hash code value for this object.perJaar()Returns the value of theperJaarrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Aantal
Creates an instance of aAantalrecord class.- Parameters:
gepland- the value for thegeplandrecord componentgerealiseerd- the value for thegerealiseerdrecord componentperJaar- the value for theperJaarrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
gepland
-
gerealiseerd
Returns the value of thegerealiseerdrecord component.- Returns:
- the value of the
gerealiseerdrecord component
-
perJaar
-