Record Class CatalogoApi.Misura
java.lang.Object
java.lang.Record
it.unina.picus.catalogo.api.CatalogoApi.Misura
- Record Components:
id- identificativo stabile della misuradati- dati di catalogo della misuraattiva- indica se la misura รจ attualmente selezionabile
- Enclosing interface:
CatalogoApi
public static record CatalogoApi.Misura(long id, CatalogoApi.DatiMisura dati, boolean attiva)
extends Record
Misura di catalogo selezionabile quando attiva e risolvibile anche per le consultazioni storiche.
-
Constructor Summary
ConstructorsConstructorDescriptionMisura(long id, CatalogoApi.DatiMisura dati, boolean attiva) Creates an instance of aMisurarecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanattiva()Returns the value of theattivarecord component.dati()Returns the value of thedatirecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longid()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
id
-
dati
-
attiva
-