Record Class Education

java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.ref.Education
Record Components:
Title - Descriptive title of the education. Cannot be blank
Type - Education kind, i.e.: professional education or college. Cannot be blank
From - Start date of the classes. It must be equals or before the end date
To - End date of the classes. Should be set to a date equals or before today
Area - Studies subject, i.e.: Computer Science. If set, it cannot be blank
Summary - Brief description of the studies. If set, blank values aren't allowed

public record Education(@NotNull String Title, @NotNull String Type, @NotNull Organization Institution, @Pattern(regexp="\\d{4}-\\d{2}") @NotNull String From, String Website, @Pattern(regexp="\\d{4}-\\d{2}") String To, String Area, NullableLocation Location, String Summary, String Score, Set<String> Subjects) extends Record
  • Constructor Details

    • Education

      public Education(@NotNull @NotNull String Title, @NotNull @NotNull String Type, @NotNull @NotNull Organization Institution, @Pattern(regexp="\\d{4}-\\d{2}") @NotNull @Pattern(regexp="\\d{4}-\\d{2}") @NotNull String From, String Website, @Pattern(regexp="\\d{4}-\\d{2}") @Pattern(regexp="\\d{4}-\\d{2}") String To, String Area, NullableLocation Location, String Summary, String Score, Set<String> Subjects)
      Creates an instance of a Education record class.
      Parameters:
      Title - the value for the Title record component
      Type - the value for the Type record component
      Institution - the value for the Institution record component
      From - the value for the From record component
      Website - the value for the Website record component
      To - the value for the To record component
      Area - the value for the Area record component
      Location - the value for the Location record component
      Summary - the value for the Summary record component
      Score - the value for the Score record component
      Subjects - the value for the Subjects 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.
    • Title

      @NotNull public @NotNull String Title()
      Returns the value of the Title record component.
      Returns:
      the value of the Title record component
    • Type

      @NotNull public @NotNull String Type()
      Returns the value of the Type record component.
      Returns:
      the value of the Type record component
    • Institution

      @NotNull public @NotNull Organization Institution()
      Returns the value of the Institution record component.
      Returns:
      the value of the Institution record component
    • From

      @Pattern(regexp="\\d{4}-\\d{2}") @NotNull public @Pattern(regexp="\\d{4}-\\d{2}") @NotNull String From()
      Returns the value of the From record component.
      Returns:
      the value of the From record component
    • Website

      public String Website()
      Returns the value of the Website record component.
      Returns:
      the value of the Website record component
    • To

      @Pattern(regexp="\\d{4}-\\d{2}") public @Pattern(regexp="\\d{4}-\\d{2}") String To()
      Returns the value of the To record component.
      Returns:
      the value of the To record component
    • Area

      public String Area()
      Returns the value of the Area record component.
      Returns:
      the value of the Area record component
    • Location

      public NullableLocation Location()
      Returns the value of the Location record component.
      Returns:
      the value of the Location record component
    • Summary

      public String Summary()
      Returns the value of the Summary record component.
      Returns:
      the value of the Summary record component
    • Score

      public String Score()
      Returns the value of the Score record component.
      Returns:
      the value of the Score record component
    • Subjects

      public Set<String> Subjects()
      Returns the value of the Subjects record component.
      Returns:
      the value of the Subjects record component