Record Class Head
java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.ref.Head
- Record Components:
cheatsheet- Unique id for the animal.CV- The birthdatename- The name
A top level schema.
-
Constructor Summary
ConstructorsConstructorDescriptionHead(Cheatsheet cheatsheet, Cv CV, @Size(min=1) String name) Creates an instance of aHeadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecheatsheetrecord component.CV()Returns the value of theCVrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Size(min=1) Stringname()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Head
Creates an instance of aHeadrecord class.- Parameters:
cheatsheet- the value for thecheatsheetrecord componentCV- the value for theCVrecord componentname- the value for thenamerecord 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). -
cheatsheet
Returns the value of thecheatsheetrecord component.- Returns:
- the value of the
cheatsheetrecord component
-
CV
-
name
-