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 blankType- Education kind, i.e.: professional education or college. Cannot be blankFrom- Start date of the classes. It must be equals or before the end dateTo- End date of the classes. Should be set to a date equals or before todayArea- Studies subject, i.e.: Computer Science. If set, it cannot be blankSummary- 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 Summary
ConstructorsConstructorDescriptionEducation(@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) Creates an instance of aEducationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionArea()Returns the value of theArearecord component.final booleanIndicates whether some other object is "equal to" this one.@Pattern(regexp="\\d{4}-\\d{2}") @NotNull StringFrom()Returns the value of theFromrecord component.final inthashCode()Returns a hash code value for this object.@NotNull OrganizationReturns the value of theInstitutionrecord component.Location()Returns the value of theLocationrecord component.Score()Returns the value of theScorerecord component.Subjects()Returns the value of theSubjectsrecord component.Summary()Returns the value of theSummaryrecord component.@NotNull StringTitle()Returns the value of theTitlerecord component.@Pattern(regexp="\\d{4}-\\d{2}") StringTo()Returns the value of theTorecord component.final StringtoString()Returns a string representation of this record class.@NotNull StringType()Returns the value of theTyperecord component.Website()Returns the value of theWebsiterecord component.
-
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 aEducationrecord class.- Parameters:
Title- the value for theTitlerecord componentType- the value for theTyperecord componentInstitution- the value for theInstitutionrecord componentFrom- the value for theFromrecord componentWebsite- the value for theWebsiterecord componentTo- the value for theTorecord componentArea- the value for theArearecord componentLocation- the value for theLocationrecord componentSummary- the value for theSummaryrecord componentScore- the value for theScorerecord componentSubjects- the value for theSubjectsrecord 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). -
Title
-
Type
-
Institution
Returns the value of theInstitutionrecord component.- Returns:
- the value of the
Institutionrecord component
-
From
-
Website
Returns the value of theWebsiterecord component.- Returns:
- the value of the
Websiterecord component
-
To
-
Area
-
Location
Returns the value of theLocationrecord component.- Returns:
- the value of the
Locationrecord component
-
Summary
-
Score
Returns the value of theScorerecord component.- Returns:
- the value of the
Scorerecord component
-
Subjects
-